5879b875 |
1 | /** @file\r |
2 | This file declares DXE Initial Program Load PPI.\r |
3 | When the PEI core is done it calls the DXE IPL via this PPI.\r |
4 | \r |
5 | Copyright (c) 2006, Intel Corporation \r |
6 | All rights reserved. This program and the accompanying materials \r |
7 | are licensed and made available under the terms and conditions of the BSD License \r |
8 | which accompanies this distribution. The full text of the license may be found at \r |
9 | http://opensource.org/licenses/bsd-license.php \r |
10 | \r |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r |
13 | \r |
5879b875 |
14 | @par Revision Reference:\r |
15 | This PPI is defined in PI.\r |
16 | Version 1.0.\r |
17 | \r |
18 | **/\r |
19 | \r |
20 | #ifndef __DXE_IPL_H__\r |
21 | #define __DXE_IPL_H__\r |
22 | \r |
23 | #define EFI_DXE_IPL_PPI_GUID \\r |
24 | { \\r |
25 | 0xae8ce5d, 0xe448, 0x4437, {0xa8, 0xd7, 0xeb, 0xf5, 0xf1, 0x94, 0xf7, 0x31 } \\r |
26 | }\r |
27 | \r |
28 | typedef struct _EFI_DXE_IPL_PPI EFI_DXE_IPL_PPI;\r |
29 | \r |
30 | /**\r |
31 | The architectural PPI that the PEI Foundation invokes when \r |
32 | there are no additional PEIMs to invoke.\r |
33 | \r |
34 | @param This Pointer to the DXE IPL PPI instance\r |
35 | @param PeiServices Pointer to the PEI Services Table.\r |
36 | @param HobList Pointer to the list of Hand-Off Block (HOB) entries.\r |
37 | \r |
38 | @retval EFI_SUCCESS Upon this return code, the PEI Foundation should enter\r |
39 | some exception handling.Under normal circumstances, the DXE IPL PPI should not return.\r |
40 | \r |
41 | **/\r |
42 | typedef\r |
43 | EFI_STATUS\r |
44 | (EFIAPI *EFI_DXE_IPL_ENTRY) (\r |
45 | IN EFI_DXE_IPL_PPI *This,\r |
46 | IN EFI_PEI_SERVICES **PeiServices,\r |
47 | IN EFI_PEI_HOB_POINTERS HobList\r |
48 | );\r |
49 | \r |
50 | /**\r |
51 | @par Ppi Description:\r |
52 | Final service to be invoked by the PEI Foundation.\r |
53 | The DXE IPL PPI is responsible for locating and loading the DXE Foundation.\r |
54 | The DXE IPL PPI may use PEI services to locate and load the DXE Foundation.\r |
55 | \r |
56 | @param Entry\r |
57 | The entry point to the DXE IPL PPI.\r |
58 | \r |
59 | **/\r |
60 | struct _EFI_DXE_IPL_PPI {\r |
61 | EFI_DXE_IPL_ENTRY Entry;\r |
62 | };\r |
63 | \r |
64 | extern EFI_GUID gEfiDxeIplPpiGuid;\r |
65 | \r |
66 | #endif\r |