summaryrefslogtreecommitdiffstats
path: root/documentation/GNU-efi
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/GNU-efi')
-rw-r--r--documentation/GNU-efi9
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);