sys/i386/xen_mp_machdep.c:
Set a 'fake' acpi_id for the i386 PV port, it is needed in order to use VIRQs or IPI event channels. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (blanket Xen) MFC after: 2 weeks
This commit is contained in:
parent
9992c4312f
commit
6f13d59af6
@ -251,6 +251,9 @@ cpu_add(u_int apic_id, char boot_cpu)
|
|||||||
if (bootverbose)
|
if (bootverbose)
|
||||||
printf("SMP: Added CPU %d (%s)\n", apic_id, boot_cpu ? "BSP" :
|
printf("SMP: Added CPU %d (%s)\n", apic_id, boot_cpu ? "BSP" :
|
||||||
"AP");
|
"AP");
|
||||||
|
|
||||||
|
/* Set the ACPI id (it is needed by VCPU operations) */
|
||||||
|
pcpu_find(apic_id)->pc_acpi_id = apic_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user