Skip to content

Commit

Permalink
UefiCpuPkg: 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 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 <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Ray Ni <[email protected]>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990
Signed-off-by: Laszlo Ersek <[email protected]>
Message-Id: <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
  • Loading branch information
lersek authored and mergify[bot] committed Mar 8, 2024
1 parent 1e603ac commit 18fc96c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion UefiCpuPkg/SecCore/SecCore.inf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion UefiCpuPkg/SecCore/SecCoreNative.inf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 0 additions & 12 deletions UefiCpuPkg/SecCore/SecMain.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 18fc96c

Please sign in to comment.