From e868a7dbfa930bd1be39ed7fb82b4046ceaf8003 Mon Sep 17 00:00:00 2001 From: jief666 Date: Tue, 22 Sep 2020 11:54:06 +0300 Subject: [PATCH] Fix RELEASE compilation. --- Protocols/DumpUefiCalls/DumpUefiCalls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Protocols/DumpUefiCalls/DumpUefiCalls.c b/Protocols/DumpUefiCalls/DumpUefiCalls.c index ef5a80406..f241457f5 100644 --- a/Protocols/DumpUefiCalls/DumpUefiCalls.c +++ b/Protocols/DumpUefiCalls/DumpUefiCalls.c @@ -138,7 +138,7 @@ DumpUefiCallsEntrypoint ( IN EFI_SYSTEM_TABLE *SystemTable ) { - +#ifdef DEBUG_ON_SERIAL_PORT { EFI_LOADED_IMAGE* LoadedImage; EFI_STATUS Status = gBS->HandleProtocol(ImageHandle, &gEfiLoadedImageProtocolGuid, (VOID **) &LoadedImage); @@ -155,6 +155,7 @@ DumpUefiCallsEntrypoint ( SerialPortWrite((UINT8*)buf, AsciiStrLen(buf)); } } +#endif // // Override StartImage