]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Include/Ppi/StatusCodeMemory.h
1. adjust contents layout of SPD header editor, FPD header editor.
[mirror_edk2.git] / EdkModulePkg / Include / Ppi / StatusCodeMemory.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 StatusCodeMemory.h\r
15 \r
16Abstract:\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
35typedef 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
44typedef struct {\r
59b05fbb 45 UINT32 FirstEntry;\r
46 UINT32 LastEntry;\r
47 EFI_PHYSICAL_ADDRESS Address;\r
48 UINT32 Length;\r
878ddf1f 49} PEI_STATUS_CODE_MEMORY_PPI;\r
50\r
51extern EFI_GUID gPeiStatusCodeMemoryPpiGuid;\r
52\r
53#endif\r