Roolback PlatformMngr to UEFI_APPLICATION, and remove its dependency section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6118 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2008-10-15 09:32:43 +00:00
parent 18d2d5ab9e
commit 912004c098
2 changed files with 20 additions and 5 deletions

View File

@ -175,6 +175,24 @@ PlatOverMngrInit (
ZeroMem (mControllerToken, MAX_CHOICE_NUM * sizeof (EFI_STRING_ID));
ZeroMem (mDriverImageProtocol, MAX_CHOICE_NUM * sizeof (EFI_LOADED_IMAGE_PROTOCOL *));
//
// Show the page
//
Status = FormBrowser2->SendForm (
FormBrowser2,
&CallbackInfo->RegisteredHandle,
1,
NULL,
0,
NULL,
NULL
);
Status = HiiDatabase->RemovePackageList (HiiDatabase, CallbackInfo->RegisteredHandle);
if (EFI_ERROR (Status)) {
return Status;
}
return EFI_SUCCESS;
}