From 684e14f6736e841020047bd9cb468cdaa38a1bd6 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Thu, 11 Jul 2013 18:32:20 +0000 Subject: [PATCH] Additional check the unassigned IRQ for IDE controller. git-svn-id: svn://kolibrios.org@3810 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 3ab780051a..1f26b2aba5 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -1117,6 +1117,10 @@ end if cmp [IDEContrProgrammingInterface], 0 je set_interrupts_for_IDE_controllers.continue + + mov ax, [IDE_Interrupt] + cmp al, 0xff + je set_interrupts_for_IDE_controllers.end_set_interrupts ;----------------------------------------------------------------------------- ; set interrupts for IDE Controller ;-----------------------------------------------------------------------------