freebsd-dev/sys/boot/efi
Dexuan Cui 047ff56626 loader.efi: only reduce the size of the staging area on Hyper-V
Doing this on physical hosts turns out to be problematic, e.g. see comment
24 and 28 in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211746.

To fix the real underlying issue correctly & thoroughly, IMO we need
a relocatable kernel, but that would require a lot of complicated long
term work:  https://reviews.freebsd.org/D9686?id=25414#inline-56969

For now, let's only apply efi_verify_staging_size() to VMs running on
Hyper-V, and restore the old behavior on physical machines since that
has been working for people for a long period of time, though that's
potentially unsafe...

MFC after:	2 weeks
Sponsored by:	Microsoft
2017-03-09 12:09:07 +00:00
..
boot1 Use proper prototypes in struct boot_module_t 2017-01-11 20:00:24 +00:00
fdt
include Share UCS2/UTF8 routines between boot loader and userland. 2017-03-09 00:24:01 +00:00
libefi Share UCS2/UTF8 routines between boot loader and userland. 2017-03-09 00:24:01 +00:00
loader loader.efi: only reduce the size of the staging area on Hyper-V 2017-03-09 12:09:07 +00:00
Makefile Fix typo in the COMPILER_VERSION check 2016-10-22 20:00:39 +00:00
Makefile.inc [efi] Build EFI bits with -fPIC on ARM 2017-01-10 20:15:24 +00:00