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 <catharine.west@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20240305113843.68812-10-lersek@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Laszlo Ersek 2024-03-05 12:38:42 +01:00 committed by mergify[bot]
parent 1e603ac0d8
commit 18fc96c9a9
3 changed files with 2 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -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.