REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3729

Platform desires to load ReportStatusCodeRouterRuntimeDxe and
StatusCodeHandlerRuntimeDxe early in DXE to make DEBUG() via serial
port work thereafter since DXE will use PeiDxeDebugLibReportStatusCode
as default DebugLib instance. However, with UefiPayload enabled by
default, UefiPayloadPkg will override platform's DXE A Priori file
and miss these two modules in its DXE A Priori file, so just add them
back.

Signed-off-by: Gao Cheng <gao.ch...@intel.com>
Cc: Guo Dong <guo.d...@intel.com>
Cc: Ray Ni <ray...@intel.com>
Cc: Maurice Ma <maurice...@intel.com>
Cc: Benjamin You <benjamin....@intel.com>
Cc: devel@edk2.groups.io
---
 UefiPayloadPkg/UefiPayloadPkg.fdf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf 
b/UefiPayloadPkg/UefiPayloadPkg.fdf
index 2f5cb17f62..dd2dc1bf56 100644
--- a/UefiPayloadPkg/UefiPayloadPkg.fdf
+++ b/UefiPayloadPkg/UefiPayloadPkg.fdf
@@ -87,6 +87,8 @@ APRIORI DXE {
   INF  MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
   INF  MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
   INF  UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
+  INF  
MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
+  INF  
MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
 }
 
 #
-- 
2.26.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#83640): https://edk2.groups.io/g/devel/message/83640
Mute This Topic: https://groups.io/mt/86979577/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to