summaryrefslogtreecommitdiffstats
path: root/src/config/defaults
diff options
context:
space:
mode:
authorMichael Brown2012-07-17 22:28:24 +0200
committerMichael Brown2012-07-17 22:30:18 +0200
commit2d7c966e77f504dc9b53f6d18a2f01deb7b9cb4a (patch)
tree6540fb7d87999172d973bde52a88ca8d5001e374 /src/config/defaults
parent[ioapi] Generalise i386 raw I/O API to x86 (diff)
downloadipxe-2d7c966e77f504dc9b53f6d18a2f01deb7b9cb4a.tar.gz
ipxe-2d7c966e77f504dc9b53f6d18a2f01deb7b9cb4a.tar.xz
ipxe-2d7c966e77f504dc9b53f6d18a2f01deb7b9cb4a.zip
[efi] Default to using raw x86 I/O
The EFI_CPU_IO_PROTOCOL is not available on all EFI platforms. In particular, it is not available under OVMF, as used for qemu. Since the EFI_CPU_IO_PROTOCOL is an abomination of unnecessary complexity, banish it and use raw I/O instead. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/defaults')
-rw-r--r--src/config/defaults/efi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h
index 16a44dd5..923360ae 100644
--- a/src/config/defaults/efi.h
+++ b/src/config/defaults/efi.h
@@ -8,7 +8,7 @@
*/
#define UACCESS_EFI
-#define IOAPI_EFI
+#define IOAPI_X86
#define PCIAPI_EFI
#define CONSOLE_EFI
#define TIMER_EFI