Skip to content

Commit

Permalink
SourceLevelDebugPkg DxeDebugAgent: Handle additional initialize cases.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
apop5 committed Sep 19, 2024
1 parent c2f632b commit ca337d4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
**/
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ca337d4

Please sign in to comment.