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>
This commit is contained in:
Aaron Pop 2024-09-06 16:39:32 -07:00 committed by mergify[bot]
parent 17e67d26d9
commit 35216819b5

View File

@ -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