enable interrupts in IDE controller

git-svn-id: svn://kolibrios.org@1523 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2010-07-22 11:04:52 +00:00
parent afa8518204
commit 90b65feb59

View File

@ -614,6 +614,13 @@ high_code:
mov al, 0x3F mov al, 0x3F
out 0xA1, al 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' include 'detect/disks.inc'
;!!!!!!!!!!!!!!!!!!!!!!!!!! ;!!!!!!!!!!!!!!!!!!!!!!!!!!