Skip to content

Commit

Permalink
IntelFsp2Pkg: auto-generate SEC ProcessLibraryConstructorList() decl
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Chasel Chiu <[email protected]>
Cc: Duggapu Chinni B <[email protected]>
Cc: Nate DeSimone <[email protected]>
Cc: Star Zeng <[email protected]>
Cc: Susovan Mohapatra <[email protected]>
Cc: Ted Kuo <[email protected]>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990
Signed-off-by: Laszlo Ersek <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Star Zeng <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
  • Loading branch information
lersek authored and mergify[bot] committed Mar 8, 2024
1 parent 063a831 commit 1e603ac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 0 additions & 12 deletions IntelFsp2Pkg/FspSecCore/SecMain.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1e603ac

Please sign in to comment.