From 2a5726b9bf863b71a2b674ef4a36e4401f5a2dea Mon Sep 17 00:00:00 2001 From: qwang12 Date: Sat, 2 Feb 2008 13:44:43 +0000 Subject: 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@4664 6f19259b-4bc3-4df7-8a09-765794883524 --- Nt32Pkg/CpuRuntimeDxe/Cpu.c | 2 +- Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c | 2 +- Nt32Pkg/Nt32Pkg.dsc | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'Nt32Pkg') diff --git a/Nt32Pkg/CpuRuntimeDxe/Cpu.c b/Nt32Pkg/CpuRuntimeDxe/Cpu.c index 48e12ec..e538fc9 100644 --- a/Nt32Pkg/CpuRuntimeDxe/Cpu.c +++ b/Nt32Pkg/CpuRuntimeDxe/Cpu.c @@ -445,7 +445,7 @@ Returns: // // Initialize strings to HII database // - HiiLibAddPackagesToHiiDatabase (1, &gEfiProcessorProducerGuid, NULL, &HiiHandle, CpuStrings); + HiiLibAddPackages (1, &gEfiProcessorProducerGuid, NULL, &HiiHandle, CpuStrings); CopyMem (RecordBuffer.Raw, &mCpuDataRecordHeader, HeaderSize); diff --git a/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c b/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c index a08b6ef..dc8c9c3 100644 --- a/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c +++ b/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriverEntryPoint.c @@ -180,7 +180,7 @@ Returns: // // Add our default strings to the HII database. They will be modified later. // - HiiLibAddPackagesToHiiDatabase (1, &gEfiMiscSubClassGuid, NULL, &HiiHandle, MiscSubclassStrings); + HiiLibAddPackages (1, &gEfiMiscSubClassGuid, NULL, &HiiHandle, MiscSubclassStrings); if (EFI_ERROR (Status)) { DEBUG ((EFI_D_ERROR, "Could not log default strings to Hii. %r\n", Status)); diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index 884113b..98e0520 100644 --- a/Nt32Pkg/Nt32Pkg.dsc +++ b/Nt32Pkg/Nt32Pkg.dsc @@ -65,9 +65,12 @@ IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf HiiLib|MdePkg/Library/HiiLib/HiiLib.inf + ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf S3Lib|MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf RecoveryLib|MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf - IfrSupportLib|MdeModulePkg/Library/IfrSupportLib/IfrSupportLib.inf + IfrSupportLib|MdePkg/Library/IfrSupportLib/IfrSupportLib.inf + ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf + IfrSupportLib|MdePkg/Library/IfrSupportLib/IfrSupportLib.inf GenericBdsLib|MdeModulePkg/Library/GenericBdsLib/GenericBdsLib.inf PlatformBdsLib|Nt32Pkg/Library/Nt32BdsLib/Nt32BdsLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf -- cgit v1.1