From: Ard Biesheuvel <[email protected]> Using DEBUG () at runtime can crash the OS if we don't take care to inhibit serial output to MMIO mapped UARTs that we don't inform the OS about via the memory map.
So use a version of DebugLib that does exactly that for the RTC driver. Signed-off-by: Pete Batard <[email protected]> --- Platform/RaspberryPi/RPi3/RPi3.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3/RPi3.dsc index 98c75e373fa7..8ec82fc6d598 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -505,6 +505,7 @@ [Components.common] EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf { <LibraryClasses> + DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf RealTimeClockLib|EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf } EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#51274): https://edk2.groups.io/g/devel/message/51274 Mute This Topic: https://groups.io/mt/61957163/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
