diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2015-06-02 09:03:38 +0000 |
---|---|---|
committer | niruiyu <niruiyu@Edk2> | 2015-06-02 09:03:38 +0000 |
commit | f41c71d26a3ddeaf0f5e1442ab5f5eb87d951892 (patch) | |
tree | 894eb30093f3a8f437de4c0266349dcc66e206f4 /MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h | |
parent | 4e5220964b7108bbc9f731b326680e865aa63560 (diff) | |
download | edk2-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.h | 7 |
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.
**/
|