]>
Commit | Line | Data |
---|---|---|
dfaffc69 SM |
1 | /** @file\r |
2 | \r | |
3 | Copyright (c) 2018, ARM Limited. All rights reserved.\r | |
4 | \r | |
9cd9bdc6 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
dfaffc69 SM |
6 | \r |
7 | @par Glossary:\r | |
8 | - Cm or CM - Configuration Manager\r | |
9 | - Obj or OBJ - Object\r | |
10 | - Std or STD - Standard\r | |
11 | **/\r | |
12 | \r | |
13 | #ifndef IORT_GENERATOR_H_\r | |
14 | #define IORT_GENERATOR_H_\r | |
15 | \r | |
16 | #pragma pack(1)\r | |
17 | \r | |
18 | /** A structure that describes the Node indexer\r | |
19 | used for indexing the IORT nodes.\r | |
20 | */\r | |
21 | typedef struct IortNodeIndexer {\r | |
22 | /// Index token for the Node\r | |
23 | CM_OBJECT_TOKEN Token;\r | |
24 | /// Pointer to the node\r | |
25 | VOID * Object;\r | |
26 | /// Node offset from the start of the IORT table\r | |
27 | UINT32 Offset;\r | |
28 | } IORT_NODE_INDEXER;\r | |
29 | \r | |
30 | typedef struct AcpiIortGenerator {\r | |
31 | /// ACPI Table generator header\r | |
32 | ACPI_TABLE_GENERATOR Header;\r | |
33 | \r | |
34 | // IORT Generator private data\r | |
35 | \r | |
36 | /// IORT node count\r | |
37 | UINT32 IortNodeCount;\r | |
38 | /// Pointer to the node indexer array\r | |
39 | IORT_NODE_INDEXER * NodeIndexer;\r | |
40 | } ACPI_IORT_GENERATOR;\r | |
41 | \r | |
42 | #pragma pack()\r | |
43 | \r | |
44 | #endif // IORT_GENERATOR_H_\r |