mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	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:
		| @ -2,6 +2,7 @@ | |||||||
|   Debug Agent library implementation for Dxe Core and Dxr modules. |   Debug Agent library implementation for Dxe Core and Dxr modules. | ||||||
|  |  | ||||||
|   Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> |   Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> | ||||||
|  |   Copyright (c) Microsoft Corporation.<BR> | ||||||
|   SPDX-License-Identifier: BSD-2-Clause-Patent |   SPDX-License-Identifier: BSD-2-Clause-Patent | ||||||
|  |  | ||||||
| **/ | **/ | ||||||
| @ -537,6 +538,11 @@ InitializeDebugAgent ( | |||||||
|  |  | ||||||
|       break; |       break; | ||||||
|  |  | ||||||
|  |     case DEBUG_AGENT_INIT_REINITIALIZE: | ||||||
|  |     case DEBUG_AGENT_INIT_DXE_CORE_LATE: | ||||||
|  |  | ||||||
|  |       break; | ||||||
|  |  | ||||||
|     default: |     default: | ||||||
|       // |       // | ||||||
|       // Only DEBUG_AGENT_INIT_PREMEM_SEC and DEBUG_AGENT_INIT_POSTMEM_SEC are allowed for this |       // Only DEBUG_AGENT_INIT_PREMEM_SEC and DEBUG_AGENT_INIT_POSTMEM_SEC are allowed for this | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Aaron Pop
					Aaron Pop