forked from KolibriOS/kolibrios
Additional fix to r.4838
git-svn-id: svn://kolibrios.org@4839 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
26aad0cc40
commit
be20dc3772
@ -792,11 +792,11 @@ IDE_irq_15_handler:
|
|||||||
align 4
|
align 4
|
||||||
IDE_common_irq_handler:
|
IDE_common_irq_handler:
|
||||||
; DEBUGF 1, 'K : IDE_common_irq_handler %x\n', [IDE_common_irq_param]:2
|
; DEBUGF 1, 'K : IDE_common_irq_handler %x\n', [IDE_common_irq_param]:2
|
||||||
|
pushfd
|
||||||
|
cli
|
||||||
cmp [IDE_common_irq_param], 0
|
cmp [IDE_common_irq_param], 0
|
||||||
je .exit
|
je .exit
|
||||||
|
|
||||||
pushfd
|
|
||||||
cli
|
|
||||||
pushad
|
pushad
|
||||||
xor ebx, ebx
|
xor ebx, ebx
|
||||||
mov ecx, [IDE_controller_pointer]
|
mov ecx, [IDE_controller_pointer]
|
||||||
@ -832,9 +832,9 @@ IDE_common_irq_handler:
|
|||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
@@:
|
@@:
|
||||||
popad
|
popad
|
||||||
popfd
|
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
.exit:
|
.exit:
|
||||||
|
popfd
|
||||||
mov al, 0
|
mov al, 0
|
||||||
ret
|
ret
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user