summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2015-06-02 09:03:38 +0000
committerniruiyu <niruiyu@Edk2>2015-06-02 09:03:38 +0000
commitf41c71d26a3ddeaf0f5e1442ab5f5eb87d951892 (patch)
tree894eb30093f3a8f437de4c0266349dcc66e206f4 /MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h
parent4e5220964b7108bbc9f731b326680e865aa63560 (diff)
downloadedk2-platforms-f41c71d26a3ddeaf0f5e1442ab5f5eb87d951892.tar.xz
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 <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17547 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h')
-rw-r--r--MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h7
1 files changed, 7 insertions, 0 deletions
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.
**/