summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2024-03-05 12:38:39 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-03-08 09:09:22 +0000
commitf71a76ee013326c7abd8933b4e2aa952f8dc11ac (patch)
treed7952b6edc9aa555c51408d013092d9299c1881e
parent91460083f18c54062509b4afbbcdd043f96ec294 (diff)
downloadedk2-f71a76ee013326c7abd8933b4e2aa952f8dc11ac.tar.gz
edk2-f71a76ee013326c7abd8933b4e2aa952f8dc11ac.tar.bz2
edk2-f71a76ee013326c7abd8933b4e2aa952f8dc11ac.zip
ArmVirtPkg: auto-generate SEC ProcessLibraryConstructorList() decl
Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a AARCH64 -b DEBUG \ -m ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf \ -p ArmVirtPkg/ArmVirtKvmTool.dsc -t GCC5 Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20240305113843.68812-7-lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
-rwxr-xr-xArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf2
-rwxr-xr-xArmVirtPkg/PrePi/PrePi.c6
2 files changed, 1 insertions, 7 deletions
diff --git a/ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf b/ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf
index 6b9244bd1a..578ee37e74 100755
--- a/ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf
+++ b/ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf
@@ -8,7 +8,7 @@
#**/
[Defines]
- INF_VERSION = 0x00010005
+ INF_VERSION = 1.30
BASE_NAME = ArmVirtPrePiUniCoreRelocatable
FILE_GUID = f7d9fd14-9335-4389-80c5-334d6abfcced
MODULE_TYPE = SEC
diff --git a/ArmVirtPkg/PrePi/PrePi.c b/ArmVirtPkg/PrePi/PrePi.c
index ff51a757a2..f27e0ad3d2 100755
--- a/ArmVirtPkg/PrePi/PrePi.c
+++ b/ArmVirtPkg/PrePi/PrePi.c
@@ -23,12 +23,6 @@
#include "PrePi.h"
VOID
-EFIAPI
-ProcessLibraryConstructorList (
- VOID
- );
-
-VOID
PrePiMain (
IN UINTN UefiMemoryBase,
IN UINTN StacksBase,