[PATCH 1/1] efi_loader: improve documentation of enum efi_test_phase
Heinrich Schuchardt
xypron.glpk at gmx.de
Sun Mar 28 10:44:12 CEST 2021
* Avoid a warning warning: "Incorrect use of kernel-doc format".
* Remove duplicate text.
* Clarify usage of EFI_SETTING_VIRTUAL_ADDRESS_MAP.
Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
include/efi_selftest.h | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/include/efi_selftest.h b/include/efi_selftest.h
index 07b619901c..94ceb14733 100644
--- a/include/efi_selftest.h
+++ b/include/efi_selftest.h
@@ -53,21 +53,25 @@
*/
enum efi_test_phase {
/**
- * @EFI_EXECUTE_BEFORE_BOOTTIME_EXIT: - execute before ExitBootServices
+ * @EFI_EXECUTE_BEFORE_BOOTTIME_EXIT:
*
* Setup, execute, and teardown are executed before ExitBootServices().
*/
EFI_EXECUTE_BEFORE_BOOTTIME_EXIT = 1,
/**
- * @EFI_SETUP_BEFORE_BOOTTIME_EXIT: - setup before ExitBootServices
+ * @EFI_SETUP_BEFORE_BOOTTIME_EXIT:
*
* Setup is executed before ExitBootServices() while execute, and
* teardown are executed after ExitBootServices().
*/
EFI_SETUP_BEFORE_BOOTTIME_EXIT,
/**
- * @EFI_SETTING_VIRTUAL_ADDRESS_MAP - calls SetVirtualAddressMap()
- * Execute calls SetVirtualAddressMap().
+ * @EFI_SETTING_VIRTUAL_ADDRESS_MAP:
+ *
+ * Execute calls SetVirtualAddressMap(). Setup is executed before
+ * ExitBootServices() while execute is executed after
+ * ExitBootServices(), and after the execute of tests marked as
+ * @EFI_SETUP_BEFORE_BOOTTIME_EXIT. Teardown is executed thereafter.
*/
EFI_SETTING_VIRTUAL_ADDRESS_MAP,
};
--
2.30.2
More information about the U-Boot
mailing list