diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-27 05:55:16 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-27 05:55:16 +0000 |
commit | 27e87dab26709b7b03a6b7cb275a38e7ea915606 (patch) | |
tree | df3cee2f14bfeb222c39065ba7155ff2f200d1cc /EdkCompatibilityPkg | |
parent | 1d451ff9cf3427c5dc4ba1650d33b1b5aad76d7f (diff) | |
download | edk2-platforms-27e87dab26709b7b03a6b7cb275a38e7ea915606.tar.xz |
Update HiiGetBrowserData API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8177 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c index ef75fc3d82..2dd202bb39 100644 --- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c +++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c @@ -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) {
|