]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Ppi/DxeIpl.h
Formalize comments for Protocols and PPIs.
[mirror_edk2.git] / MdePkg / Include / Ppi / DxeIpl.h
1 /** @file
2 This file declares DXE Initial Program Load PPI.
3 When the PEI core is done it calls the DXE IPL PPI to load the DXE Foundation.
4
5 Copyright (c) 2006 - 2008, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 @par Revision Reference:
15 This PPI is defined in PI.
16 Version 1.0.
17
18 **/
19
20 #ifndef __DXE_IPL_H__
21 #define __DXE_IPL_H__
22
23 #define EFI_DXE_IPL_PPI_GUID \
24 { \
25 0xae8ce5d, 0xe448, 0x4437, {0xa8, 0xd7, 0xeb, 0xf5, 0xf1, 0x94, 0xf7, 0x31 } \
26 }
27
28 typedef struct _EFI_DXE_IPL_PPI EFI_DXE_IPL_PPI;
29
30 /**
31 The architectural PPI that the PEI Foundation invokes when
32 there are no additional PEIMs to invoke.
33
34 This function is invoked by the PEI Foundation.
35 The PEI Foundation will invoke this service when there are
36 no additional PEIMs to invoke in the system.
37 If this PPI does not exist, it is an error condition and
38 an ill-formed firmware set. The DXE IPL PPI should never
39 return after having been invoked by the PEI Foundation.
40 The DXE IPL PPI can do many things internally, including the following:
41 - Invoke the DXE entry point from a firmware volume
42 - Invoke the recovery processing modules
43 - Invoke the S3 resume modules
44
45 @param This Pointer to the DXE IPL PPI instance
46 @param PeiServices Pointer to the PEI Services Table.
47 @param HobList Pointer to the list of Hand-Off Block (HOB) entries.
48
49 @retval EFI_SUCCESS Upon this return code, the PEI Foundation should enter
50 some exception handling.Under normal circumstances,
51 the DXE IPL PPI should not return.
52
53 **/
54 typedef
55 EFI_STATUS
56 (EFIAPI *EFI_DXE_IPL_ENTRY)(
57 IN CONST EFI_DXE_IPL_PPI *This,
58 IN EFI_PEI_SERVICES **PeiServices,
59 IN EFI_PEI_HOB_POINTERS HobList
60 );
61
62 ///
63 /// Final service to be invoked by the PEI Foundation.
64 /// The DXE IPL PPI is responsible for locating and loading the DXE Foundation.
65 /// The DXE IPL PPI may use PEI services to locate and load the DXE Foundation.
66 ///
67 struct _EFI_DXE_IPL_PPI {
68 EFI_DXE_IPL_ENTRY Entry;
69 };
70
71 extern EFI_GUID gEfiDxeIplPpiGuid;
72
73 #endif