ext2fs support. read only

git-svn-id: svn://kolibrios.org@1378 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbanoff
2010-01-23 15:24:03 +00:00
parent 35c4be95ad
commit 7eed0cd366
9 changed files with 969 additions and 96 deletions

View File

@@ -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