]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmVirtPkg/PrePi/PrePi.c
ArmVirtPkg/PrePi: run all library constructors by hand
[mirror_edk2.git] / ArmVirtPkg / PrePi / PrePi.c
index c69cff249e80e4f3cfae16aec65c623f7eebc023..3679087aec4d290301bcb14d426a9a7e86a75ee9 100755 (executable)
 #include "PrePi.h"\r
 #include "LzmaDecompress.h"\r
 \r
-EFI_STATUS\r
-EFIAPI\r
-ExtractGuidedSectionLibConstructor (\r
-  VOID\r
-  );\r
-\r
-EFI_STATUS\r
+VOID\r
 EFIAPI\r
-LzmaDecompressLibConstructor (\r
+ProcessLibraryConstructorList (\r
   VOID\r
   );\r
 \r
@@ -125,8 +119,7 @@ PrePiMain (
   PERF_START (NULL, "PEI", NULL, StartTimeStamp);\r
 \r
   // SEC phase needs to run library constructors by hand.\r
-  ExtractGuidedSectionLibConstructor ();\r
-  LzmaDecompressLibConstructor ();\r
+  ProcessLibraryConstructorList ();\r
 \r
   // Build HOBs to pass up our version of stuff the DXE Core needs to save space\r
   BuildPeCoffLoaderHob ();\r