Reviewed-by: Lean Sheng Tan
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88324): https://edk2.groups.io/g/devel/message/88324
Mute This Topic: https://groups.io/mt/89991252/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: htt
Thanks for the explanation.
Reviewed-by: Ray Ni
> -Original Message-
> From: Xie, Yuanhao
> Sent: Friday, April 1, 2022 5:56 PM
> To: Ni, Ray ; devel@edk2.groups.io
> Cc: Dong, Guo ; Ma, Maurice ; You,
> Benjamin ;
> Rhodes, Sean ; Liu, Zhiguang
> Subject: RE: [PATCH] UefiPayloadPkg: C
Hi Ray,
The reason why we use PeiDxeDebugLibReportStatusCode instead of
BaseDebugLibSerialPort is that
Base Debug library is based on Serial Port library, and it can only send debug
messages to serial port device, while SerialPort supports to print debug msg in
other places.
Thanks
Yuanhao
--
>
> [LibraryClasses.common.DXE_CORE]
> - DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
> +
> DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
If DxeCore uses the ReportStatusCode instance, some debug messages may
disa
1. Use PeiDxeDebugLibReportStatusCode library for DebugLib, and add
ReportStatusCodeLib.
2. Remove gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize
overrided in UefiPayloadPkg.dsc.
3. Change PcdHardwareErrorRecordLevel to 1
Cc: Guo Dong
Cc: Ray Ni
Cc: Maurice Ma
Cc: Benjamin You
Cc: