Ignore:
Timestamp:
Jul 19, 2017, 2:57:03 PM (7 years ago)
Author:
max@…
Message:

Attach the secondary CPUs, and for now route the keyboard irq to
cpu1 - test only, but nice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_apic.c

    r236 r237  
    425425 * Only the Spurious and APIC Timer interrupts are enabled.
    426426 */
    427 static void hal_lapic_init()
     427void cpu_lapic_init()
    428428{
    429429        if ((rdmsr(MSR_APICBASE) & APICBASE_PHYSADDR) != lapic_pa) {
     
    524524        hal_pic_init();
    525525
    526         /* Enable the LAPIC */
    527         hal_lapic_init();
    528 
    529526        /* Enable the IOAPIC */
    530527        hal_ioapic_init();
Note: See TracChangeset for help on using the changeset viewer.