]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | StatusCode.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Status Code PPI as defined in Tiano\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _PEI_STATUS_CODE_PPI_H\r | |
23 | #define _PEI_STATUS_CODE_PPI_H\r | |
24 | \r | |
25 | #define PEI_STATUS_CODE_PPI_GUID \\r | |
26 | { \\r | |
27 | 0x229832d3, 0x7a30, 0x4b36, 0xb8, 0x27, 0xf4, 0xc, 0xb7, 0xd4, 0x54, 0x36 \\r | |
28 | }\r | |
29 | \r | |
30 | EFI_FORWARD_DECLARATION (PEI_STATUS_CODE_PPI);\r | |
31 | \r | |
32 | typedef\r | |
33 | EFI_STATUS\r | |
34 | (EFIAPI *PEI_REPORT_STATUS_CODE) (\r | |
35 | IN EFI_PEI_SERVICES **PeiServices,\r | |
36 | IN EFI_STATUS_CODE_TYPE CodeType,\r | |
37 | IN EFI_STATUS_CODE_VALUE Value,\r | |
38 | IN UINT32 Instance,\r | |
39 | IN EFI_GUID * CallerId,\r | |
40 | IN EFI_STATUS_CODE_DATA * Data OPTIONAL\r | |
41 | );\r | |
42 | \r | |
8cdb2112 | 43 | struct _PEI_STATUS_CODE_PPI {\r |
3eb9473e | 44 | PEI_REPORT_STATUS_CODE ReportStatusCode;\r |
8cdb2112 | 45 | };\r |
3eb9473e | 46 | \r |
47 | extern EFI_GUID gPeiStatusCodePpiGuid;\r | |
48 | \r | |
49 | #endif\r |