[x86_64] Add support for compilation as an x86_64 binary
Currently the only supported platform for x86_64 is EFI. Building an EFI64 gPXE requires a version of gcc that supports __attribute__((ms_abi)). This currently means a development build of gcc; the feature should be present when gcc 4.4 is released. In the meantime; you can grab a suitable gcc tree from git://git.etherboot.org/scm/people/mcb30/gcc/.git
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef _GPXE_EFIX86_NAP_H
|
||||
#define _GPXE_EFIX86_NAP_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* EFI CPU sleeping
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef NAP_EFIX86
|
||||
#define NAP_PREFIX_efix86
|
||||
#else
|
||||
#define NAP_PREFIX_efix86 __efix86_
|
||||
#endif
|
||||
|
||||
#endif /* _GPXE_EFIX86_NAP_H */
|
||||
Reference in New Issue
Block a user