2 Header file for Sec Core Debug Agent Library instance.
4 Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef _SEC_CORE_DEBUG_AGENT_LIB_H_
10 #define _SEC_CORE_DEBUG_AGENT_LIB_H_
13 #include <Ppi/MemoryDiscovered.h>
14 #include <Library/PeiServicesLib.h>
15 #include <Library/MemoryAllocationLib.h>
16 #include "DebugAgent.h"
21 DEBUG_AGENT_CONTINUE Function
;
22 } DEBUG_AGENT_PHASE2_CONTEXT
;
25 Caller provided function to be invoked at the end of DebugPortInitialize().
27 Refer to the description for DebugPortInitialize() for more details.
29 @param[in] Context The first input argument of DebugPortInitialize().
30 @param[in] DebugPortHandle Debug port handle created by Debug Communication Library.
35 InitializeDebugAgentPhase2 (
37 IN DEBUG_PORT_HANDLE DebugPortHandle
41 Debug Agent provided notify callback function on Memory Discovered PPI.
43 @param[in] PeiServices Indirect reference to the PEI Services Table.
44 @param[in] NotifyDescriptor Address of the notification descriptor data structure.
45 @param[in] Ppi Address of the PPI that was installed.
47 @retval EFI_SUCCESS If the function completed successfully.
52 DebugAgentCallbackMemoryDiscoveredPpi (
53 IN EFI_PEI_SERVICES
**PeiServices
,
54 IN EFI_PEI_NOTIFY_DESCRIPTOR
*NotifyDescriptor
,