[x86_64] Add support for compilation as an x86_64 binary
authorMichael Brown <mcb30@etherboot.org>
Tue, 18 Nov 2008 22:30:37 +0000 (14:30 -0800)
committerMichael Brown <mcb30@etherboot.org>
Fri, 5 Dec 2008 00:06:27 +0000 (00:06 +0000)
commitce0a0ccf5c2b99be684f13a9418d1556bae5f0ed
tree965c86dafc3fbdca8e46ee22b94387242cc0e288
parentb0d2c9a4d5b5dd669a845127a37ba08440e2820b
[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
34 files changed:
src/arch/i386/Makefile
src/arch/i386/include/bits/byteswap.h
src/arch/i386/include/bits/stdint.h
src/arch/x86/Makefile [new file with mode: 0644]
src/arch/x86/core/pcidirect.c [moved from src/arch/i386/core/pcidirect.c with 98% similarity]
src/arch/x86/core/x86_string.c [moved from src/arch/i386/core/i386_string.c with 93% similarity]
src/arch/x86/include/bits/pci_io.h [moved from src/arch/i386/include/bits/pci_io.h with 100% similarity]
src/arch/x86/include/bits/string.h [moved from src/arch/i386/include/bits/string.h with 98% similarity]
src/arch/x86/include/gpxe/efi/efix86_nap.h [moved from src/arch/i386/include/gpxe/efi/efix86_nap.h with 100% similarity]
src/arch/x86/include/gpxe/pcibios.h [moved from src/arch/i386/include/gpxe/pcibios.h with 100% similarity]
src/arch/x86/include/gpxe/pcidirect.h [moved from src/arch/i386/include/gpxe/pcidirect.h with 100% similarity]
src/arch/x86/interface/efi/efix86_nap.c [moved from src/arch/i386/interface/efi/efix86_nap.c with 100% similarity]
src/arch/x86_64/Makefile [new file with mode: 0644]
src/arch/x86_64/Makefile.efi [new file with mode: 0644]
src/arch/x86_64/include/bits/byteswap.h [new file with mode: 0644]
src/arch/x86_64/include/bits/compiler.h [new file with mode: 0644]
src/arch/x86_64/include/bits/endian.h [new file with mode: 0644]
src/arch/x86_64/include/bits/errfile.h [new file with mode: 0644]
src/arch/x86_64/include/bits/io.h [new file with mode: 0644]
src/arch/x86_64/include/bits/nap.h [new file with mode: 0644]
src/arch/x86_64/include/bits/smbios.h [new file with mode: 0644]
src/arch/x86_64/include/bits/stdint.h [new file with mode: 0644]
src/arch/x86_64/include/bits/timer.h [new file with mode: 0644]
src/arch/x86_64/include/bits/uaccess.h [new file with mode: 0644]
src/arch/x86_64/include/bits/umalloc.h [new file with mode: 0644]
src/arch/x86_64/include/gdbmach.h [new file with mode: 0644]
src/arch/x86_64/include/limits.h [new file with mode: 0644]
src/arch/x86_64/prefix/efiprefix.S [new file with mode: 0644]
src/arch/x86_64/scripts/efi.lds [new file with mode: 0644]
src/include/byteswap.h
src/include/compiler.h
src/include/gpxe/efi/ProcessorBind.h
src/include/gpxe/efi/X64/ProcessorBind.h [new file with mode: 0644]
src/util/efilink.c