]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/PrePeiCore: Invoke constructors for SEC phase
authorRohit Mathew <rohit.mathew@arm.com>
Fri, 22 Jul 2022 17:02:57 +0000 (18:02 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 5 Sep 2022 13:52:51 +0000 (13:52 +0000)
commit22c45b7c52ecfab8840be05323094a389ade3553
tree6e850e0797c1f4a12475700f234d02e80645ad32
parent52bf4eba454ea0f9d7502a92191eb0ab7778ba00
ArmPlatformPkg/PrePeiCore: Invoke constructors for SEC phase

On platforms that do not have the serial console port pre-initialized
prior to the SEC phase and due to the absence of a call to
"SerialPortInitialize", this results in missing debug logs. So, call
the auto-generated "ProcessLibraryConstructorList" function from SEC
phase to have all the dependent library constructors called
(this includes a call to "SerialPortInitialize").

Signed-off-by: Rohit Mathew <rohit.mathew@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ArmPlatformPkg/PrePeiCore/PrePeiCore.c
ArmPlatformPkg/PrePeiCore/PrePeiCore.h