iPXE
ioapi.h
Go to the documentation of this file.
1/* Work around missing PCI BIOS calls in the cut-down SeaBIOS found in
2 * some AWS EC2 instances.
3 */
4#ifdef PLATFORM_pcbios
5#undef PCIAPI_PCBIOS
6#define PCIAPI_CLOUD
7#define PCIAPI_RUNTIME_ECAM
8#define PCIAPI_RUNTIME_PCBIOS
9#define PCIAPI_RUNTIME_DIRECT
10#endif
11
12/* Work around missing PCI host bridge drivers in the cut-down UEFI found
13 * in some AWS EC2 instances.
14 */
15#ifdef PLATFORM_efi
16#undef PCIAPI_EFI
17#define PCIAPI_CLOUD
18#define PCIAPI_RUNTIME_EFI
19#define PCIAPI_RUNTIME_ECAM
20#endif