f23d3bb7be
CPUs are now configured on mainbus only in dom0, and only to know about their APIC id. virtual CPUs are attached to hypervisor as: vcpu* at hypervisor? and this is what's used as curcpu(). The kernel config files needs to be updated for this, see XEN3_DOM0 or XEN3_DOMU for examples. XEN3_DOM0 now has acpi, MPBIOS and ioapic by default. Note that a Xen dom0 kernel doens't have access to the lapic.
6 lines
149 B
C
6 lines
149 B
C
/* $NetBSD: i82489var.h,v 1.1 2006/09/28 18:53:15 bouyer Exp $ */
|
|
|
|
#include <x86/i82489var.h>
|
|
#undef lapic_cpu_number
|
|
#define lapic_cpu_number() (0)
|