[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] Definition of eax and rax
>>> "Li, Xin B" <xin.b.li@xxxxxxxxx> 13.12.06 13:15 >>> >And I don't think it can work for none GCC compiler, since we use eax from >time to time :-( >#ifdef __GNUC__ >/* Anonymous union includes both 32- and 64-bit names (e.g., eax/rax). */ >#define __DECL_REG(name) union { uint64_t r ## name, e ## name; } >#else >/* Non-gcc sources must always use the proper 64-bit name (e.g., rax). */ >#define __DECL_REG(name) uint64_t r ## name >#endif This is meant to help non-Xen sources including Xen headers. Xen itself is always assumed to be compiled with gcc as I understand it. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |