summaryrefslogtreecommitdiff
path: root/i386/i386at/ioapic.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/ioapic.c')
-rw-r--r--i386/i386at/ioapic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/i386/i386at/ioapic.c b/i386/i386at/ioapic.c
index 16836016..38d1b43c 100644
--- a/i386/i386at/ioapic.c
+++ b/i386/i386at/ioapic.c
@@ -368,8 +368,9 @@ ioapic_configure(void)
}
/* Start the IO APIC receiving interrupts */
+ lapic->apic_id.r = apic_get_cpu_apic_id(bsp);
lapic->dest_format.r = 0xffffffff; /* flat model */
- lapic->logical_dest.r = 0x00000000; /* default, but we use physical */
+ lapic->logical_dest.r = 0x01000000; /* target bsp */
lapic->lvt_timer.r = LAPIC_DISABLE;
lapic->lvt_performance_monitor.r = LAPIC_NMI;
lapic->lvt_lint0.r = LAPIC_DISABLE;