From 90b65feb5908334bb2ef85507cfa3d095fb4f091 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Thu, 22 Jul 2010 11:04:52 +0000 Subject: [PATCH] enable interrupts in IDE controller git-svn-id: svn://kolibrios.org@1523 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 23912fce5a..100621b9b2 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -614,6 +614,13 @@ high_code: mov al, 0x3F out 0xA1, al +; Enable interrupts in IDE controller + mov al, 0 + mov dx, 0x3F6 + out dx, al + mov dl, 0x76 + out dx, al + ;!!!!!!!!!!!!!!!!!!!!!!!!!! include 'detect/disks.inc' ;!!!!!!!!!!!!!!!!!!!!!!!!!!