Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/xen/xen_apic.c
Show First 20 Lines • Show All 358 Lines • ▼ Show 20 Lines | CPU_FOREACH(i) | ||||
xen_cpu_ipi_init(i); | xen_cpu_ipi_init(i); | ||||
/* Set the xen pv ipi ops to replace the native ones */ | /* Set the xen pv ipi ops to replace the native ones */ | ||||
ipi_vectored = xen_pv_lapic_ipi_vectored; | ipi_vectored = xen_pv_lapic_ipi_vectored; | ||||
native_ipi_vectored = ipi_vectored; | native_ipi_vectored = ipi_vectored; | ||||
} | } | ||||
/* Switch to using PV IPIs as soon as the vcpu_id is set. */ | /* Switch to using PV IPIs as soon as the vcpu_id is set. */ | ||||
SYSINIT(xen_setup_cpus, SI_SUB_SMP, SI_ORDER_SECOND, xen_setup_cpus, NULL); | SYSINIT(xen_setup_cpus, SI_SUB_SMP, SI_ORDER_SECOND, xen_setup_cpus); |