aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/cloud
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/cloud')
-rw-r--r--src/config/cloud/ioapi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config/cloud/ioapi.h b/src/config/cloud/ioapi.h
new file mode 100644
index 000000000..c7c917f2e
--- /dev/null
+++ b/src/config/cloud/ioapi.h
@@ -0,0 +1,7 @@
+/* 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_DIRECT
+#endif