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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user