Add support to map more Framework Opcode (such as OrderedList, OneOf, etc) to Uefi Opcode.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5152 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12
2008-04-30 03:20:10 +00:00
parent 9aa08808da
commit 5391c4f160
8 changed files with 1002 additions and 126 deletions

View File

@@ -331,7 +331,8 @@ UefiRegisterPackageList(
Status = GetIfrAndStringPackNum (Packages, &IfrPackNum, &StringPackNum);
ASSERT_EFI_ERROR (Status);
//
// Thunk Layer only handle the following combinations of IfrPack, StringPkg and FontPack
// Thunk Layer only handle the following combinations of IfrPack, StringPkg and FontPack.
// Thunk Layer only allow zero or one IfrPack in the Package List.
//
if (IfrPackNum > 1) {
return EFI_UNSUPPORTED;
@@ -365,7 +366,7 @@ UefiRegisterPackageList(
//
// UEFI HII require EFI_HII_CONFIG_ACCESS_PROTOCOL to be installed on a EFI_HANDLE, so
// that Setup Utility will load the Buffer Storage
// that Setup Utility can load the Buffer Storage using this protocol.
//
if (IfrPackNum != 0) {
InstallDefaultUefiConfigAccessProtocol (Packages, &UefiHiiDriverHandle, HandleMappingEntry);