| Date | Thu, 10 Jul 2008 22:18:01 +0200 | From | Ingo Molnar <> | Subject | Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remapping and x2apic support |
| |
* Eric W. Biederman <ebiederm@xmission.com> wrote:
> A lot of your code is generic, and some of it is for just x86_64. > Since the cpus are capable of running in 32bit mode. We really need > to implement x86_32 and x86_64 support in the same code base. Which I > believe means factoring out pieces of io_apic_N.c into things such as > msi.c that can be shared between the two architectures.
i think the APIC code should be fully unified down the line - the APIC/IOAPIC knows little about the mode the CPU is running in and has to be programmed the same way independent of which mode the CPU is in. The current fork between the 32-bit and 64-bit APIC code is in good part artificial.
Ingo
|