mirror of https://github.com/acidanthera/audk.git
Update HiiGetBrowserData API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8177 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1d451ff9cf
commit
27e87dab26
|
@ -674,7 +674,6 @@ CreateIfrDataArray (
|
|||
FORMSET_STORAGE *BufferStorage;
|
||||
UINTN Size;
|
||||
EFI_STRING String;
|
||||
UINT8 *TempBuffer;
|
||||
|
||||
*NvMapAllocated = FALSE;
|
||||
|
||||
|
@ -730,11 +729,7 @@ CreateIfrDataArray (
|
|||
IfrDataArray->NvRamMap = ConfigAccess->ThunkContext->NvMapOverride;
|
||||
}
|
||||
|
||||
TempBuffer = (UINT8 *) HiiGetBrowserData (&BufferStorage->Guid, BufferStorage->Name, BrowserDataSize);
|
||||
ASSERT (TempBuffer == NULL);
|
||||
CopyMem (IfrDataArray->NvRamMap, TempBuffer, BrowserDataSize);
|
||||
FreePool (TempBuffer);
|
||||
|
||||
ASSERT (HiiGetBrowserData (&BufferStorage->Guid, BufferStorage->Name, BrowserDataSize, (UINT8 *) IfrDataArray->NvRamMap));
|
||||
IfrDataEntry = (FRAMEWORK_EFI_IFR_DATA_ENTRY *) (IfrDataArray + 1);
|
||||
|
||||
switch (Type) {
|
||||
|
|
Loading…
Reference in New Issue