From be20dc37726a20521910967bc06111ebb5bfad42 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Tue, 15 Apr 2014 12:54:18 +0000 Subject: [PATCH] Additional fix to r.4838 git-svn-id: svn://kolibrios.org@4839 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/blkdev/hd_drv.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/blkdev/hd_drv.inc b/kernel/trunk/blkdev/hd_drv.inc index 2cb1bed6bb..2b7a9eb055 100644 --- a/kernel/trunk/blkdev/hd_drv.inc +++ b/kernel/trunk/blkdev/hd_drv.inc @@ -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 ;-----------------------------------------------------------------------------