2 Initialize Debug Agent in PEI by invoking Debug Agent Library.
4 Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #include <Library/DebugAgentLib.h>
14 The Entry Point for Debug Agent PEI driver.
16 It will invoke Debug Agent Library to enable source debugging feature in PEI phase.
18 This function is the Entry point of the CPU I/O PEIM which installs CpuIoPpi.
20 @param[in] FileHandle Pointer to image file handle.
21 @param[in] PeiServices Pointer to PEI Services Table
23 @retval EFI_SUCCESS Debug Agent successfully initialized.
24 @retval other Some error occurs when initialized Debug Agent.
29 DebugAgentPeiInitialize (
30 IN EFI_PEI_FILE_HANDLE FileHandle
,
31 IN CONST EFI_PEI_SERVICES
**PeiServices
36 Status
= EFI_UNSUPPORTED
;
37 InitializeDebugAgent (DEBUG_AGENT_INIT_PEI
, &Status
, NULL
);