summaryrefslogtreecommitdiffstats
path: root/src/config/cloud/ioapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/cloud/ioapi.h')
-rw-r--r--src/config/cloud/ioapi.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/config/cloud/ioapi.h b/src/config/cloud/ioapi.h
index ba0896a9a..3ab05082f 100644
--- a/src/config/cloud/ioapi.h
+++ b/src/config/cloud/ioapi.h
@@ -4,4 +4,17 @@
#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