[bios] Add bin-x86_64-pcbios build platform
authorMichael Brown <mcb30@ipxe.org>
Tue, 16 Feb 2016 15:19:01 +0000 (15:19 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 16 Feb 2016 19:32:32 +0000 (19:32 +0000)
commitf468f12b1eca15e703aa2a79f1c82969c04c2322
treef1868e6cb7debaeb7aca59e4488b603fcc6481d7
parent43515f9f1a3e3bfaa9171f4711ed0aafef1caf06
[bios] Add bin-x86_64-pcbios build platform

Move most arch/i386 files to arch/x86, and adjust the contents of the
Makefiles and the include/bits/*.h headers to reflect the new
locations.

This patch makes no substantive code changes, as can be seen using a
rename-aware diff (e.g. "git show -M5").

This patch does not make the pcbios platform functional for x86_64; it
merely allows it to compile without errors.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
155 files changed:
src/arch/i386/Makefile
src/arch/i386/Makefile.pcbios
src/arch/x86/Makefile
src/arch/x86/Makefile.pcbios [new file with mode: 0644]
src/arch/x86/core/basemem_packet.c [moved from src/arch/i386/core/basemem_packet.c with 100% similarity]
src/arch/x86/core/cachedhcp.c [moved from src/arch/i386/core/cachedhcp.c with 100% similarity]
src/arch/x86/core/dumpregs.c [moved from src/arch/i386/core/dumpregs.c with 100% similarity]
src/arch/x86/core/patch_cf.S [moved from src/arch/i386/core/patch_cf.S with 100% similarity]
src/arch/x86/core/pci_autoboot.c [moved from src/arch/i386/core/pci_autoboot.c with 100% similarity]
src/arch/x86/core/rdtsc_timer.c [moved from src/arch/i386/core/rdtsc_timer.c with 100% similarity]
src/arch/x86/core/relocate.c [moved from src/arch/i386/core/relocate.c with 100% similarity]
src/arch/x86/core/runtime.c [moved from src/arch/i386/core/runtime.c with 100% similarity]
src/arch/x86/core/stack.S [moved from src/arch/i386/core/stack.S with 100% similarity]
src/arch/x86/core/stack16.S [moved from src/arch/i386/core/stack16.S with 100% similarity]
src/arch/x86/core/video_subr.c [moved from src/arch/i386/core/video_subr.c with 100% similarity]
src/arch/x86/core/virtaddr.S [moved from src/arch/i386/core/virtaddr.S with 100% similarity]
src/arch/x86/drivers/net/undi.c [moved from src/arch/i386/drivers/net/undi.c with 100% similarity]
src/arch/x86/drivers/net/undiisr.S [moved from src/arch/i386/drivers/net/undiisr.S with 100% similarity]
src/arch/x86/drivers/net/undiload.c [moved from src/arch/i386/drivers/net/undiload.c with 100% similarity]
src/arch/x86/drivers/net/undinet.c [moved from src/arch/i386/drivers/net/undinet.c with 100% similarity]
src/arch/x86/drivers/net/undionly.c [moved from src/arch/i386/drivers/net/undionly.c with 100% similarity]
src/arch/x86/drivers/net/undipreload.c [moved from src/arch/i386/drivers/net/undipreload.c with 100% similarity]
src/arch/x86/drivers/net/undirom.c [moved from src/arch/i386/drivers/net/undirom.c with 100% similarity]
src/arch/x86/hci/commands/pxe_cmd.c [moved from src/arch/i386/hci/commands/pxe_cmd.c with 100% similarity]
src/arch/x86/image/bootsector.c [moved from src/arch/i386/image/bootsector.c with 100% similarity]
src/arch/x86/image/bzimage.c [moved from src/arch/i386/image/bzimage.c with 100% similarity]
src/arch/x86/image/elfboot.c [moved from src/arch/i386/image/elfboot.c with 100% similarity]
src/arch/x86/image/initrd.c [moved from src/arch/i386/image/initrd.c with 100% similarity]
src/arch/x86/image/multiboot.c [moved from src/arch/i386/image/multiboot.c with 100% similarity]
src/arch/x86/image/nbi.c [moved from src/arch/i386/image/nbi.c with 100% similarity]
src/arch/x86/image/pxe_image.c [moved from src/arch/i386/image/pxe_image.c with 100% similarity]
src/arch/x86/image/sdi.c [moved from src/arch/i386/image/sdi.c with 100% similarity]
src/arch/x86/include/basemem.h [moved from src/arch/i386/include/basemem.h with 100% similarity]
src/arch/x86/include/basemem_packet.h [moved from src/arch/i386/include/basemem_packet.h with 100% similarity]
src/arch/x86/include/bios.h [moved from src/arch/i386/include/bios.h with 100% similarity]
src/arch/x86/include/bios_disks.h [moved from src/arch/i386/include/bios_disks.h with 100% similarity]
src/arch/x86/include/biosint.h [moved from src/arch/i386/include/biosint.h with 100% similarity]
src/arch/x86/include/bits/entropy.h [moved from src/arch/i386/include/bits/entropy.h with 79% similarity]
src/arch/x86/include/bits/nap.h [moved from src/arch/i386/include/bits/nap.h with 79% similarity]
src/arch/x86/include/bits/reboot.h [moved from src/arch/i386/include/bits/reboot.h with 79% similarity]
src/arch/x86/include/bits/sanboot.h [moved from src/arch/i386/include/bits/sanboot.h with 79% similarity]
src/arch/x86/include/bits/smbios.h [moved from src/arch/i386/include/bits/smbios.h with 79% similarity]
src/arch/x86/include/bits/time.h [moved from src/arch/i386/include/bits/time.h with 79% similarity]
src/arch/x86/include/bits/timer.h [moved from src/arch/i386/include/bits/timer.h with 81% similarity]
src/arch/x86/include/bits/uaccess.h [moved from src/arch/i386/include/bits/uaccess.h with 76% similarity]
src/arch/x86/include/bits/umalloc.h [moved from src/arch/i386/include/bits/umalloc.h with 74% similarity]
src/arch/x86/include/bochs.h [moved from src/arch/i386/include/bochs.h with 100% similarity]
src/arch/x86/include/bootsector.h [moved from src/arch/i386/include/bootsector.h with 100% similarity]
src/arch/x86/include/bzimage.h [moved from src/arch/i386/include/bzimage.h with 100% similarity]
src/arch/x86/include/fakee820.h [moved from src/arch/i386/include/fakee820.h with 100% similarity]
src/arch/x86/include/initrd.h [moved from src/arch/i386/include/initrd.h with 100% similarity]
src/arch/x86/include/int13.h [moved from src/arch/i386/include/int13.h with 100% similarity]
src/arch/x86/include/ipxe/bios_nap.h [moved from src/arch/i386/include/ipxe/bios_nap.h with 100% similarity]
src/arch/x86/include/ipxe/bios_reboot.h [moved from src/arch/i386/include/ipxe/bios_reboot.h with 100% similarity]
src/arch/x86/include/ipxe/bios_sanboot.h [moved from src/arch/i386/include/ipxe/bios_sanboot.h with 100% similarity]
src/arch/x86/include/ipxe/bios_smbios.h [moved from src/arch/i386/include/ipxe/bios_smbios.h with 100% similarity]
src/arch/x86/include/ipxe/bios_timer.h [moved from src/arch/i386/include/ipxe/bios_timer.h with 100% similarity]
src/arch/x86/include/ipxe/errno/pcbios.h [moved from src/arch/i386/include/ipxe/errno/pcbios.h with 100% similarity]
src/arch/x86/include/ipxe/memtop_umalloc.h [moved from src/arch/i386/include/ipxe/memtop_umalloc.h with 100% similarity]
src/arch/x86/include/ipxe/rdtsc_timer.h [moved from src/arch/i386/include/ipxe/rdtsc_timer.h with 100% similarity]
src/arch/x86/include/ipxe/rtc_entropy.h [moved from src/arch/i386/include/ipxe/rtc_entropy.h with 100% similarity]
src/arch/x86/include/ipxe/rtc_time.h [moved from src/arch/i386/include/ipxe/rtc_time.h with 100% similarity]
src/arch/x86/include/ipxe/vesafb.h [moved from src/arch/i386/include/ipxe/vesafb.h with 100% similarity]
src/arch/x86/include/kir.h [moved from src/arch/i386/include/kir.h with 100% similarity]
src/arch/x86/include/libkir.h [moved from src/arch/i386/include/libkir.h with 100% similarity]
src/arch/x86/include/librm.h [moved from src/arch/i386/include/librm.h with 100% similarity]
src/arch/x86/include/memsizes.h [moved from src/arch/i386/include/memsizes.h with 100% similarity]
src/arch/x86/include/multiboot.h [moved from src/arch/i386/include/multiboot.h with 100% similarity]
src/arch/x86/include/pnpbios.h [moved from src/arch/i386/include/pnpbios.h with 100% similarity]
src/arch/x86/include/pxe.h [moved from src/arch/i386/include/pxe.h with 100% similarity]
src/arch/x86/include/pxe_api.h [moved from src/arch/i386/include/pxe_api.h with 100% similarity]
src/arch/x86/include/pxe_call.h [moved from src/arch/i386/include/pxe_call.h with 100% similarity]
src/arch/x86/include/pxe_error.h [moved from src/arch/i386/include/pxe_error.h with 100% similarity]
src/arch/x86/include/pxe_types.h [moved from src/arch/i386/include/pxe_types.h with 100% similarity]
src/arch/x86/include/pxeparent.h [moved from src/arch/i386/include/pxeparent.h with 100% similarity]
src/arch/x86/include/realmode.h [moved from src/arch/i386/include/realmode.h with 100% similarity]
src/arch/x86/include/registers.h [moved from src/arch/i386/include/registers.h with 100% similarity]
src/arch/x86/include/rmsetjmp.h [moved from src/arch/i386/include/rmsetjmp.h with 100% similarity]
src/arch/x86/include/rtc.h [moved from src/arch/i386/include/rtc.h with 100% similarity]
src/arch/x86/include/sdi.h [moved from src/arch/i386/include/sdi.h with 100% similarity]
src/arch/x86/include/undi.h [moved from src/arch/i386/include/undi.h with 100% similarity]
src/arch/x86/include/undiload.h [moved from src/arch/i386/include/undiload.h with 100% similarity]
src/arch/x86/include/undinet.h [moved from src/arch/i386/include/undinet.h with 100% similarity]
src/arch/x86/include/undipreload.h [moved from src/arch/i386/include/undipreload.h with 100% similarity]
src/arch/x86/include/undirom.h [moved from src/arch/i386/include/undirom.h with 100% similarity]
src/arch/x86/include/vga.h [moved from src/arch/i386/include/vga.h with 100% similarity]
src/arch/x86/interface/pcbios/apm.c [moved from src/arch/i386/interface/pcbios/apm.c with 100% similarity]
src/arch/x86/interface/pcbios/basemem.c [moved from src/arch/i386/firmware/pcbios/basemem.c with 100% similarity]
src/arch/x86/interface/pcbios/bios_console.c [moved from src/arch/i386/firmware/pcbios/bios_console.c with 100% similarity]
src/arch/x86/interface/pcbios/bios_nap.c [moved from src/arch/i386/interface/pcbios/bios_nap.c with 100% similarity]
src/arch/x86/interface/pcbios/bios_reboot.c [moved from src/arch/i386/interface/pcbios/bios_reboot.c with 100% similarity]
src/arch/x86/interface/pcbios/bios_smbios.c [moved from src/arch/i386/interface/pcbios/bios_smbios.c with 100% similarity]
src/arch/x86/interface/pcbios/bios_timer.c [moved from src/arch/i386/interface/pcbios/bios_timer.c with 100% similarity]
src/arch/x86/interface/pcbios/biosint.c [moved from src/arch/i386/interface/pcbios/biosint.c with 100% similarity]
src/arch/x86/interface/pcbios/e820mangler.S [moved from src/arch/i386/firmware/pcbios/e820mangler.S with 100% similarity]
src/arch/x86/interface/pcbios/fakee820.c [moved from src/arch/i386/firmware/pcbios/fakee820.c with 100% similarity]
src/arch/x86/interface/pcbios/hidemem.c [moved from src/arch/i386/firmware/pcbios/hidemem.c with 100% similarity]
src/arch/x86/interface/pcbios/int13.c [moved from src/arch/i386/interface/pcbios/int13.c with 100% similarity]
src/arch/x86/interface/pcbios/int13con.c [moved from src/arch/i386/interface/pcbios/int13con.c with 100% similarity]
src/arch/x86/interface/pcbios/memmap.c [moved from src/arch/i386/firmware/pcbios/memmap.c with 100% similarity]
src/arch/x86/interface/pcbios/memtop_umalloc.c [moved from src/arch/i386/interface/pcbios/memtop_umalloc.c with 100% similarity]
src/arch/x86/interface/pcbios/pcibios.c [moved from src/arch/i386/interface/pcbios/pcibios.c with 100% similarity]
src/arch/x86/interface/pcbios/pnpbios.c [moved from src/arch/i386/firmware/pcbios/pnpbios.c with 100% similarity]
src/arch/x86/interface/pcbios/rtc_entropy.c [moved from src/arch/i386/interface/pcbios/rtc_entropy.c with 100% similarity]
src/arch/x86/interface/pcbios/rtc_time.c [moved from src/arch/i386/interface/pcbios/rtc_time.c with 100% similarity]
src/arch/x86/interface/pcbios/vesafb.c [moved from src/arch/i386/interface/pcbios/vesafb.c with 100% similarity]
src/arch/x86/interface/pxe/pxe_call.c [moved from src/arch/i386/interface/pxe/pxe_call.c with 100% similarity]
src/arch/x86/interface/pxe/pxe_entry.S [moved from src/arch/i386/interface/pxe/pxe_entry.S with 100% similarity]
src/arch/x86/interface/pxe/pxe_exit_hook.c [moved from src/arch/i386/interface/pxe/pxe_exit_hook.c with 100% similarity]
src/arch/x86/interface/pxe/pxe_file.c [moved from src/arch/i386/interface/pxe/pxe_file.c with 100% similarity]
src/arch/x86/interface/pxe/pxe_loader.c [moved from src/arch/i386/interface/pxe/pxe_loader.c with 100% similarity]
src/arch/x86/interface/pxe/pxe_preboot.c [moved from src/arch/i386/interface/pxe/pxe_preboot.c with 100% similarity]
src/arch/x86/interface/pxe/pxe_tftp.c [moved from src/arch/i386/interface/pxe/pxe_tftp.c with 100% similarity]
src/arch/x86/interface/pxe/pxe_udp.c [moved from src/arch/i386/interface/pxe/pxe_udp.c with 100% similarity]
src/arch/x86/interface/pxe/pxe_undi.c [moved from src/arch/i386/interface/pxe/pxe_undi.c with 100% similarity]
src/arch/x86/interface/pxeparent/pxeparent.c [moved from src/arch/i386/interface/pxeparent/pxeparent.c with 100% similarity]
src/arch/x86/prefix/bootpart.S [moved from src/arch/i386/prefix/bootpart.S with 100% similarity]
src/arch/x86/prefix/dskprefix.S [moved from src/arch/i386/prefix/dskprefix.S with 100% similarity]
src/arch/x86/prefix/exeprefix.S [moved from src/arch/i386/prefix/exeprefix.S with 100% similarity]
src/arch/x86/prefix/hdprefix.S [moved from src/arch/i386/prefix/hdprefix.S with 100% similarity]
src/arch/x86/prefix/isaromprefix.S [moved from src/arch/i386/prefix/isaromprefix.S with 100% similarity]
src/arch/x86/prefix/kkkpxeprefix.S [moved from src/arch/i386/prefix/kkkpxeprefix.S with 100% similarity]
src/arch/x86/prefix/kkpxeprefix.S [moved from src/arch/i386/prefix/kkpxeprefix.S with 100% similarity]
src/arch/x86/prefix/kpxeprefix.S [moved from src/arch/i386/prefix/kpxeprefix.S with 100% similarity]
src/arch/x86/prefix/libprefix.S [moved from src/arch/i386/prefix/libprefix.S with 100% similarity]
src/arch/x86/prefix/lkrnprefix.S [moved from src/arch/i386/prefix/lkrnprefix.S with 100% similarity]
src/arch/x86/prefix/mbr.S [moved from src/arch/i386/prefix/mbr.S with 100% similarity]
src/arch/x86/prefix/mromprefix.S [moved from src/arch/i386/prefix/mromprefix.S with 100% similarity]
src/arch/x86/prefix/nbiprefix.S [moved from src/arch/i386/prefix/nbiprefix.S with 100% similarity]
src/arch/x86/prefix/nullprefix.S [moved from src/arch/i386/prefix/nullprefix.S with 100% similarity]
src/arch/x86/prefix/pciromprefix.S [moved from src/arch/i386/prefix/pciromprefix.S with 100% similarity]
src/arch/x86/prefix/pxeprefix.S [moved from src/arch/i386/prefix/pxeprefix.S with 100% similarity]
src/arch/x86/prefix/romprefix.S [moved from src/arch/i386/prefix/romprefix.S with 100% similarity]
src/arch/x86/prefix/undiloader.S [moved from src/arch/i386/prefix/undiloader.S with 100% similarity]
src/arch/x86/prefix/unlzma.S [moved from src/arch/i386/prefix/unlzma.S with 100% similarity]
src/arch/x86/prefix/unlzma16.S [moved from src/arch/i386/prefix/unlzma16.S with 100% similarity]
src/arch/x86/prefix/usbdisk.S [moved from src/arch/i386/prefix/usbdisk.S with 100% similarity]
src/arch/x86/scripts/pcbios.lds [moved from src/arch/i386/scripts/i386.lds with 100% similarity]
src/arch/x86/transitions/liba20.S [moved from src/arch/i386/transitions/liba20.S with 100% similarity]
src/arch/x86/transitions/libkir.S [moved from src/arch/i386/transitions/libkir.S with 100% similarity]
src/arch/x86/transitions/libpm.S [moved from src/arch/i386/transitions/libpm.S with 100% similarity]
src/arch/x86/transitions/librm.S [moved from src/arch/i386/transitions/librm.S with 100% similarity]
src/arch/x86/transitions/librm_mgmt.c [moved from src/arch/i386/transitions/librm_mgmt.c with 100% similarity]
src/arch/x86/transitions/librm_test.c [moved from src/arch/i386/transitions/librm_test.c with 100% similarity]
src/arch/x86_64/Makefile.pcbios [new file with mode: 0644]
src/arch/x86_64/include/bits/entropy.h [deleted file]
src/arch/x86_64/include/bits/nap.h [deleted file]
src/arch/x86_64/include/bits/reboot.h [deleted file]
src/arch/x86_64/include/bits/sanboot.h [deleted file]
src/arch/x86_64/include/bits/smbios.h [deleted file]
src/arch/x86_64/include/bits/time.h [deleted file]
src/arch/x86_64/include/bits/timer.h [deleted file]
src/arch/x86_64/include/bits/uaccess.h [deleted file]
src/arch/x86_64/include/bits/umalloc.h [deleted file]
src/arch/x86_64/include/pcbios/ipxe/dhcp_arch.h [new file with mode: 0644]