diff options
author | Regia König | 2022-08-16 16:37:50 +0200 |
---|---|---|
committer | Regia König | 2022-08-16 16:37:50 +0200 |
commit | d46d26a260f5882b2559949aa43e8fb47bd16a7e (patch) | |
tree | 56612e90904f17c257510d4b760a7aaf1bd9bca5 /documentation | |
parent | More documentation on GNU-efi (diff) | |
download | memtest86-d46d26a260f5882b2559949aa43e8fb47bd16a7e.tar.gz memtest86-d46d26a260f5882b2559949aa43e8fb47bd16a7e.tar.xz memtest86-d46d26a260f5882b2559949aa43e8fb47bd16a7e.zip |
New script to analyze efi executable
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/GNU-efi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/documentation/GNU-efi b/documentation/GNU-efi index bb22b9e..63097fe 100644 --- a/documentation/GNU-efi +++ b/documentation/GNU-efi @@ -166,8 +166,17 @@ from the EFI Shell. Or you can rename it to EFI\BOOT\BOOTX64.EFI and it should be executed automatically on boot. +LIBEFI.A +Has wrappers for the most common UEFI functions, but you might need to call +something not covered. For completeness, it provides: +uefi_call_wrapper(func, numarg, ...); + +For example, the "Print" function used in our main.c and which accepts printf +compatible arguments, is under the hood nothing else than a call to: + +uefi_call_wrapper(ST->ConOut->OutputString, 2, ST->ConOut, buffer); |