]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Allow DEBUG=efi_wrap to be used independently of a loaded image
authorMichael Brown <mcb30@ipxe.org>
Thu, 1 Oct 2020 14:44:05 +0000 (15:44 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 1 Oct 2020 14:44:05 +0000 (15:44 +0100)
commit7151fa3ffac09c316e2f7c2d3d384f1417325c0f
tree91ada3c1f3a01e451da68b59e83347a10f14772d
parent8344803c934c71c7eebb6b706d73a8c00d57b713
[efi] Allow DEBUG=efi_wrap to be used independently of a loaded image

Allow temporary debugging code to call efi_wrap_systab() to obtain a
pointer to the wrapper EFI system table.  This can then be used to
e.g. forcibly overwrite the boot services table pointer used by an
already loaded and running UEFI driver, in order to trace calls made
by that driver.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/efi/efi_wrap.h
src/interface/efi/efi_wrap.c