forked from KolibriOS/kolibrios
small fix
git-svn-id: svn://kolibrios.org@1379 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7eed0cd366
commit
8a94df9a76
@ -465,4 +465,3 @@ BiosDiskCaches rb 80h*(cache_ide1-cache_ide0)
|
|||||||
BiosDiskPartitions rd 80h
|
BiosDiskPartitions rd 80h
|
||||||
|
|
||||||
IncludeUGlobals
|
IncludeUGlobals
|
||||||
|
|
||||||
|
@ -169,6 +169,7 @@ reserve_hd_channel:
|
|||||||
call clear_hd_cache
|
call clear_hd_cache
|
||||||
@@:
|
@@:
|
||||||
pop eax
|
pop eax
|
||||||
|
sti
|
||||||
.ret:
|
.ret:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -2931,4 +2932,3 @@ fs_HdDelete:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
; \end{diamond}
|
; \end{diamond}
|
||||||
|
|
||||||
|
@ -795,4 +795,3 @@ error:
|
|||||||
|
|
||||||
partition_string: dd 0
|
partition_string: dd 0
|
||||||
db 32
|
db 32
|
||||||
|
|
||||||
|
@ -105,11 +105,6 @@ file_system_lfn:
|
|||||||
; 9 : create directory
|
; 9 : create directory
|
||||||
|
|
||||||
; parse file name
|
; parse file name
|
||||||
cmp dword [eax], 1
|
|
||||||
jne @F
|
|
||||||
;xchg bx,bx
|
|
||||||
@@:
|
|
||||||
;up to file_system_lfn - TEMP!!!
|
|
||||||
xchg ebx, eax
|
xchg ebx, eax
|
||||||
lea esi, [ebx+20]
|
lea esi, [ebx+20]
|
||||||
lodsb
|
lodsb
|
||||||
@ -187,7 +182,7 @@ file_system_lfn:
|
|||||||
pop ecx
|
pop ecx
|
||||||
mov byte [edx], 1 ; version
|
mov byte [edx], 1 ; version
|
||||||
.maindir_loop:
|
.maindir_loop:
|
||||||
call esi ;!!!!!!!!!!!!!!!!!!
|
call esi
|
||||||
jc .maindir_done
|
jc .maindir_done
|
||||||
inc dword [edx+8]
|
inc dword [edx+8]
|
||||||
dec dword [esp]
|
dec dword [esp]
|
||||||
@ -1148,4 +1143,3 @@ get_full_file_name:
|
|||||||
jz .ret.ok
|
jz .ret.ok
|
||||||
mov byte [edi-1], '/'
|
mov byte [edi-1], '/'
|
||||||
jmp .set_copy_cont
|
jmp .set_copy_cont
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ ntfs_test_bootsec:
|
|||||||
|
|
||||||
ntfs_setup: ; CODE XREF: part_set.inc
|
ntfs_setup: ; CODE XREF: part_set.inc
|
||||||
; By given bootsector, initialize some NTFS variables
|
; By given bootsector, initialize some NTFS variables
|
||||||
; call ntfs_test_bootsec
|
; call ntfs_test_bootsec ; checking boot sector was already
|
||||||
; jc problem_fat_dec_count
|
; jc problem_fat_dec_count
|
||||||
movzx eax, byte [ebx+13]
|
movzx eax, byte [ebx+13]
|
||||||
mov [ntfs_data.sectors_per_cluster], eax
|
mov [ntfs_data.sectors_per_cluster], eax
|
||||||
@ -1268,7 +1268,6 @@ ntfs_HdRead:
|
|||||||
;
|
;
|
||||||
;--------------------------------------------------------------
|
;--------------------------------------------------------------
|
||||||
ntfs_HdReadFolder:
|
ntfs_HdReadFolder:
|
||||||
xchg bx, bx
|
|
||||||
mov eax, 5 ; root cluster
|
mov eax, 5 ; root cluster
|
||||||
cmp byte [esi], 0
|
cmp byte [esi], 0
|
||||||
jz .doit
|
jz .doit
|
||||||
@ -1814,4 +1813,3 @@ ntfs_HdGetFileInfo:
|
|||||||
pop edi esi
|
pop edi esi
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ iglobal
|
|||||||
db 0xd4 ; Old Multiuser DOS secured: fat16 <32M
|
db 0xd4 ; Old Multiuser DOS secured: fat16 <32M
|
||||||
db 0xd6 ; Old Multiuser DOS secured: fat16 >32M
|
db 0xd6 ; Old Multiuser DOS secured: fat16 >32M
|
||||||
db 0x07 ; NTFS
|
db 0x07 ; NTFS
|
||||||
db 0x17 ; NTFS, hidden
|
db 0x27 ; NTFS, hidden
|
||||||
db 0x83 ; Linux native file system (ext2fs)
|
db 0x83 ; Linux native file system (ext2fs)
|
||||||
partition_types_end:
|
partition_types_end:
|
||||||
|
|
||||||
@ -506,4 +506,3 @@ fat16_partition:
|
|||||||
call free_hd_channel
|
call free_hd_channel
|
||||||
mov [hd1_status],0 ; free
|
mov [hd1_status],0 ; free
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
@ -287,4 +287,3 @@ include "core/ext_lib.inc"
|
|||||||
|
|
||||||
; list of external functions
|
; list of external functions
|
||||||
include "imports.inc"
|
include "imports.inc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user