summaryrefslogtreecommitdiff
path: root/SecurityPkg/Tcg/Opal/OpalPassword/OpalHiiFormValues.h
diff options
context:
space:
mode:
authorCindyX Kuo <cindyx.kuo@intel.com>2024-04-16 13:02:37 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-04-16 09:20:58 +0000
commitb6cd5ddce9ade43e4215836f12b43ebbb90eecf2 (patch)
treea0f193ec8d366c8a3d484e5c7e54dc3bc93df6d1 /SecurityPkg/Tcg/Opal/OpalPassword/OpalHiiFormValues.h
parent32e2968a1ec05c2631b707ab2175aa25987e3896 (diff)
downloadedk2-b6cd5ddce9ade43e4215836f12b43ebbb90eecf2.zip
edk2-b6cd5ddce9ade43e4215836f12b43ebbb90eecf2.tar.gz
edk2-b6cd5ddce9ade43e4215836f12b43ebbb90eecf2.tar.bz2
SecurityPkg/OpalPasswordDxe: Force reparsing IFR binary when RETRIEVE
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4735 When change callback action from FORM_OPEN to RETRIEVE, it is observed that NVNE disks will not be displayed when the user enters the formset at the first time. Revisit the formset can see the update. 1. Add HiiUpdateForm() to force reparsing the IFR binary when RETRIEVE. 2. Create dummy label with suppressif statement in VFR for form update usage. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Cc: Ming Tan <ming.tan@intel.com> Cc: Arthur Chen <arthur.g.chen@intel.com> Cc: Xiao X Chen <xiao.x.chen@intel.com> Cc: Tina Chen <tina.chen@intel.com> Signed-off-by: CindyX Kuo <cindyx.kuo@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Tina Chen <tina.chen@intel.com> Acked-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg/Opal/OpalPassword/OpalHiiFormValues.h')
-rw-r--r--SecurityPkg/Tcg/Opal/OpalPassword/OpalHiiFormValues.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHiiFormValues.h b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHiiFormValues.h
index ab6957f..0e09885 100644
--- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHiiFormValues.h
+++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHiiFormValues.h
@@ -96,6 +96,12 @@ typedef struct {
#define HII_KEY(id) HII_KEY_WITH_INDEX(id, 0)
+/* Label */
+#define OPAL_MAIN_MENU_LABEL_START 0x6100
+#define OPAL_MAIN_MENU_LABEL_END 0x6101
+#define OPAL_DISK_INFO_LABEL_START 0x6200
+#define OPAL_DISK_INFO_LABEL_END 0x6201
+
#define PACKAGE_LIST_GUID { 0xf0308176, 0x9058, 0x4153, { 0x93, 0x3d, 0xda, 0x2f, 0xdc, 0xc8, 0x3e, 0x44 } }
/* {410483CF-F4F9-4ece-848A-1958FD31CEB7} */