From 1e603ac0d871e2662297d71cd7e2df9e103a3fcf Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Tue, 5 Mar 2024 12:38:41 +0100 Subject: IntelFsp2Pkg: auto-generate SEC ProcessLibraryConstructorList() decl Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a X64 -b DEBUG -m IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf \ -p IntelFsp2Pkg/IntelFsp2Pkg.dsc -t GCC5 build -a X64 -b DEBUG -m IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf \ -p IntelFsp2Pkg/IntelFsp2Pkg.dsc -t GCC5 Cc: Ashraf Ali S Cc: Chasel Chiu Cc: Duggapu Chinni B Cc: Nate DeSimone Cc: Star Zeng Cc: Susovan Mohapatra Cc: Ted Kuo Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990 Signed-off-by: Laszlo Ersek Message-Id: <20240305113843.68812-9-lersek@redhat.com> Reviewed-by: Star Zeng Acked-by: Gerd Hoffmann --- IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf | 2 +- IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf | 2 +- IntelFsp2Pkg/FspSecCore/SecMain.h | 12 ------------ 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf b/IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf index cb011f99f9..7d60e2283e 100644 --- a/IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf +++ b/IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf @@ -8,7 +8,7 @@ ## [Defines] - INF_VERSION = 0x00010005 + INF_VERSION = 1.30 BASE_NAME = Fsp24SecCoreM FILE_GUID = C5BC0719-4A23-4F6E-94DA-05FB6A0DFA9C MODULE_TYPE = SEC diff --git a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf index 8029832235..d496f3957d 100644 --- a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf +++ b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf @@ -8,7 +8,7 @@ ## [Defines] - INF_VERSION = 0x00010005 + INF_VERSION = 1.30 BASE_NAME = FspSecCoreM FILE_GUID = C2F9AE46-3437-4FEF-9CB1-9A568B282FEE MODULE_TYPE = SEC diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.h b/IntelFsp2Pkg/FspSecCore/SecMain.h index 023deb7e2b..eb1458d197 100644 --- a/IntelFsp2Pkg/FspSecCore/SecMain.h +++ b/IntelFsp2Pkg/FspSecCore/SecMain.h @@ -110,18 +110,6 @@ SecStartup ( IN UINT32 ApiIdx ); -/** - Autogenerated 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 - ); - /** Return value of esp. -- cgit