From 99124fddc240a1b8a8fd01fe2f21f39a78de0926 Mon Sep 17 00:00:00 2001 From: Chris Fernald Date: Fri, 12 Apr 2024 19:33:21 +0000 Subject: [PATCH] Change local in debug agent to static to fix compile error --- DebuggerFeaturePkg/Library/DebugAgent/DebugAgentDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DebuggerFeaturePkg/Library/DebugAgent/DebugAgentDxe.c b/DebuggerFeaturePkg/Library/DebugAgent/DebugAgentDxe.c index bfd2652..e6ada97 100644 --- a/DebuggerFeaturePkg/Library/DebugAgent/DebugAgentDxe.c +++ b/DebuggerFeaturePkg/Library/DebugAgent/DebugAgentDxe.c @@ -31,7 +31,7 @@ extern EFI_TIMER_ARCH_PROTOCOL *gTimer; extern EFI_BOOT_SERVICES mBootServices; extern EFI_RUNTIME_SERVICES *gDxeCoreRT; -EFI_MEMORY_ATTRIBUTE_PROTOCOL *mMemoryAttributeProtocol = NULL; +STATIC EFI_MEMORY_ATTRIBUTE_PROTOCOL *mMemoryAttributeProtocol = NULL; CONST CHAR8 *gDebuggerInfo = "DXE UEFI Debugger";