mirror of https://github.com/acidanthera/audk.git
Support Name/Value Storage in UEFI2.1 HII driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9976 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
38ebfecb62
commit
548dda8f74
|
@ -622,6 +622,16 @@ ParseOpCodes (
|
|||
if (ThunkContext != NULL && ThunkContext->ByFrameworkHiiNewPack) {
|
||||
ASSERT (FALSE);
|
||||
}
|
||||
|
||||
//
|
||||
// Create a name/value Storage for this FormSet
|
||||
//
|
||||
Storage = CreateStorage (FormSet);
|
||||
Storage->Type = EFI_HII_VARSTORE_NAME_VALUE;
|
||||
|
||||
CopyMem (&Storage->VarStoreId, &((EFI_IFR_VARSTORE_NAME_VALUE *) OpCodeData)->VarStoreId, sizeof (EFI_VARSTORE_ID));
|
||||
CopyMem (&Storage->Guid, &((EFI_IFR_VARSTORE_NAME_VALUE *) OpCodeData)->Guid, sizeof (EFI_GUID));
|
||||
|
||||
break;
|
||||
|
||||
case EFI_IFR_VARSTORE_EFI_OP:
|
||||
|
|
Loading…
Reference in New Issue