]> git.proxmox.com Git - mirror_edk2.git/blame - DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.h
DynamicTablesPkg: Rename enum used for ID Mapping
[mirror_edk2.git] / DynamicTablesPkg / Library / Acpi / Arm / AcpiIortLibArm / IortGenerator.h
CommitLineData
dfaffc69
SM
1/** @file\r
2\r
3 Copyright (c) 2018, ARM Limited. All rights reserved.\r
4\r
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13 @par Glossary:\r
14 - Cm or CM - Configuration Manager\r
15 - Obj or OBJ - Object\r
16 - Std or STD - Standard\r
17**/\r
18\r
19#ifndef IORT_GENERATOR_H_\r
20#define IORT_GENERATOR_H_\r
21\r
22#pragma pack(1)\r
23\r
24/** A structure that describes the Node indexer\r
25 used for indexing the IORT nodes.\r
26*/\r
27typedef struct IortNodeIndexer {\r
28 /// Index token for the Node\r
29 CM_OBJECT_TOKEN Token;\r
30 /// Pointer to the node\r
31 VOID * Object;\r
32 /// Node offset from the start of the IORT table\r
33 UINT32 Offset;\r
34} IORT_NODE_INDEXER;\r
35\r
36typedef struct AcpiIortGenerator {\r
37 /// ACPI Table generator header\r
38 ACPI_TABLE_GENERATOR Header;\r
39\r
40 // IORT Generator private data\r
41\r
42 /// IORT node count\r
43 UINT32 IortNodeCount;\r
44 /// Pointer to the node indexer array\r
45 IORT_NODE_INDEXER * NodeIndexer;\r
46} ACPI_IORT_GENERATOR;\r
47\r
48#pragma pack()\r
49\r
50#endif // IORT_GENERATOR_H_\r