From f41c71d26a3ddeaf0f5e1442ab5f5eb87d951892 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Tue, 2 Jun 2015 09:03:38 +0000 Subject: MdeModulePkg: Provide EfiBootManagerRegisterBootDescriptionHandler This API can be used for platform to customize the boot description other than using core provided boot description. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Reviewed-by: Eric Dong git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17547 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h') diff --git a/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h b/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h index 8e8534dd4d..9baba8689b 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h +++ b/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h @@ -123,6 +123,13 @@ ForEachVariable ( VOID *Context ); +#define BM_BOOT_DESCRIPTION_ENTRY_SIGNATURE SIGNATURE_32 ('b', 'm', 'd', 'h') +typedef struct { + UINT32 Signature; + LIST_ENTRY Link; + EFI_BOOT_MANAGER_BOOT_DESCRIPTION_HANDLER Handler; +} BM_BOOT_DESCRIPTION_ENTRY; + /** Repair all the controllers according to the Driver Health status queried. **/ -- cgit v1.2.3