VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.c@ 77599

Last change on this file since 77599 was 58466, checked in by vboxsync, 9 years ago

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1/** @file
2 Initialize Debug Agent in PEI by invoking Debug Agent Library.
3
4Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
5This program and the accompanying materials
6are licensed and made available under the terms and conditions of the BSD License
7which accompanies this distribution. The full text of the license may be found at
8http://opensource.org/licenses/bsd-license.php
9
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15#include <PiPei.h>
16
17#include <Library/DebugAgentLib.h>
18
19/**
20 The Entry Point for Debug Agent PEI driver.
21
22 It will invoke Debug Agent Library to enable source debugging feature in PEI phase.
23
24 This function is the Entry point of the CPU I/O PEIM which installs CpuIoPpi.
25
26 @param[in] FileHandle Pointer to image file handle.
27 @param[in] PeiServices Pointer to PEI Services Table
28
29 @retval EFI_SUCCESS Debug Agent successfully initialized.
30 @retval other Some error occurs when initialzed Debug Agent.
31
32**/
33EFI_STATUS
34EFIAPI
35DebugAgentPeiInitialize (
36 IN EFI_PEI_FILE_HANDLE FileHandle,
37 IN CONST EFI_PEI_SERVICES **PeiServices
38 )
39{
40 EFI_STATUS Status;
41
42 Status = EFI_UNSUPPORTED;
43 InitializeDebugAgent (DEBUG_AGENT_INIT_PEI, &Status, NULL);
44
45 return Status;
46}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette