Additional fix to r.4838

git-svn-id: svn://kolibrios.org@4839 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2014-04-15 12:54:18 +00:00
parent 26aad0cc40
commit be20dc3772

View File

@ -792,11 +792,11 @@ IDE_irq_15_handler:
align 4
IDE_common_irq_handler:
; DEBUGF 1, 'K : IDE_common_irq_handler %x\n', [IDE_common_irq_param]:2
pushfd
cli
cmp [IDE_common_irq_param], 0
je .exit
pushfd
cli
pushad
xor ebx, ebx
mov ecx, [IDE_controller_pointer]
@ -832,9 +832,9 @@ IDE_common_irq_handler:
;--------------------------------------
@@:
popad
popfd
;--------------------------------------
.exit:
popfd
mov al, 0
ret
;-----------------------------------------------------------------------------