From 063a831c668cecd51f78c9fed2b6896f334c7d66 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Tue, 5 Mar 2024 12:38:40 +0100 Subject: [PATCH] EmulatorPkg: auto-generate SEC ProcessLibraryConstructorList() decl Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a X64 -b DEBUG -m EmulatorPkg/Sec/Sec.inf \ -p EmulatorPkg/EmulatorPkg.dsc -t GCC5 Cc: Andrew Fish Cc: Ray Ni Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990 Signed-off-by: Laszlo Ersek Message-Id: <20240305113843.68812-8-lersek@redhat.com> Reviewed-by: Michael D Kinney Acked-by: Gerd Hoffmann --- EmulatorPkg/Sec/Sec.h | 9 --------- EmulatorPkg/Sec/Sec.inf | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/EmulatorPkg/Sec/Sec.h b/EmulatorPkg/Sec/Sec.h index 29272a29ff..94689eb41d 100644 --- a/EmulatorPkg/Sec/Sec.h +++ b/EmulatorPkg/Sec/Sec.h @@ -20,15 +20,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include -// -// I think this should be defined in a MdePkg include file? -// -VOID -EFIAPI -ProcessLibraryConstructorList ( - VOID - ); - EFI_STATUS EFIAPI SecTemporaryRamSupport ( diff --git a/EmulatorPkg/Sec/Sec.inf b/EmulatorPkg/Sec/Sec.inf index 2f9e3d4780..7476094f13 100644 --- a/EmulatorPkg/Sec/Sec.inf +++ b/EmulatorPkg/Sec/Sec.inf @@ -11,7 +11,7 @@ ## [Defines] - INF_VERSION = 0x00010005 + INF_VERSION = 1.30 BASE_NAME = EmuSec FILE_GUID = BCAF98C9-22B0-3B4F-9CBD-C8A6B4DBCEE9 MODULE_TYPE = SEC