Re: [edk2-devel] [edk2-platforms PATCH v2 1/4] BeagleBoardPkg: auto-generate SEC ProcessLibraryConstructorList() decl
On Tue, 5 Mar 2024 at 13:01, Laszlo Ersek wrote: > > Rely on AutoGen for declaring ProcessLibraryConstructorList(). > > Build-tested with: > > build -a ARM -b DEBUG \ > -m Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf \ > -p Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc -t GCC5 > > Cc: Ard Biesheuvel > Cc: Leif Lindholm > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990 > Signed-off-by: Laszlo Ersek Reviewed-by: Ard Biesheuvel > --- > Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf | 2 +- > Platform/BeagleBoard/BeagleBoardPkg/PrePi/PrePi.h| 6 -- > 2 files changed, 1 insertion(+), 7 deletions(-) > > diff --git a/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf > b/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf > index 414091957cb2..03d8f4daab48 100644 > --- a/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf > +++ b/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf > @@ -9,7 +9,7 @@ > #**/ > > [Defines] > - INF_VERSION= 0x0001001A > + INF_VERSION= 1.30 >BASE_NAME = BeagleBoardPrePiUniCore >FILE_GUID = 8a5dc3de-fe31-4ad9-9c93-dd73626932e7 >MODULE_TYPE= SEC > diff --git a/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PrePi.h > b/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PrePi.h > index b64dd764a435..a2932f0f5116 100644 > --- a/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PrePi.h > +++ b/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PrePi.h > @@ -81,10 +81,4 @@ ArchInitialize ( >VOID >); > > -VOID > -EFIAPI > -ProcessLibraryConstructorList ( > - VOID > - ); > - > #endif /* _PREPI_H_ */ > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116387): https://edk2.groups.io/g/devel/message/116387 Mute This Topic: https://groups.io/mt/104742757/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[edk2-devel] [edk2-platforms PATCH v2 1/4] BeagleBoardPkg: auto-generate SEC ProcessLibraryConstructorList() decl
Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a ARM -b DEBUG \ -m Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf \ -p Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc -t GCC5 Cc: Ard Biesheuvel Cc: Leif Lindholm Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990 Signed-off-by: Laszlo Ersek --- Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf | 2 +- Platform/BeagleBoard/BeagleBoardPkg/PrePi/PrePi.h| 6 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf b/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf index 414091957cb2..03d8f4daab48 100644 --- a/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf +++ b/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf @@ -9,7 +9,7 @@ #**/ [Defines] - INF_VERSION= 0x0001001A + INF_VERSION= 1.30 BASE_NAME = BeagleBoardPrePiUniCore FILE_GUID = 8a5dc3de-fe31-4ad9-9c93-dd73626932e7 MODULE_TYPE= SEC diff --git a/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PrePi.h b/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PrePi.h index b64dd764a435..a2932f0f5116 100644 --- a/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PrePi.h +++ b/Platform/BeagleBoard/BeagleBoardPkg/PrePi/PrePi.h @@ -81,10 +81,4 @@ ArchInitialize ( VOID ); -VOID -EFIAPI -ProcessLibraryConstructorList ( - VOID - ); - #endif /* _PREPI_H_ */ -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116379): https://edk2.groups.io/g/devel/message/116379 Mute This Topic: https://groups.io/mt/104742757/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-