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

Re: [Xen-devel] porting xen-detect ASM code into a shared library


  • To: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Thu, 10 Jul 2008 13:44:14 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 10 Jul 2008 05:44:39 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acjiiqh65zSqcE59Ed2MOAAX8io7RQ==
  • Thread-topic: [Xen-devel] porting xen-detect ASM code into a shared library



On 10/7/08 13:43, "Guillaume Rousse" <Guillaume.Rousse@xxxxxxxx> wrote:

>> It's gcc and x86 specific of course. Beyond that it is portable (across OSes
>> for example).
> What's the point of #ifdef __i386__ for the %ebx register usage issue,
> if whose cpuid function is x86-only ? Or is it actually a way to
> distinguish between gcc and other compilers ?
> 
> And are they alternative for non-i386 arches ?

__i386__ versus __x86_64__

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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