WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>