forked from KolibriOS/kolibrios
IDE DMA - remove the interrupt request after disabling IDE interrupts.
git-svn-id: svn://kolibrios.org@4307 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ff750185ca
commit
c4ddb68d5f
@ -796,6 +796,13 @@ no_mode_0x12:
|
|||||||
add dx, 2 ;0x376
|
add dx, 2 ;0x376
|
||||||
out dx, al
|
out dx, al
|
||||||
@@:
|
@@:
|
||||||
|
; read status register and remove the interrupt request
|
||||||
|
mov dx, [IDE_BAR0_val] ;0x1F0
|
||||||
|
add dx, 0x7 ;0x1F7
|
||||||
|
in al, dx
|
||||||
|
mov dx, [IDE_BAR2_val] ;0x170
|
||||||
|
add dx, 0x7 ;0x177
|
||||||
|
in al, dx
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
;!!!!!!!!!!!!!!!!!!!!!!!!!!
|
;!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
; mov esi, boot_detectdisks
|
; mov esi, boot_detectdisks
|
||||||
|
Loading…
Reference in New Issue
Block a user