From 2573712e0132deac7591f9ed5e2423c5e61e5af6 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Thu, 25 Feb 2010 10:10:59 +0000 Subject: 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 --- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MdeModulePkg/Library/UefiHiiLib') diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c index 3d7a4e5f5f..891f44e1e8 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 { -- cgit v1.2.3