Subversion Repositories Kolibri OS

Rev

Rev 7598 | Rev 7965 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7598 Rev 7733
Line 69... Line 69...
69
format binary as "mnt"
69
format binary as "mnt"
Line 70... Line 70...
70
 
70
 
71
include 'macros.inc'
71
include 'macros.inc'
Line 72... Line 72...
72
include 'struct.inc'
72
include 'struct.inc'
Line 73... Line 73...
73
 
73
 
74
$Revision: 7598 $
74
$Revision: 7733 $
Line 713... Line 713...
713
        mov     esi, boot_enableirq
713
        mov     esi, boot_enableirq
714
        call    boot_log
714
        call    boot_log
715
; Enable timer IRQ (IRQ0) and co-processor IRQ (IRQ13)
715
; Enable timer IRQ (IRQ0) and co-processor IRQ (IRQ13)
716
; they are used: when partitions are scanned, hd_read relies on timer
716
; they are used: when partitions are scanned, hd_read relies on timer
717
        call    unmask_timer
717
        call    unmask_timer
-
 
718
        ; Prevent duplicate timer IRQs in APIC mode
-
 
719
        cmp     [irq_mode], IRQ_APIC
-
 
720
        jz      @f
718
        stdcall enable_irq, 2               ; @#$%! PIC
721
        stdcall enable_irq, 2               ; @#$%! PIC
-
 
722
@@:
719
        stdcall enable_irq, 13              ; co-processor
723
        stdcall enable_irq, 13              ; co-processor
Line 720... Line 724...
720
 
724
 
721
; Setup serial output console (if enabled)
725
; Setup serial output console (if enabled)