diff options
Diffstat (limited to 'qemu/roms/ipxe/src/config/defaults')
-rw-r--r-- | qemu/roms/ipxe/src/config/defaults/efi.h | 32 | ||||
-rw-r--r-- | qemu/roms/ipxe/src/config/defaults/linux.h | 28 | ||||
-rw-r--r-- | qemu/roms/ipxe/src/config/defaults/pcbios.h | 42 |
3 files changed, 102 insertions, 0 deletions
diff --git a/qemu/roms/ipxe/src/config/defaults/efi.h b/qemu/roms/ipxe/src/config/defaults/efi.h new file mode 100644 index 000000000..4276d9366 --- /dev/null +++ b/qemu/roms/ipxe/src/config/defaults/efi.h @@ -0,0 +1,32 @@ +#ifndef CONFIG_DEFAULTS_EFI_H +#define CONFIG_DEFAULTS_EFI_H + +/** @file + * + * Configuration defaults for EFI + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#define UACCESS_EFI +#define IOAPI_X86 +#define PCIAPI_EFI +#define CONSOLE_EFI +#define TIMER_EFI +#define NAP_EFIX86 +#define UMALLOC_EFI +#define SMBIOS_EFI +#define SANBOOT_NULL +#define BOFM_EFI +#define ENTROPY_NULL +#define TIME_NULL +#define REBOOT_EFI + +#define IMAGE_EFI /* EFI image support */ +#define IMAGE_SCRIPT /* iPXE script image support */ + +#define REBOOT_CMD /* Reboot command */ +#define CPUID_CMD /* x86 CPU feature detection command */ + +#endif /* CONFIG_DEFAULTS_EFI_H */ diff --git a/qemu/roms/ipxe/src/config/defaults/linux.h b/qemu/roms/ipxe/src/config/defaults/linux.h new file mode 100644 index 000000000..bc5ba7851 --- /dev/null +++ b/qemu/roms/ipxe/src/config/defaults/linux.h @@ -0,0 +1,28 @@ +#ifndef CONFIG_DEFAULTS_LINUX_H +#define CONFIG_DEFAULTS_LINUX_H + +/** @file + * + * Configuration defaults for linux + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#define CONSOLE_LINUX +#define TIMER_LINUX +#define UACCESS_LINUX +#define UMALLOC_LINUX +#define NAP_LINUX +#define SMBIOS_LINUX +#define SANBOOT_NULL +#define ENTROPY_LINUX +#define TIME_LINUX +#define REBOOT_NULL +#define PCIAPI_LINUX + +#define DRIVERS_LINUX + +#define IMAGE_SCRIPT + +#endif /* CONFIG_DEFAULTS_LINUX_H */ diff --git a/qemu/roms/ipxe/src/config/defaults/pcbios.h b/qemu/roms/ipxe/src/config/defaults/pcbios.h new file mode 100644 index 000000000..7debc8d2f --- /dev/null +++ b/qemu/roms/ipxe/src/config/defaults/pcbios.h @@ -0,0 +1,42 @@ +#ifndef CONFIG_DEFAULTS_PCBIOS_H +#define CONFIG_DEFAULTS_PCBIOS_H + +/** @file + * + * Configuration defaults for PCBIOS + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#define UACCESS_LIBRM +#define IOAPI_X86 +#define PCIAPI_PCBIOS +#define TIMER_PCBIOS +#define CONSOLE_PCBIOS +#define NAP_PCBIOS +#define UMALLOC_MEMTOP +#define SMBIOS_PCBIOS +#define SANBOOT_PCBIOS +#define ENTROPY_RTC +#define TIME_RTC +#define REBOOT_PCBIOS + +#define IMAGE_ELF /* ELF image support */ +#define IMAGE_MULTIBOOT /* MultiBoot image support */ +#define IMAGE_PXE /* PXE image support */ +#define IMAGE_SCRIPT /* iPXE script image support */ +#define IMAGE_BZIMAGE /* Linux bzImage image support */ + +#define PXE_STACK /* PXE stack in iPXE - required for PXELINUX */ +#define PXE_MENU /* PXE menu booting */ + +#define SANBOOT_PROTO_ISCSI /* iSCSI protocol */ +#define SANBOOT_PROTO_AOE /* AoE protocol */ +#define SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */ +#define SANBOOT_PROTO_FCP /* Fibre Channel protocol */ + +#define REBOOT_CMD /* Reboot command */ +#define CPUID_CMD /* x86 CPU feature detection command */ + +#endif /* CONFIG_DEFAULTS_PCBIOS_H */ |