Bläddra i källkod

[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>
tags/v1.20.1
Michael Brown 12 år sedan
förälder
incheckning
2d7c966e77
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/config/defaults/efi.h

+ 1
- 1
src/config/defaults/efi.h Visa fil

@@ -8,7 +8,7 @@
8 8
  */
9 9
 
10 10
 #define UACCESS_EFI
11
-#define IOAPI_EFI
11
+#define IOAPI_X86
12 12
 #define PCIAPI_EFI
13 13
 #define CONSOLE_EFI
14 14
 #define TIMER_EFI

Laddar…
Avbryt
Spara