Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/x86/local_apic.c
Show First 20 Lines • Show All 1,973 Lines • ▼ Show 20 Lines | apic_setup_io(void *dummy __unused) | ||||
* enables the EOI suppression mode, if LAPIC supports it and | * enables the EOI suppression mode, if LAPIC supports it and | ||||
* user did not disable the mode. | * user did not disable the mode. | ||||
*/ | */ | ||||
lapic_setup(1); | lapic_setup(1); | ||||
if (bootverbose) | if (bootverbose) | ||||
lapic_dump("BSP"); | lapic_dump("BSP"); | ||||
/* Enable the MSI "pic". */ | /* Enable the MSI "pic". */ | ||||
init_ops.msi_init(); | msi_init(); | ||||
#ifdef XENHVM | #ifdef XENHVM | ||||
xen_intr_alloc_irqs(); | xen_intr_alloc_irqs(); | ||||
#endif | #endif | ||||
} | } | ||||
SYSINIT(apic_setup_io, SI_SUB_INTR, SI_ORDER_THIRD, apic_setup_io, NULL); | SYSINIT(apic_setup_io, SI_SUB_INTR, SI_ORDER_THIRD, apic_setup_io, NULL); | ||||
#ifdef SMP | #ifdef SMP | ||||
▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines |