freebsd-dev/sys/dev/efidev
Kyle Evans 3395e43a04 efirt: Don't enter EFI context early, convert addrs to KVA instead
efi_enter here was needed because efi_runtime dereference causes a fault
outside of EFI context, due to runtime table living in runtime service
space. This may cause problems early in boot, though, so instead access it
by converting paddr to KVA for access.

While here, remove the other direct PHYS_TO_DMAP calls and the explicit DMAP
requirement from efidev.

Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D16591
2018-08-04 21:41:10 +00:00
..
efidev.c Re-work efidev ordering to fix efirt preloaded by loader on amd64 2018-03-22 18:24:00 +00:00
efirt.c efirt: Don't enter EFI context early, convert addrs to KVA instead 2018-08-04 21:41:10 +00:00
efirtc.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00