public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH v1 0/1] Revert "ProcessLibraryConstructorList()
@ 2024-03-18  9:48 brucex.wang
  2024-03-18  9:48 ` [edk2-devel] [PATCH v1 1/1] UefiPayloadPkg: Revert "ProcessLibraryConstructorList()" brucex.wang
  0 siblings, 1 reply; 2+ messages in thread
From: brucex.wang @ 2024-03-18  9:48 UTC (permalink / raw)
  To: devel; +Cc: brucex.wang

From: Bruce Wang <brucex.wang@intel.com>

This reverts commit 1c0db2315109233e77e6b5a52704d14550dcba3c

That commit caused debug messages to be missing in FitUniversalPayload.c.

Bruce Wang (1):
  UefiPayloadPkg: Revert "ProcessLibraryConstructorList()"

 .../UefiPayloadEntry/FitUniversalPayloadEntry.inf      |  2 +-
 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h     | 10 ++++++++++
 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf   |  2 +-
 .../UefiPayloadEntry/UniversalPayloadEntry.inf         |  2 +-
 4 files changed, 13 insertions(+), 3 deletions(-)

-- 
2.39.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116866): https://edk2.groups.io/g/devel/message/116866
Mute This Topic: https://groups.io/mt/105014784/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [edk2-devel] [PATCH v1 1/1] UefiPayloadPkg: Revert "ProcessLibraryConstructorList()"
  2024-03-18  9:48 [edk2-devel] [PATCH v1 0/1] Revert "ProcessLibraryConstructorList() brucex.wang
@ 2024-03-18  9:48 ` brucex.wang
  0 siblings, 0 replies; 2+ messages in thread
From: brucex.wang @ 2024-03-18  9:48 UTC (permalink / raw)
  To: devel; +Cc: brucex.wang, Gua Guo, Guo Dong, James Lu, Sean Rhodes

From: Bruce Wang <brucex.wang@intel.com>

This reverts commit 1c0db2315109233e77e6b5a52704d14550dcba3c

That commit cause a build error "ProcessLibraryConstructorList undefined"
in FitUniversalPayloadEntry.c

Cc: Gua Guo <gua.guo@intel.com>
Cc: Guo Dong <guo.dong@intel.com>
Cc: James Lu <james.lu@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>

Signed-off-by: BruceX Wang <brucex.wang@intel.com>
---
 .../UefiPayloadEntry/FitUniversalPayloadEntry.inf      |  2 +-
 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h     | 10 ++++++++++
 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf   |  2 +-
 .../UefiPayloadEntry/UniversalPayloadEntry.inf         |  2 +-
 4 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf b/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf
index b87a0989ee..01fb3aceb3 100644
--- a/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf
+++ b/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf
@@ -8,7 +8,7 @@
 ##
 
 [Defines]
-  INF_VERSION                    = 1.30
+  INF_VERSION                    = 0x00010005
   BASE_NAME                      = FitUniversalPayloadEntry
   FILE_GUID                      = CED5A8A9-B6EA-4D5A-8689-577EE88566CF
   MODULE_TYPE                    = SEC
diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h
index 80ccc5072c..ad8a9fd22b 100644
--- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h
+++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h
@@ -51,6 +51,16 @@
 #define E820_PMEM       7
 #define E820_UNDEFINED  8
 
+/**
+  Auto-generated function that calls the library constructors for all of the module's
+  dependent libraries.
+**/
+VOID
+EFIAPI
+ProcessLibraryConstructorList (
+  VOID
+  );
+
 /**
   Add a new HOB to the HOB List.
 
diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
index a3ff4b86ea..e2af8a4b7c 100644
--- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
+++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
@@ -9,7 +9,7 @@
 ##
 
 [Defines]
-  INF_VERSION                    = 1.30
+  INF_VERSION                    = 0x00010005
   BASE_NAME                      = PayloadEntry
   FILE_GUID                      = 2119BBD7-9432-4f47-B5E2-5C4EA31B6BDC
   MODULE_TYPE                    = SEC
diff --git a/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf b/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf
index a62da5c705..5112cdc1e5 100644
--- a/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf
+++ b/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf
@@ -8,7 +8,7 @@
 ##
 
 [Defines]
-  INF_VERSION                    = 1.30
+  INF_VERSION                    = 0x00010005
   BASE_NAME                      = UniversalPayloadEntry
   FILE_GUID                      = D4F0F269-1209-4A66-8039-C4D5A700EA4E
   MODULE_TYPE                    = SEC
-- 
2.39.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116867): https://edk2.groups.io/g/devel/message/116867
Mute This Topic: https://groups.io/mt/105014786/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-18 23:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-18  9:48 [edk2-devel] [PATCH v1 0/1] Revert "ProcessLibraryConstructorList() brucex.wang
2024-03-18  9:48 ` [edk2-devel] [PATCH v1 1/1] UefiPayloadPkg: Revert "ProcessLibraryConstructorList()" brucex.wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox