Add in some features for the thunk layer:

1) Handle Framework HII callback
2) Install default Config Access protocol for each IFR form package registered.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5069 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12
2008-04-16 07:36:51 +00:00
parent cdb579481a
commit ebbd27939f
9 changed files with 684 additions and 22 deletions

View File

@@ -56,10 +56,12 @@ EFI_HII_THUNK_PRIVATE_DATA HiiThunkPrivateDataTempate = {
},
};
EFI_HII_DATABASE_PROTOCOL *mUefiHiiDatabaseProtocol;
EFI_HII_FONT_PROTOCOL *mUefiHiiFontProtocol;
EFI_HII_IMAGE_PROTOCOL *mUefiHiiImageProtocol;
EFI_HII_STRING_PROTOCOL *mUefiStringProtocol;
CONST EFI_HII_DATABASE_PROTOCOL *mUefiHiiDatabaseProtocol;
CONST EFI_HII_FONT_PROTOCOL *mUefiHiiFontProtocol;
CONST EFI_HII_IMAGE_PROTOCOL *mUefiHiiImageProtocol;
CONST EFI_HII_STRING_PROTOCOL *mUefiStringProtocol;
CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mUefiConfigRoutingProtocol;
EFI_STATUS
EFIAPI
@@ -119,6 +121,13 @@ Returns:
);
ASSERT_EFI_ERROR (Status);
Status = gBS->LocateProtocol (
&gEfiHiiConfigRoutingProtocolGuid,
NULL,
(VOID **) &mUefiConfigRoutingProtocol
);
ASSERT_EFI_ERROR (Status);
//
// Install protocol interface
//