]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r342054-r342055, r342742: loader diagnostics
authorKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 02:27:16 +0000 (02:27 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 02:27:16 +0000 (02:27 +0000)
commit232eff3e5256aa5ee46e2299c110952c4279782d
tree5b07275c1c1cb625e585b150847bcad77b9791ad
parentfdcb6bb4419ac9f4da2c87b0629291640e64f622
MFC r342054-r342055, r342742: loader diagnostics

r342054:
Print an error message in efi_main.c if we can't allocate memory for the
heap

With the default Qemu parameters, only 128MB RAM gets given to a VM. This
causes
the loader to be unable to allocate the 64MB it needs for the heap. This
change
makes the cause of the error more obvious.

r342055:
Cast error message in efi_main.c to CHAR16* to avoid build error

r342742:
loader.efi: efi variable rework and lsefi command added

This update does add diag and debug capabilities to interpret the efi
variables, configuration and protocols (lsefi).

The side effect is that we add/update bunch of related headers.
20 files changed:
stand/efi/include/Guid/MemoryTypeInformation.h [new file with mode: 0644]
stand/efi/include/Guid/MtcVendor.h [new file with mode: 0644]
stand/efi/include/Guid/ZeroGuid.h [new file with mode: 0644]
stand/efi/include/Protocol/EdidActive.h [new file with mode: 0644]
stand/efi/include/Protocol/EdidDiscovered.h [new file with mode: 0644]
stand/efi/include/Protocol/EdidOverride.h [new file with mode: 0644]
stand/efi/include/efi.h
stand/efi/include/efiapi.h
stand/efi/include/eficon.h
stand/efi/include/efidef.h
stand/efi/include/efigpt.h [new file with mode: 0644]
stand/efi/include/efiip.h [new file with mode: 0644]
stand/efi/include/efilib.h
stand/efi/include/efipciio.h
stand/efi/include/efipoint.h [new file with mode: 0644]
stand/efi/include/efitcp.h [new file with mode: 0644]
stand/efi/include/efiudp.h [new file with mode: 0644]
stand/efi/libefi/env.c
stand/efi/loader/efi_main.c
stand/efi/loader/main.c