]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Include/Guid/MemoryStatusCodeRecord.h
1. Refresh applicable library instances after one illegal library instance is removed.
[mirror_edk2.git] / EdkModulePkg / Include / Guid / MemoryStatusCodeRecord.h
CommitLineData
56836fe9 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 MemoryStatusCodeRecord.h\r
15 \r
16Abstract:\r
17\r
18 GUID used to identify status code records HOB that originate from the PEI status code \r
19\r
20--*/\r
21\r
22#ifndef _MEMORY_STATUS_CODE_RECORD_H__\r
23#define _MEMORY_STATUS_CODE_RECORD_H__\r
24\r
25#define MEMORY_STATUS_CODE_RECORD_GUID \\r
26 { \\r
27 0x60cc026, 0x4c0d, 0x4dda, {0x8f, 0x41, 0x59, 0x5f, 0xef, 0x0, 0xa5, 0x2} \\r
28 }\r
29\r
30/**\r
31 Memory status code records packet structure :\r
32 +---------------+----------+----------+-----+----------+-----+----------+\r
33 | Packet Header | Record 1 | Record 2 | ... + Record n | ... | Record m |\r
34 +---------------+----------+----------+-----+----------+-----+----------+\r
35 ^ ^ ^\r
36 +--------- RecordIndex -----------+ |\r
37 +---------------- MaxRecordsNumber----------------------+\r
38**/\r
39typedef struct {\r
40 UINT16 PacketIndex; // Index of the Packet.\r
41 UINT16 RecordIndex; // Index of record in the packet.\r
42 UINT32 MaxRecordsNumber; // Max number of records in the packet.\r
43} MEMORY_STATUSCODE_PACKET_HEADER;\r
44\r
45typedef struct {\r
46 EFI_STATUS_CODE_TYPE CodeType;\r
47 EFI_STATUS_CODE_VALUE Value;\r
48 UINT32 Instance;\r
49} MEMORY_STATUSCODE_RECORD;\r
50\r
51\r
52extern EFI_GUID gMemoryStatusCodeRecordGuid;\r
53\r
54#endif\r