freebsd-skq/stand/efi
Andrew Turner 0e281c4f0d Fix the efi serial console in the Arm models.
On some UEFI implementations the ConsOut EFI variable is not a device
path end type so we never move to the next node. Fix this by always
incrementing the device path node pointer, with a sanity check that
the node length is large enough so no two nodes overlap.

While here return failure on malloc failure rather than a NULL pointer
dereference.

Reviewed by:	tsoome, imp (previous version)
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D25202
2020-06-10 09:31:37 +00:00
..
boot1 Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
fdt stand: refactor overlay loading a little bit 2019-04-11 13:26:28 +00:00
gptboot gptboot.efi: align secbuf to 4K 2020-06-03 16:38:16 +00:00
include loader.efi: efipart needs better support detecting nested partitions 2019-11-30 09:11:28 +00:00
libefi loader.efi: restore the init and fix the color setup 2020-03-28 22:37:50 +00:00
loader Fix the efi serial console in the Arm models. 2020-06-10 09:31:37 +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 Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
Makefile.inc