Files
ipxe/src/include/gpxe/efi/ProcessorBind.h
T
Michael Brown ce0a0ccf5c [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
2008-12-05 00:06:27 +00:00

15 lines
335 B
C

/*
* EFI header files rely on having the CPU architecture directory
* present in the search path in order to pick up ProcessorBind.h. We
* use this header file as a quick indirection layer.
* - mcb30
*/
#if __i386__
#include <gpxe/efi/Ia32/ProcessorBind.h>
#endif
#if __x86_64__
#include <gpxe/efi/X64/ProcessorBind.h>
#endif