kernel: Support more than one I/O APIC and 24 interrupts.
git-svn-id: svn://kolibrios.org@7733 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -715,7 +715,11 @@ endg
|
||||
; Enable timer IRQ (IRQ0) and co-processor IRQ (IRQ13)
|
||||
; they are used: when partitions are scanned, hd_read relies on timer
|
||||
call unmask_timer
|
||||
; Prevent duplicate timer IRQs in APIC mode
|
||||
cmp [irq_mode], IRQ_APIC
|
||||
jz @f
|
||||
stdcall enable_irq, 2 ; @#$%! PIC
|
||||
@@:
|
||||
stdcall enable_irq, 13 ; co-processor
|
||||
|
||||
; Setup serial output console (if enabled)
|
||||
|
Reference in New Issue
Block a user