]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DynamicTablesPkg/Library/Acpi/Arm/AcpiPpttLibArm/PpttGenerator.h
DynamicTablesPkg: Fix unaligned pointers usage
[mirror_edk2.git] / DynamicTablesPkg / Library / Acpi / Arm / AcpiPpttLibArm / PpttGenerator.h
index 6a0fdd08e1533c57285f420555586314c70a5ed5..0a14da502d595e27d87262b1bac681318f1d9ced 100644 (file)
@@ -167,6 +167,12 @@ typedef struct AcpiPpttGenerator {
   ACPI_TABLE_GENERATOR  Header;\r
   /// PPTT structure count\r
   UINT32                ProcTopologyStructCount;\r
+  /// Count of Processor Hierarchy Nodes\r
+  UINT32                ProcHierarchyNodeCount;\r
+  /// Count of Cache Structures\r
+  UINT32                CacheStructCount;\r
+  /// Count of Id Structures\r
+  UINT32                IdStructCount;\r
   /// List of indexed CM objects for PPTT generation\r
   PPTT_NODE_INDEXER   * NodeIndexer;\r
   /// Pointer to the start of Processor Hierarchy nodes in\r
@@ -176,13 +182,6 @@ typedef struct AcpiPpttGenerator {
   PPTT_NODE_INDEXER   * CacheStructIndexedList;\r
   /// Pointer to the start of Id Structures in the Node Indexer array\r
   PPTT_NODE_INDEXER   * IdStructIndexedList;\r
-  /// Count of Processor Hierarchy Nodes\r
-  UINT32                ProcHierarchyNodeCount;\r
-  /// Count of Cache Structures\r
-  UINT32                CacheStructCount;\r
-  /// Count of Id Structures\r
-  UINT32                IdStructCount;\r
-\r
 } ACPI_PPTT_GENERATOR;\r
 \r
 #pragma pack()\r