[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Genapic

On 18 May 2005, at 16:45, Puthiyaparambil, Aravindh wrote:

Genapic is done differently for i386 and x86_64 in the LK. In i386 it is
machine specific and in x86_64 it is APIC model specific. Do you want
Xen to mimic that? Further more both i386 and x86_64 have separate
apic.c, io_apic.c (just to name a couple) files. Xen shares them between
the two. Will that cause any problems?

I am wondering if it is possible to have a unified genapic for Xen. Or
is it way too complicated?

Shared platform code (apics and the like) has been remarkably simple. This is to be expected: processor differences aside, i386 and x86/64 are identical platforms. So, for example, fixing Xen's smpboot.c (derived from Linux/i386) for x86/64 required one or two lines to be changed. Same for ACPI parsing, MP-table parsing, and so on. I wonder why i386 and x86/64 have been allowed to diverge so wildly in Linux? :-)

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.