forked from KolibriOS/kolibrios
ext2fs support. read only
git-svn-id: svn://kolibrios.org@1378 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
$Revision$
|
||||
|
||||
|
||||
ntfs_test_bootsec:
|
||||
ntfs_test_bootsec:
|
||||
; in: ebx->buffer, edx=size of partition
|
||||
; out: CF set <=> invalid
|
||||
; 1. Name=='NTFS '
|
||||
@@ -95,8 +95,8 @@ ntfs_test_bootsec:
|
||||
|
||||
ntfs_setup: ; CODE XREF: part_set.inc
|
||||
; By given bootsector, initialize some NTFS variables
|
||||
call ntfs_test_bootsec
|
||||
jc problem_fat_dec_count
|
||||
; call ntfs_test_bootsec
|
||||
; jc problem_fat_dec_count
|
||||
movzx eax, byte [ebx+13]
|
||||
mov [ntfs_data.sectors_per_cluster], eax
|
||||
mov eax, [ebx+0x28]
|
||||
@@ -1267,7 +1267,8 @@ ntfs_HdRead:
|
||||
; eax = 0 ok read or other = errormsg
|
||||
;
|
||||
;--------------------------------------------------------------
|
||||
ntfs_HdReadFolder:
|
||||
ntfs_HdReadFolder:
|
||||
xchg bx, bx
|
||||
mov eax, 5 ; root cluster
|
||||
cmp byte [esi], 0
|
||||
jz .doit
|
||||
@@ -1812,4 +1813,5 @@ ntfs_HdGetFileInfo:
|
||||
call ntfs_direntry_to_bdfe
|
||||
pop edi esi
|
||||
xor eax, eax
|
||||
ret
|
||||
ret
|
||||
|
||||
|
Reference in New Issue
Block a user