Subject: Re: ioapic/mpbios/acpi changes
To: None <port-amd64@NetBSD.org, port-i386@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-amd64
Date: 09/28/2006 21:26:58
On Sat, Sep 23, 2006 at 11:58:51PM +0200, Manuel Bouyer wrote:
> Hi,
> here is the diff I intend to commit, it contains the changes needed to enable
> MPBIOS and ACPI interrupt routing in Xen3/dom0. Overview of the changes:
> - mpacpi.c, mpbios.c: allow to build without lapic (in Xen3 lapic is managed
>   entirely by the hypervisor)
> - ioapic.c: allow custom read/write routines, Xen need hypercalls to talk to
>   the ioapic
>   In ioapic_addroute(), always initialize sc->sc_pins[]. I can't see why 
>   it should not be initialized in the !ioapic_cold case; and in the
>   !ioapic_cold case apic_set_redir() doesn't work properly because
>   ip_type left to IST_NONE. For Xen I have to enable ioapic very early to be
>   able to bind interrupts to events.

FYI, I commited this to current.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--