#pragma pack(1)\r
\r
// Mask for the flags that need to be checked.\r
-#define PPTT_PROCESSOR_MASK ( \\r
+#define PPTT_PROCESSOR_MASK ( \\r
(EFI_ACPI_6_3_PPTT_PACKAGE_PHYSICAL) | \\r
(EFI_ACPI_6_3_PPTT_PROCESSOR_ID_VALID << 1) | \\r
(EFI_ACPI_6_3_PPTT_NODE_IS_LEAF << 3))\r
\r
// Mask for the cpu flags.\r
-#define PPTT_CPU_PROCESSOR_MASK ( \\r
+#define PPTT_CPU_PROCESSOR_MASK ( \\r
(EFI_ACPI_6_3_PPTT_PACKAGE_NOT_PHYSICAL) | \\r
(EFI_ACPI_6_3_PPTT_PROCESSOR_ID_VALID << 1) | \\r
(EFI_ACPI_6_3_PPTT_NODE_IS_LEAF << 3))\r
// Even though a _UID is generated for clusters, it is simpler to use\r
// EFI_ACPI_6_3_PPTT_PROCESSOR_ID_INVALID and to not match the cluster id of\r
// the PPTT table (not sure the PPTT table is generated).\r
-#define PPTT_CLUSTER_PROCESSOR_MASK ( \\r
+#define PPTT_CLUSTER_PROCESSOR_MASK ( \\r
(EFI_ACPI_6_3_PPTT_PACKAGE_NOT_PHYSICAL) | \\r
(EFI_ACPI_6_3_PPTT_PROCESSOR_ID_INVALID << 1) | \\r
(EFI_ACPI_6_3_PPTT_NODE_IS_NOT_LEAF << 3))\r
/** LPI states are stored in the ASL namespace at '\_SB_.Lxxx',\r
with xxx being the node index of the LPI state.\r
*/\r
-#define SB_SCOPE "\\_SB_"\r
-#define SB_SCOPE_PREFIX SB_SCOPE "."\r
+#define SB_SCOPE "\\_SB_"\r
+#define SB_SCOPE_PREFIX SB_SCOPE "."\r
/// Size of the SB_SCOPE_PREFIX string.\r
-#define SB_SCOPE_PREFIX_SIZE sizeof (SB_SCOPE_PREFIX)\r
+#define SB_SCOPE_PREFIX_SIZE sizeof (SB_SCOPE_PREFIX)\r
\r
/// HID for a processor device.\r
-#define ACPI_HID_PROCESSOR_DEVICE "ACPI0007"\r
+#define ACPI_HID_PROCESSOR_DEVICE "ACPI0007"\r
\r
/// HID for a processor container device.\r
-#define ACPI_HID_PROCESSOR_CONTAINER_DEVICE "ACPI0010"\r
+#define ACPI_HID_PROCESSOR_CONTAINER_DEVICE "ACPI0010"\r
\r
/** Node names of Cpus and Clusters are 'Cxxx', and 'Lxxx' for LPI states.\r
The 'xxx' is an index on 12 bits is given to node name,\r
thus the limitation in the number of nodes.\r
*/\r
-#define MAX_NODE_COUNT (1 << 12)\r
+#define MAX_NODE_COUNT (1 << 12)\r
\r
/** A structure used to handle the Lpi structures referencing.\r
\r
typedef struct TokenTable {\r
/// TokenTable, a table allowing to map:\r
/// Index <-> CM_OBJECT_TOKEN (to CM_ARM_LPI_INFO structures).\r
- CM_OBJECT_TOKEN * Table;\r
+ CM_OBJECT_TOKEN *Table;\r
\r
/// Last used index of the TokenTable.\r
/// LastIndex is bound by ProcNodeCount.\r
- UINT32 LastIndex;\r
+ UINT32 LastIndex;\r
} TOKEN_TABLE;\r
\r
/** A structure holding the Cpu topology generator and additional private data.\r
/// Private object used to handle token referencing.\r
TOKEN_TABLE TokenTable;\r
/// List of CM_ARM_PROC_HIERARCHY_INFO CM objects.\r
- CM_ARM_PROC_HIERARCHY_INFO * ProcNodeList;\r
+ CM_ARM_PROC_HIERARCHY_INFO *ProcNodeList;\r
/// Count of CM_ARM_PROC_HIERARCHY_INFO CM objects.\r
UINT32 ProcNodeCount;\r
} ACPI_CPU_TOPOLOGY_GENERATOR;\r