freebsd-dev/stand/efi
Kyle Evans 63ee68c220 EFIRT: SetVirtualAddressMap with 1:1 mapping after exiting boot services
This fixes a problem encountered on the Lenovo Thinkpad X220/Yoga 11e where
runtime services would try to inexplicably jump to other parts of memory
where it shouldn't be when attempting to enumerate EFI vars, causing a
panic.

The virtual mapping is enabled by default and can be disabled by setting
efi_disable_vmap in loader.conf(5).

Reviewed by:	kib (earlier version)
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D14677
2018-03-13 17:10:52 +00:00
..
boot1 Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
fdt Remove now-unused variable after r328809 2018-02-04 17:31:50 +00:00
include Move the env convenience routines out of boot1.c. 2018-03-12 21:40:14 +00:00
libefi Move the env convenience routines out of boot1.c. 2018-03-12 21:40:14 +00:00
loader EFIRT: SetVirtualAddressMap with 1:1 mapping after exiting boot services 2018-03-13 17:10:52 +00:00
Makefile stand: Fix build after r330249 2018-03-01 21:46:01 +00:00
Makefile.inc