do not unmask all IRQs

git-svn-id: svn://kolibrios.org@1380 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2010-01-28 10:40:07 +00:00
parent 8a94df9a76
commit 34b5b25917

View File

@ -701,8 +701,8 @@ end if
; SET PORTS FOR IRQ HANDLERS ; SET PORTS FOR IRQ HANDLERS
mov esi,boot_setrports ;mov esi,boot_setrports
call boot_log ;call boot_log
;call setirqreadports ;call setirqreadports
; SET UP OS TASK ; SET UP OS TASK
@ -970,25 +970,25 @@ end if
; UNMASK ALL IRQ'S ; UNMASK ALL IRQ'S
mov esi,boot_allirqs ; mov esi,boot_allirqs
call boot_log ; call boot_log
;
; cli ;guarantee forbidance of interrupts.
; mov al,0 ; unmask all irq's
; out 0xA1,al
; out 0x21,al
;
; mov ecx,32
;
; ready_for_irqs:
;
; mov al,0x20 ; ready for irqs
; out 0x20,al
; out 0xa0,al
;
; loop ready_for_irqs ; flush the queue
cli ;guarantee forbidance of interrupts. stdcall attach_int_handler, 1, irq1, 0
mov al,0 ; unmask all irq's
out 0xA1,al
out 0x21,al
mov ecx,32
ready_for_irqs:
mov al,0x20 ; ready for irqs
out 0x20,al
out 0xa0,al
loop ready_for_irqs ; flush the queue
stdcall attach_int_handler, dword 1, irq1, dword 0
; mov [dma_hdd],1 ; mov [dma_hdd],1
cmp [IDEContrRegsBaseAddr], 0 cmp [IDEContrRegsBaseAddr], 0