mirror of https://github.com/acidanthera/audk.git
Add in a temp fix to make UEFI HII SCT can pass with platform built with FrameworkHiiToUefiHiiThunk module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5829 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f1b420aa4e
commit
f38360fbf0
|
@ -578,6 +578,11 @@ RemovePackNotify (
|
|||
|
||||
ThunkContext = UefiHiiHandleToThunkContext (Private, Handle);
|
||||
|
||||
//
|
||||
// BugBug: Change to ASSERT if HII Database fix the bug and to also invoke
|
||||
// NEW_PACK_NOTIFY for package (String Package) created internally.
|
||||
//
|
||||
if (ThunkContext != NULL) {
|
||||
if (!ThunkContext->ByFrameworkHiiNewPack) {
|
||||
Status = HiiLibExportPackageLists (Handle, &HiiPackageList, &BufferSize);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
@ -593,6 +598,8 @@ RemovePackNotify (
|
|||
|
||||
FreePool (HiiPackageList);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue