2 Header file for Sec Core Debug Agent Library instance.
4 Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _SEC_CORE_DEBUG_AGENT_LIB_H_
16 #define _SEC_CORE_DEBUG_AGENT_LIB_H_
19 #include <Ppi/MemoryDiscovered.h>
20 #include <Library/PeiServicesLib.h>
21 #include <Library/MemoryAllocationLib.h>
22 #include "DebugAgent.h"
27 DEBUG_AGENT_CONTINUE Function
;
28 } DEBUG_AGENT_PHASE2_CONTEXT
;
31 Caller provided function to be invoked at the end of DebugPortInitialize().
33 Refer to the description for DebugPortInitialize() for more details.
35 @param[in] Context The first input argument of DebugPortInitialize().
36 @param[in] DebugPortHandle Debug port handle created by Debug Communication Library.
41 InitializeDebugAgentPhase2 (
43 IN DEBUG_PORT_HANDLE DebugPortHandle
47 Debug Agent provided notify callback function on Memory Discovered PPI.
49 @param[in] PeiServices Indirect reference to the PEI Services Table.
50 @param[in] NotifyDescriptor Address of the notification descriptor data structure.
51 @param[in] Ppi Address of the PPI that was installed.
53 @retval EFI_SUCCESS If the function completed successfully.
58 DebugAgentCallbackMemoryDiscoveredPpi (
59 IN EFI_PEI_SERVICES
**PeiServices
,
60 IN EFI_PEI_NOTIFY_DESCRIPTOR
*NotifyDescriptor
,