878ddf1f |
1 | /*++\r |
2 | \r |
3 | Copyright (c) 2006, 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 | StatusCodeMemory.h\r |
15 | \r |
16 | Abstract:\r |
17 | \r |
18 | Status Code memory descriptor PPI. Contains information about memory that \r |
19 | the Status Code PEIM may use to journal Status Codes.\r |
20 | \r |
21 | --*/\r |
22 | \r |
23 | #ifndef _PEI_STATUS_CODE_MEMORY_PPI_H_\r |
24 | #define _PEI_STATUS_CODE_MEMORY_PPI_H_\r |
25 | \r |
26 | //\r |
27 | // GUID definition\r |
28 | //\r |
29 | #define PEI_STATUS_CODE_MEMORY_PPI_GUID \\r |
30 | { 0x26f8ab01, 0xd3cd, 0x489c, {0x98, 0x4f, 0xdf, 0xde, 0xf7, 0x68, 0x39, 0x5b } }\r |
31 | \r |
32 | //\r |
33 | // Data types\r |
34 | //\r |
35 | typedef struct {\r |
36 | EFI_STATUS_CODE_TYPE Type;\r |
37 | EFI_STATUS_CODE_VALUE Value;\r |
38 | UINT32 Instance;\r |
39 | } EFI_STATUS_CODE_ENTRY;\r |
40 | \r |
41 | //\r |
42 | // PPI definition\r |
43 | //\r |
44 | typedef struct {\r |
45 | UINTN FirstEntry;\r |
46 | UINTN LastEntry;\r |
47 | EFI_PHYSICAL_ADDRESS Address;\r |
48 | UINTN Length;\r |
49 | } PEI_STATUS_CODE_MEMORY_PPI;\r |
50 | \r |
51 | extern EFI_GUID gPeiStatusCodeMemoryPpiGuid;\r |
52 | \r |
53 | #endif\r |