summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Pop <aaronpop@microsoft.com>2024-09-06 16:39:32 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-12-16 20:49:45 +0000
commit35216819b5fb88778bc4049d42157ed7c3bd5010 (patch)
tree679ffd24d9b35358fc65771ada77ce3e96077648
parent17e67d26d9f8da373a70fa90146a77a8211c892b (diff)
downloadedk2-35216819b5fb88778bc4049d42157ed7c3bd5010.tar.gz
SourceLevelDebugPkg DxeDebugAgent: Handle additional initialize cases.
Handle both DEBUG_AGENT_INIT_REINITIALIZE and DEBUG_AGENT_INIT_DXE_CORE_LATE InitFlags to prevent an assert. No additional initlization takes place for these cases. Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
-rw-r--r--SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c b/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c
index a41bba2c4b..fcb1b631c1 100644
--- a/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c
+++ b/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c
@@ -2,6 +2,7 @@
Debug Agent library implementation for Dxe Core and Dxr modules.
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) Microsoft Corporation.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -537,6 +538,11 @@ InitializeDebugAgent (
break;
+ case DEBUG_AGENT_INIT_REINITIALIZE:
+ case DEBUG_AGENT_INIT_DXE_CORE_LATE:
+
+ break;
+
default:
//
// Only DEBUG_AGENT_INIT_PREMEM_SEC and DEBUG_AGENT_INIT_POSTMEM_SEC are allowed for this