Rev 9404 | Rev 9894 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9404 | Rev 9734 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2011-2021. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2011-2021. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 9404 $ |
8 | $Revision: 9734 $ |
9 | 9 | ||
10 | ; ============================================================================= |
10 | ; ============================================================================= |
11 | ; ================================= Constants ================================= |
11 | ; ================================= Constants ================================= |
Line 1250... | Line 1250... | ||
1250 | ; ebx points to the buffer for bootsector, |
1250 | ; ebx points to the buffer for bootsector, |
1251 | ; ebx+[esi+DISK.MediaInfo.SectorSize] points to sector-sized buffer that can be used for anything. |
1251 | ; ebx+[esi+DISK.MediaInfo.SectorSize] points to sector-sized buffer that can be used for anything. |
1252 | call fat_create_partition |
1252 | call fat_create_partition |
1253 | test eax, eax |
1253 | test eax, eax |
1254 | jnz .success |
1254 | jnz .success |
- | 1255 | call exFAT_create_partition |
|
- | 1256 | test eax, eax |
|
- | 1257 | jnz .success |
|
1255 | call ntfs_create_partition |
1258 | call ntfs_create_partition |
1256 | test eax, eax |
1259 | test eax, eax |
1257 | jnz .success |
1260 | jnz .success |
1258 | call ext2_create_partition |
1261 | call ext2_create_partition |
1259 | test eax, eax |
1262 | test eax, eax |
Line 1336... | Line 1339... | ||
1336 | ; in: esi = ebp -> path string |
1339 | ; in: esi = ebp -> path string |
1337 | ; out: if the handler processes path, it must not return in file_system_lfn, |
1340 | ; out: if the handler processes path, it must not return in file_system_lfn, |
1338 | ; but instead pop return address and return directly to the caller |
1341 | ; but instead pop return address and return directly to the caller |
1339 | ; otherwise simply return |
1342 | ; otherwise simply return |
1340 | dyndisk_handler: |
1343 | dyndisk_handler: |
- | 1344 | ; DEBUGF 1, "K : FS Input Path:%s\n",esi |
|
1341 | push ebx edi ; save registers used in file_system_lfn |
1345 | push ebx edi ; save registers used in file_system_lfn |
1342 | ; 1. Acquire the mutex. |
1346 | ; 1. Acquire the mutex. |
1343 | mov ecx, disk_list_mutex |
1347 | mov ecx, disk_list_mutex |
1344 | call mutex_lock |
1348 | call mutex_lock |
1345 | ; 2. Loop over the list of DISK structures. |
1349 | ; 2. Loop over the list of DISK structures. |