freebsd-nq/stand/efi
Warner Losh df65fbc569 Ensure we have a full EFI_DEVICE_PATH header before we try to look at
its length. Some BIOSes pad the length of the device path to an even
amount. When we had a device path that was somehow an odd length, we'd
wind up having 1 byte left that we were bogusly interpreting as a full
device path. We'd then dereference 2 bytes into that to get a length
of the node, which had undefined (and quite undesired) effects.

Sponsored by: Netflix, Inc
MFC After: 3 days
2018-10-26 23:08:22 +00:00
..
boot1 Ensure we have a large enough stack for the lua loader 2018-08-27 11:14:49 +00:00
fdt Remove now-unused variable after r328809 2018-02-04 17:31:50 +00:00
include Implement efiblk_get_pdinfo_by_device_path 2018-07-23 20:36:54 +00:00
libefi Simplify the EFI delay() function by calling BS->Stall() 2018-10-26 21:57:22 +00:00
loader Ensure we have a full EFI_DEVICE_PATH header before we try to look at 2018-10-26 23:08:22 +00:00
loader_4th Create a loader for each interpreter for x86 BIOS and all EFI 2018-08-14 18:44:41 +00:00
loader_lua Create a loader for each interpreter for x86 BIOS and all EFI 2018-08-14 18:44:41 +00:00
loader_simp Create a loader for each interpreter for x86 BIOS and all EFI 2018-08-14 18:44:41 +00:00
Makefile Create a loader for each interpreter for x86 BIOS and all EFI 2018-08-14 18:44:41 +00:00
Makefile.inc Hoist EFI_TARGET and SOURCE_DATE_EPOCH up into efi/Makefile.inc 2018-07-20 05:18:03 +00:00