Last change
on this file since 81010 was 80721, checked in by vboxsync, 5 years ago |
Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1010 bytes
|
Line | |
---|
1 | /** @file
|
---|
2 | Initialize Debug Agent in PEI by invoking Debug Agent Library.
|
---|
3 |
|
---|
4 | Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #include <PiPei.h>
|
---|
10 |
|
---|
11 | #include <Library/DebugAgentLib.h>
|
---|
12 |
|
---|
13 | /**
|
---|
14 | The Entry Point for Debug Agent PEI driver.
|
---|
15 |
|
---|
16 | It will invoke Debug Agent Library to enable source debugging feature in PEI phase.
|
---|
17 |
|
---|
18 | This function is the Entry point of the CPU I/O PEIM which installs CpuIoPpi.
|
---|
19 |
|
---|
20 | @param[in] FileHandle Pointer to image file handle.
|
---|
21 | @param[in] PeiServices Pointer to PEI Services Table
|
---|
22 |
|
---|
23 | @retval EFI_SUCCESS Debug Agent successfully initialized.
|
---|
24 | @retval other Some error occurs when initialzed Debug Agent.
|
---|
25 |
|
---|
26 | **/
|
---|
27 | EFI_STATUS
|
---|
28 | EFIAPI
|
---|
29 | DebugAgentPeiInitialize (
|
---|
30 | IN EFI_PEI_FILE_HANDLE FileHandle,
|
---|
31 | IN CONST EFI_PEI_SERVICES **PeiServices
|
---|
32 | )
|
---|
33 | {
|
---|
34 | EFI_STATUS Status;
|
---|
35 |
|
---|
36 | Status = EFI_UNSUPPORTED;
|
---|
37 | InitializeDebugAgent (DEBUG_AGENT_INIT_PEI, &Status, NULL);
|
---|
38 |
|
---|
39 | return Status;
|
---|
40 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.