doc: efi: Add the EFI-loader API documentation

Bring in the documentation from the efi_loader.h header file, so we can
see the API defined there.

Fix efi_alloc() to avoid a warning.

Signed-off-by: Simon Glass <sjg@chromium.org>
Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
Simon Glass
2024-12-11 06:54:01 -07:00
parent ca2203ca86
commit 1afecc2db1
2 changed files with 7 additions and 1 deletions

View File

@@ -54,6 +54,12 @@ drivers, handles, loaded images, and the memory map).
.. kernel-doc:: cmd/efidebug.c
:internal:
Overall API
-----------
.. kernel-doc:: include/efi_loader.h
:internal:
Initialization of the UEFI sub-system
-------------------------------------