summaryrefslogtreecommitdiffstats
path: root/src/config/cloud/ioapi.h
blob: 3ab05082fda77c24c665ddc0141a0527400a2a7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Work around missing PCI BIOS calls in the cut-down SeaBIOS found in
 * some AWS EC2 instances.
 */
#ifdef PLATFORM_pcbios
#undef PCIAPI_PCBIOS
#define PCIAPI_CLOUD
#define PCIAPI_RUNTIME_ECAM
#define PCIAPI_RUNTIME_PCBIOS
#define PCIAPI_RUNTIME_DIRECT
#endif

/* Work around missing PCI host bridge drivers in the cut-down UEFI found
 * in some AWS EC2 instances.
 */
#ifdef PLATFORM_efi
#undef PCIAPI_EFI
#define PCIAPI_CLOUD
#define PCIAPI_RUNTIME_EFI
#define PCIAPI_RUNTIME_ECAM
#endif