forked from KolibriOS/kolibrios
fs_HdDelete:
* correct check for ext2 partition type (never reached ext2 implementation) reserve_cd_channel: * jump to correct label (wrong channel was being reserved if retry occured) * re-enable interrupts (were being masked upon proc return) git-svn-id: svn://kolibrios.org@2044 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6c55e4b3c3
commit
74263ea13b
@ -2787,7 +2787,7 @@ fs_HdSetFileInfo:
|
|||||||
fs_HdDelete:
|
fs_HdDelete:
|
||||||
cmp [fs_type], 1
|
cmp [fs_type], 1
|
||||||
jz ntfs_HdDelete
|
jz ntfs_HdDelete
|
||||||
cmp [fs_type], 1
|
cmp [fs_type], 2
|
||||||
jz ext2_HdDelete
|
jz ext2_HdDelete
|
||||||
cmp [fs_type], 16
|
cmp [fs_type], 16
|
||||||
jz @f
|
jz @f
|
||||||
|
@ -54,12 +54,14 @@ reserve_cd_channel:
|
|||||||
je .reserve_ok_2
|
je .reserve_ok_2
|
||||||
sti
|
sti
|
||||||
call change_task
|
call change_task
|
||||||
jmp .IDE_Channel_1
|
jmp .IDE_Channel_2
|
||||||
.reserve_ok_1:
|
.reserve_ok_1:
|
||||||
mov [IDE_Channel_1],1
|
mov [IDE_Channel_1],1
|
||||||
|
sti
|
||||||
ret
|
ret
|
||||||
.reserve_ok_2:
|
.reserve_ok_2:
|
||||||
mov [IDE_Channel_2],1
|
mov [IDE_Channel_2],1
|
||||||
|
sti
|
||||||
ret
|
ret
|
||||||
|
|
||||||
free_cd_channel:
|
free_cd_channel:
|
||||||
|
Loading…
Reference in New Issue
Block a user