Skip to the content.

为什么内核中存在这么多 efi 相关的东西

drivers/firmware/efi/

drivers/firmware/efi/earlycon.c drivers/firmware/efi/efi-bgrt.c

drivers/firmware/efi/ovmf-debug-log.c : 最近刚刚添加的

drivers/firmware/efi/sysfb_efi.c

也就是说,还有其他的东西?

然后看看这里的东西: gpu/efifb.md

例如这个选项:

config EFI
	bool "EFI runtime service support"
	depends on ACPI
	select UCS2_STRING
	select EFI_RUNTIME_WRAPPERS
	select ARCH_USE_MEMREMAP_PROT
	select EFI_RUNTIME_MAP if KEXEC_CORE
	help
	  This enables the kernel to use EFI runtime services that are
	  available (such as the EFI variable services).

	  This option is only useful on systems that have EFI firmware.
	  In addition, you should use the latest ELILO loader available
	  at <http://elilo.sourceforge.net> in order to take advantage
	  of EFI runtime services. However, even with this option, the
	  resultant kernel should continue to boot on existing non-EFI
	  platforms.

本站所有文章转发 CSDN 将按侵权追究法律责任,其它情况随意。