diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-25 10:10:59 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-25 10:10:59 +0000 |
commit | 2573712e0132deac7591f9ed5e2423c5e61e5af6 (patch) | |
tree | 8b213960d0df7d73510f3cadd48218667350ef76 /MdeModulePkg/Library/UefiHiiLib | |
parent | 234980f6e935a51fdafecb9930b4a2ecbf47b727 (diff) | |
download | edk2-2573712e0132deac7591f9ed5e2423c5e61e5af6.zip edk2-2573712e0132deac7591f9ed5e2423c5e61e5af6.tar.gz edk2-2573712e0132deac7591f9ed5e2423c5e61e5af6.tar.bz2 |
Enhance SetupBrowser to support new UEFI HiiFormMap feature
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10069 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/UefiHiiLib')
-rw-r--r-- | MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c index 3d7a4e5..891f44e 100644 --- a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c +++ b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c @@ -1229,6 +1229,7 @@ InternalHiiValidateCurrentSetting ( }
break;
case EFI_IFR_FORM_OP:
+ case EFI_IFR_FORM_MAP_OP:
//
// Check the matched VarStoreId is found.
//
@@ -3333,7 +3334,7 @@ InternalHiiUpdateFormPackageData ( } else {
GetFormSet = FALSE;
}
- } else if (IfrOpHdr->OpCode == EFI_IFR_FORM_OP) {
+ } else if (IfrOpHdr->OpCode == EFI_IFR_FORM_OP || IfrOpHdr->OpCode == EFI_IFR_FORM_MAP_OP) {
if (CompareMem (&((EFI_IFR_FORM *) IfrOpHdr)->FormId, &FormId, sizeof (EFI_FORM_ID)) == 0) {
GetForm = TRUE;
} else {
|