mirror of https://github.com/acidanthera/audk.git
1) Cleanup HiiLib, IfrSupportLib.
2) Add ExtendedHiiLib and ExtendedIfrSupportLib which implement APIs that require the OPcode and Device Path which is specific to Intel's implementation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4663 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9226efe5eb
commit
568f78ab31
|
@ -128,7 +128,7 @@ PreparePackages (
|
|||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
HiiLibAddPackagesToHiiDatabase (
|
||||
HiiLibAddPackages (
|
||||
IN UINTN NumberOfPackages,
|
||||
IN CONST EFI_GUID *GuidId,
|
||||
IN EFI_HANDLE DriverHandle, OPTIONAL
|
||||
|
@ -186,7 +186,7 @@ HiiLibAddFontPackageToHiiDatabase (
|
|||
//
|
||||
// Register our Fonts into the global database
|
||||
//
|
||||
Status = HiiLibAddPackagesToHiiDatabase (1, NULL, HiiHandle, NULL, FontPack);
|
||||
Status = HiiLibAddPackages (1, NULL, HiiHandle, NULL, FontPack);
|
||||
//
|
||||
// Free the font database
|
||||
//
|
||||
|
@ -195,13 +195,16 @@ HiiLibAddFontPackageToHiiDatabase (
|
|||
return Status;
|
||||
}
|
||||
|
||||
EFI_STATUS
|
||||
VOID
|
||||
EFIAPI
|
||||
HiiLibRemovePackagesFromHiiDatabase (
|
||||
HiiLibRemovePackages (
|
||||
IN EFI_HII_HANDLE HiiHandle
|
||||
)
|
||||
{
|
||||
return mHii->RemovePack (mHii, (FRAMEWORK_EFI_HII_HANDLE) (UINTN) HiiHandle);
|
||||
EFI_STATUS Status;
|
||||
|
||||
Status = mHii->RemovePack (mHii, (FRAMEWORK_EFI_HII_HANDLE) (UINTN) HiiHandle);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
}
|
||||
|
||||
|
||||
|
@ -223,7 +226,7 @@ HiiLibRemovePackagesFromHiiDatabase (
|
|||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
HiiLibCreateString (
|
||||
HiiLibNewString (
|
||||
IN EFI_HII_HANDLE PackageList,
|
||||
OUT EFI_STRING_ID *StringId,
|
||||
IN CONST EFI_STRING String
|
||||
|
@ -273,7 +276,7 @@ HiiLibUpdateString (
|
|||
//
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
HiiLibGetStringFromGuidId (
|
||||
HiiLibGetStringFromToken (
|
||||
IN EFI_GUID *ProducerGuid,
|
||||
IN EFI_STRING_ID StringId,
|
||||
OUT EFI_STRING *String
|
||||
|
|
|
@ -40,7 +40,7 @@ HiiLibFrameworkConstructor (
|
|||
Status = gBS->LocateProtocol (
|
||||
&gEfiHiiProtocolGuid,
|
||||
NULL,
|
||||
&gHiiProtocol
|
||||
(VOID **) &gHiiProtocol
|
||||
);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
|
|
Loading…
Reference in New Issue