freebsd-dev/stand
Andrew Turner 0d6600b579 Set mm before passing it to the UEFI firmware
When reading the UEFI memory map we pass in a pointer to the memory to
hold the map. Unfortunately it wasn't initialised before the first use
so clang decided it was undefined behaviour so the entire loop was
removed. This leads to everything in bi_load after this to also be
removed as dead code.

The next function after bi_load in the binary is efi_copy_init. The
above caused us to enter efi_copy_init with a return address of the
start of the function. Because of this it would enter an infinite
loop of calling the function, allocating memory, then returning to
the start of the function.

PR:		264021
2022-05-21 11:45:41 +01:00
..
arm64
common stand: Remove a double word in a source code comment 2022-04-09 09:27:34 +02:00
defaults Add support for getting early entropy from UEFI 2022-02-17 13:01:11 -08:00
efi Set mm before passing it to the UEFI firmware 2022-05-21 11:45:41 +01:00
fdt
ficl
ficl32
fonts
forth loader.4th(8): Fix a typo in the manual page 2022-04-02 15:11:59 +02:00
i386 stand: s/libstand/libsa/g to catch up with rename 2022-04-30 07:34:19 -06:00
images
kboot stand: Initial kboot support on amd64 2022-05-01 11:13:39 -06:00
kshim stand/usb: Fix build by declaring missing functions and types. 2022-03-17 15:26:24 +01:00
liblua
liblua32
libofw
libsa libsa: mark head_errlog feature supported. 2022-05-21 09:13:06 +03:00
libsa32
lua Add support for getting early entropy from UEFI 2022-02-17 13:01:11 -08:00
man loader.efi: add cross-reference to loader(8) 2022-05-18 10:33:20 -04:00
powerpc stand: s/libstand/libsa/g to catch up with rename 2022-04-30 07:34:19 -06:00
uboot stand: s/libstand/libsa/g to catch up with rename 2022-04-30 07:34:19 -06:00
usb mips: remove saf1761 2022-01-04 16:01:14 -07:00
userboot stand: s/libstand/libsa/g to catch up with rename 2022-04-30 07:34:19 -06:00
defs.mk
fdt.mk
ficl.mk
loader.mk
lua.mk
Makefile kboot: Split out powerpc build 2021-12-30 16:07:13 -07:00
Makefile.amd64
Makefile.inc
veriexec.mk