]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Default to using raw x86 I/O
authorMichael Brown <mcb30@ipxe.org>
Tue, 17 Jul 2012 20:28:24 +0000 (21:28 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 17 Jul 2012 20:30:18 +0000 (21:30 +0100)
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>
src/config/defaults/efi.h

index 16a44dd55a137809aff70d2436370ada3de3e9f5..923360ae8088ff94c5d0f7c23812095b8ea7a579 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #define UACCESS_EFI
-#define IOAPI_EFI
+#define IOAPI_X86
 #define PCIAPI_EFI
 #define CONSOLE_EFI
 #define TIMER_EFI