瀏覽代碼

[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 年之前
父節點
當前提交
2d7c966e77
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/config/defaults/efi.h

+ 1
- 1
src/config/defaults/efi.h 查看文件

@@ -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

Loading…
取消
儲存