exFAT file system support (only read)

git-svn-id: svn://kolibrios.org@9734 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov 2022-03-03 22:00:47 +00:00
parent b39cd9e8ce
commit f8da95f800
4 changed files with 1811 additions and 1 deletions

View File

@ -1252,6 +1252,9 @@ end virtual
call fat_create_partition call fat_create_partition
test eax, eax test eax, eax
jnz .success jnz .success
call exFAT_create_partition
test eax, eax
jnz .success
call ntfs_create_partition call ntfs_create_partition
test eax, eax test eax, eax
jnz .success jnz .success
@ -1338,6 +1341,7 @@ endp
; but instead pop return address and return directly to the caller ; but instead pop return address and return directly to the caller
; otherwise simply return ; otherwise simply return
dyndisk_handler: dyndisk_handler:
; DEBUGF 1, "K : FS Input Path:%s\n",esi
push ebx edi ; save registers used in file_system_lfn push ebx edi ; save registers used in file_system_lfn
; 1. Acquire the mutex. ; 1. Acquire the mutex.
mov ecx, disk_list_mutex mov ecx, disk_list_mutex

View File

@ -57,7 +57,7 @@ fs_read64_sys:
; Read several sequential sectors using cache #2. ; Read several sequential sectors using cache #2.
; in: edx:eax = start sector, relative to start of partition ; in: edx:eax = start sector, relative to start of partition
; in: ecx = number of sectors to read ; in: ecx = number of sectors to read
; in: edi -> buffer ; in: ebx -> buffer
; in: ebp -> PARTITION ; in: ebp -> PARTITION
; out: eax = error code, 0 = ok ; out: eax = error code, 0 = ok
; out: ecx = number of sectors that were read ; out: ecx = number of sectors that were read

1805
kernel/trunk/fs/exfat.inc Normal file

File diff suppressed because it is too large Load Diff

View File

@ -788,6 +788,7 @@ include "parse_fn.inc"
include "fs_common.inc" include "fs_common.inc"
include "iso9660.inc" ; read for CD filesystem include "iso9660.inc" ; read for CD filesystem
include "fat.inc" include "fat.inc"
include "exfat.inc"
include "ntfs.inc" include "ntfs.inc"
include "ext.inc" include "ext.inc"
include "xfs.asm" include "xfs.asm"