From 18fc96c9a928f5be411e17b156d5bf41fc2c1888 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Tue, 5 Mar 2024 12:38:42 +0100 Subject: [PATCH] UefiCpuPkg: auto-generate SEC ProcessLibraryConstructorList() decl Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a X64 -b DEBUG -m UefiCpuPkg/SecCore/SecCore.inf \ -p UefiCpuPkg/UefiCpuPkg.dsc -t GCC5 build -a X64 -b DEBUG -m UefiCpuPkg/SecCore/SecCoreNative.inf \ -p UefiCpuPkg/UefiCpuPkg.dsc -t GCC5 Cc: Catharine West Cc: Gerd Hoffmann Cc: Rahul Kumar Cc: Ray Ni Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990 Signed-off-by: Laszlo Ersek Message-Id: <20240305113843.68812-10-lersek@redhat.com> Acked-by: Gerd Hoffmann --- UefiCpuPkg/SecCore/SecCore.inf | 2 +- UefiCpuPkg/SecCore/SecCoreNative.inf | 2 +- UefiCpuPkg/SecCore/SecMain.h | 12 ------------ 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/UefiCpuPkg/SecCore/SecCore.inf b/UefiCpuPkg/SecCore/SecCore.inf index cab69b8b97..4f732cccb7 100644 --- a/UefiCpuPkg/SecCore/SecCore.inf +++ b/UefiCpuPkg/SecCore/SecCore.inf @@ -13,7 +13,7 @@ ## [Defines] - INF_VERSION = 0x00010005 + INF_VERSION = 1.30 BASE_NAME = SecCore MODULE_UNI_FILE = SecCore.uni FILE_GUID = 1BA0062E-C779-4582-8566-336AE8F78F09 diff --git a/UefiCpuPkg/SecCore/SecCoreNative.inf b/UefiCpuPkg/SecCore/SecCoreNative.inf index fa241cca94..454a3629e5 100644 --- a/UefiCpuPkg/SecCore/SecCoreNative.inf +++ b/UefiCpuPkg/SecCore/SecCoreNative.inf @@ -13,7 +13,7 @@ ## [Defines] - INF_VERSION = 0x00010005 + INF_VERSION = 1.30 BASE_NAME = SecCoreNative MODULE_UNI_FILE = SecCore.uni FILE_GUID = 43CA74CA-7D29-49A0-B3B9-20F84015B27D diff --git a/UefiCpuPkg/SecCore/SecMain.h b/UefiCpuPkg/SecCore/SecMain.h index b50d96e45b..81c561424e 100644 --- a/UefiCpuPkg/SecCore/SecMain.h +++ b/UefiCpuPkg/SecCore/SecMain.h @@ -101,18 +101,6 @@ FindAndReportEntryPoints ( OUT EFI_PEI_CORE_ENTRY_POINT *PeiCoreEntryPoint ); -/** - Auto-generated function that calls the library constructors for all of the module's - dependent libraries. This function must be called by the SEC Core once a stack has - been established. - -**/ -VOID -EFIAPI -ProcessLibraryConstructorList ( - VOID - ); - /** Implementation of the PlatformInformation service in EFI_SEC_PLATFORM_INFORMATION_PPI.