NetBSD/sys/arch/xen/include/i82489var.h
bouyer f23d3bb7be Add Xen3 support for ACPI and/or MPBIOS + IOAPIC. To help with this, physical
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.
2006-09-28 18:53:15 +00:00

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)