For OvmfPkg, reviewed-by: Jiewen Yao <[email protected]> > -----Original Message----- > From: Laszlo Ersek <[email protected]> > Sent: Tuesday, March 5, 2024 7:39 PM > To: edk2-devel-groups-io <[email protected]> > Cc: Warkentin, Andrei <[email protected]>; Andrew Fish > <[email protected]>; Ard Biesheuvel <[email protected]>; S, Ashraf Ali > <[email protected]>; Feng, Bob C <[email protected]>; West, Catharine > <[email protected]>; Chiu, Chasel <[email protected]>; Duggapu, > Chinni B <[email protected]>; Aktas, Erdem > <[email protected]>; Gerd Hoffmann <[email protected]>; Guo, Gua > <[email protected]>; Dong, Guo <[email protected]>; Lu, James > <[email protected]>; Yao, Jiewen <[email protected]>; Joey Vagedes > <[email protected]>; Leif Lindholm <[email protected]>; Liming > Gao <[email protected]>; Kinney, Michael D > <[email protected]>; Michael Roth <[email protected]>; Xu, Min > M <[email protected]>; Desimone, Nathaniel L > <[email protected]>; Kumar, Rahul R <[email protected]>; > Ni, Ray <[email protected]>; Rebecca Cran <[email protected]>; Sami Mujawar > <[email protected]>; Sean Brogan <[email protected]>; > Rhodes, Sean <[email protected]>; Zeng, Star <[email protected]>; Sunil > V L <[email protected]>; Mohapatra, Susovan > <[email protected]>; Kuo, Ted <[email protected]>; Tom Lendacky > <[email protected]>; Chen, Christine <[email protected]> > Subject: [PATCH v2 00/10] clean up ProcessLibraryConstructorList() > declarations > in SEC modules > > Bugzillas: > - https://bugzilla.tianocore.org/show_bug.cgi?id=990 > - https://bugzilla.tianocore.org/show_bug.cgi?id=991 > - https://bugzilla.tianocore.org/show_bug.cgi?id=4643 > > CI: > - https://github.com/tianocore/edk2/pull/5442 > > Branch: > - https://github.com/lersek/edk2/tree/ProcessLibraryConstructorList-SEC-990- > 991-v2 > > This patch series puts the recent BaseTools feature to use in which > AutoGen generates the ProcessLibraryConstructorList() declaration in > "AutoGen.h" for such non-library SEC modules whose INF_VERSION is at > least 1.30. The BaseTools feature is present in both edk2 [1] and > edk2-basetools [2], and has been documented in the Build spec [3] and > the Inf spec [4]. Kudos to Rebecca for tagging a new edk2-basetools > release [5] [6] with the new feature. > > [1] edk2 commit bac9c74080cf > [2] edk2-basetools commit 5b7161de22ee > [3] edk2-BuildSpecification commit range db69f5661cae..7a7165a7d199 > [4] edk2-InfSpecification commit range a31e3c842bee..1ea6546578fe > [5] https://github.com/tianocore/edk2-basetools/releases/tag/v0.1.51 > [6] https://pypi.org/project/edk2-basetools/0.1.51/ > > The edk2-basetools part is adopted in the first patch (for > "pip-requirements.txt"). > > The rest of the patches clean up -- superfluous, or even incorrect -- > ProcessLibraryConstructorList() declarations (and, in some cases, > incorrect calls), together with raising the INF_VERSIONs in the related > SEC module INF files to 1.30. > > Comparing this version to v1 is not useful, as the compatibility > approach is different, and so this version is structured differently. > Please review any patches for your subsystem from scratch (they are not > difficult or large). > > Cc: Andrei Warkentin <[email protected]> > Cc: Andrew Fish <[email protected]> > Cc: Ard Biesheuvel <[email protected]> > Cc: Ashraf Ali S <[email protected]> > Cc: Bob Feng <[email protected]> > Cc: Catharine West <[email protected]> > Cc: Chasel Chiu <[email protected]> > Cc: Duggapu Chinni B <[email protected]> > Cc: Erdem Aktas <[email protected]> > Cc: Gerd Hoffmann <[email protected]> > Cc: Gua Guo <[email protected]> > Cc: Guo Dong <[email protected]> > Cc: James Lu <[email protected]> > Cc: Jiewen Yao <[email protected]> > Cc: Joey Vagedes <[email protected]> > Cc: Leif Lindholm <[email protected]> > Cc: Liming Gao <[email protected]> > Cc: Michael D Kinney <[email protected]> > Cc: Michael Roth <[email protected]> > Cc: Min Xu <[email protected]> > Cc: Nate DeSimone <[email protected]> > Cc: Rahul Kumar <[email protected]> > Cc: Ray Ni <[email protected]> > Cc: Rebecca Cran <[email protected]> > Cc: Sami Mujawar <[email protected]> > Cc: Sean Brogan <[email protected]> > Cc: Sean Rhodes <[email protected]> > Cc: Star Zeng <[email protected]> > Cc: Sunil V L <[email protected]> > Cc: Susovan Mohapatra <[email protected]> > Cc: Ted Kuo <[email protected]> > Cc: Tom Lendacky <[email protected]> > Cc: Yuwei Chen <[email protected]> > > Thanks, > Laszlo > > Laszlo Ersek (10): > pip-requirements.txt: require edk2-basetools version 0.1.51 > OvmfPkg: auto-generate (and fix) SEC ProcessLibraryConstructorList() > decl > OvmfPkg/IntelTdx: auto-gen & fix SEC ProcessLibraryConstructorList() > decl > OvmfPkg/RiscVVirt/Sec: clean up ProcessLibraryConstructorList() decl > ArmPlatformPkg: auto-generate SEC ProcessLibraryConstructorList() decl > ArmVirtPkg: auto-generate SEC ProcessLibraryConstructorList() decl > EmulatorPkg: auto-generate SEC ProcessLibraryConstructorList() decl > IntelFsp2Pkg: auto-generate SEC ProcessLibraryConstructorList() decl > UefiCpuPkg: auto-generate SEC ProcessLibraryConstructorList() decl > UefiPayloadPkg: auto-generate SEC ProcessLibraryConstructorList() decl > > ArmPlatformPkg/PrePeiCore/PrePeiCore.h | 10 ---------- > ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf | 2 +- > ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf | 2 +- > ArmPlatformPkg/PrePi/PeiMPCore.inf | 2 +- > ArmPlatformPkg/PrePi/PeiUniCore.inf | 2 +- > ArmPlatformPkg/PrePi/PrePi.h | 6 ------ > ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf | 2 +- > ArmVirtPkg/PrePi/PrePi.c | 6 ------ > EmulatorPkg/Sec/Sec.h | 9 --------- > EmulatorPkg/Sec/Sec.inf | 2 +- > IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf | 2 +- > IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf | 2 +- > IntelFsp2Pkg/FspSecCore/SecMain.h | 12 > ------------ > OvmfPkg/IntelTdx/Sec/SecMain.c | 3 +-- > OvmfPkg/IntelTdx/Sec/SecMain.inf | 2 +- > OvmfPkg/RiscVVirt/Sec/Memory.c | 1 - > OvmfPkg/RiscVVirt/Sec/SecMain.h | 12 > ------------ > OvmfPkg/RiscVVirt/Sec/SecMain.inf | 2 +- > OvmfPkg/Sec/SecMain.c | 3 +-- > OvmfPkg/Sec/SecMain.inf | 2 +- > UefiCpuPkg/SecCore/SecCore.inf | 2 +- > UefiCpuPkg/SecCore/SecCoreNative.inf | 2 +- > UefiCpuPkg/SecCore/SecMain.h | 12 > ------------ > UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf | 2 +- > UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h | 10 ---------- > UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf | 2 +- > UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf | 2 +- > pip-requirements.txt | 4 ++-- > 28 files changed, 20 insertions(+), 100 deletions(-) > > > base-commit: 918288ab5a7c3abe9c58d576ccc0ae32e2c7dea0
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116385): https://edk2.groups.io/g/devel/message/116385 Mute This Topic: https://groups.io/mt/104742520/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
