mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-02-17 01:11:36 +01:00
MemLogLib didn't compile.
update Clover.dsc and refit.inf
This commit is contained in:
parent
c7cc003809
commit
19ce4d6edf
@ -144,6 +144,13 @@
|
|||||||
# To save size, use NULL library for DebugLib and ReportStatusCodeLib.
|
# To save size, use NULL library for DebugLib and ReportStatusCodeLib.
|
||||||
# If need status code output, do library instance overriden as below DxeMain.inf does
|
# If need status code output, do library instance overriden as below DxeMain.inf does
|
||||||
#
|
#
|
||||||
|
|
||||||
|
!ifdef DEBUG_ON_SERIAL_PORT
|
||||||
|
BaseSerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
|
||||||
|
!else
|
||||||
|
BaseSerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
||||||
|
!endif
|
||||||
|
BaseDebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||||
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
||||||
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
||||||
|
@ -514,7 +514,8 @@ MemLogfVA (
|
|||||||
Marker);
|
Marker);
|
||||||
// mMemLog->Cursor += DataWritten;
|
// mMemLog->Cursor += DataWritten;
|
||||||
// vsnprintf doesn't return the number of char printed. TODO will do it soon in printf_lite
|
// vsnprintf doesn't return the number of char printed. TODO will do it soon in printf_lite
|
||||||
mMemLog->Cursor += AsciiStrLen(mMemLog->Cursor);
|
UINTN LastMessageLen = AsciiStrLen(mMemLog->Cursor);
|
||||||
|
mMemLog->Cursor += LastMessageLen;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Pass this last message to callback if defined
|
// Pass this last message to callback if defined
|
||||||
@ -533,7 +534,7 @@ MemLogfVA (
|
|||||||
// Write to standard debug device also
|
// Write to standard debug device also
|
||||||
//
|
//
|
||||||
// Jief : use SerialPortWrite instead of DebugPrint to avoid 256 chars message length limitation.
|
// Jief : use SerialPortWrite instead of DebugPrint to avoid 256 chars message length limitation.
|
||||||
SerialPortWrite((UINT8*)LastMessage, len);
|
SerialPortWrite((UINT8*)LastMessage, LastMessageLen);
|
||||||
// DebugPrint(DEBUG_INFO, "%a", LastMessage);
|
// DebugPrint(DEBUG_INFO, "%a", LastMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -345,6 +345,8 @@
|
|||||||
OpensslLib
|
OpensslLib
|
||||||
NetLib
|
NetLib
|
||||||
WaveLib
|
WaveLib
|
||||||
|
BaseDebugPrintErrorLevelLib
|
||||||
|
BaseSerialPortLib
|
||||||
|
|
||||||
[Guids]
|
[Guids]
|
||||||
gEfiAcpiTableGuid
|
gEfiAcpiTableGuid
|
||||||
|
Loading…
Reference in New Issue
Block a user