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