]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Include/AcpiCpuData.h
UefiCpuPkg: Apply uncrustify changes
[mirror_edk2.git] / UefiCpuPkg / Include / AcpiCpuData.h
index 659821072d0d74cdddfc180fd684c32aadb0f2bc..161a43c27835b6fd8e861ef1d4d269916c42b423 100644 (file)
@@ -52,19 +52,19 @@ typedef struct {
   //\r
   // Record the package count in this CPU.\r
   //\r
-  UINT32                      PackageCount;\r
+  UINT32    PackageCount;\r
   //\r
   // Record the max core count in this CPU.\r
   // Different packages may have different core count, this value\r
   // save the max core count in all the packages.\r
   //\r
-  UINT32                      MaxCoreCount;\r
+  UINT32    MaxCoreCount;\r
   //\r
   // Record the max thread count in this CPU.\r
   // Different cores may have different thread count, this value\r
   // save the max thread count in all the cores.\r
   //\r
-  UINT32                      MaxThreadCount;\r
+  UINT32    MaxThreadCount;\r
   //\r
   // This field points to an array.\r
   // This array saves thread count (type UINT32) of each package.\r
@@ -74,7 +74,7 @@ typedef struct {
   // therefore it doesn't need the dependency semaphores, it should set\r
   // this field to 0.\r
   //\r
-  EFI_PHYSICAL_ADDRESS        ThreadCountPerPackage;\r
+  EFI_PHYSICAL_ADDRESS    ThreadCountPerPackage;\r
   //\r
   // This field points to an array.\r
   // This array saves thread count (type UINT8) of each core.\r
@@ -84,21 +84,21 @@ typedef struct {
   // therefore it doesn't need the dependency semaphores, it should set\r
   // this field to 0.\r
   //\r
-  EFI_PHYSICAL_ADDRESS        ThreadCountPerCore;\r
+  EFI_PHYSICAL_ADDRESS    ThreadCountPerCore;\r
 } CPU_STATUS_INFORMATION;\r
 \r
 //\r
 // Element of register table entry\r
 //\r
 typedef struct {\r
-  REGISTER_TYPE  RegisterType;          // offset 0 - 3\r
-  UINT32         Index;                 // offset 4 - 7\r
-  UINT8          ValidBitStart;         // offset 8\r
-  UINT8          ValidBitLength;        // offset 9\r
-  BOOLEAN        TestThenWrite;         // offset 10\r
-  UINT8          Reserved1;             // offset 11\r
-  UINT32         HighIndex;             // offset 12-15, only valid for MemoryMapped\r
-  UINT64         Value;                 // offset 16-23\r
+  REGISTER_TYPE    RegisterType;        // offset 0 - 3\r
+  UINT32           Index;               // offset 4 - 7\r
+  UINT8            ValidBitStart;       // offset 8\r
+  UINT8            ValidBitLength;      // offset 9\r
+  BOOLEAN          TestThenWrite;       // offset 10\r
+  UINT8            Reserved1;           // offset 11\r
+  UINT32           HighIndex;           // offset 12-15, only valid for MemoryMapped\r
+  UINT64           Value;               // offset 16-23\r
 } CPU_REGISTER_TABLE_ENTRY;\r
 \r
 //\r
@@ -109,20 +109,20 @@ typedef struct {
   //\r
   // The number of valid entries in the RegisterTableEntry buffer\r
   //\r
-  UINT32                    TableLength;\r
-  UINT32                    NumberBeforeReset;\r
+  UINT32                  TableLength;\r
+  UINT32                  NumberBeforeReset;\r
   //\r
   // The size, in bytes, of the RegisterTableEntry buffer\r
   //\r
-  UINT32                    AllocatedSize;\r
+  UINT32                  AllocatedSize;\r
   //\r
   // The initial APIC ID of the CPU this register table applies to\r
   //\r
-  UINT32                    InitialApicId;\r
+  UINT32                  InitialApicId;\r
   //\r
   // Physical address of CPU_REGISTER_TABLE_ENTRY structures.\r
   //\r
-  EFI_PHYSICAL_ADDRESS      RegisterTableEntry;\r
+  EFI_PHYSICAL_ADDRESS    RegisterTableEntry;\r
 } CPU_REGISTER_TABLE;\r
 \r
 //\r
@@ -151,11 +151,11 @@ typedef struct {
   // If a register table is not required for any one of the CPUs, then\r
   // RegisterTable may be set to 0.\r
   //\r
-  EFI_PHYSICAL_ADDRESS    RegisterTable;\r
+  EFI_PHYSICAL_ADDRESS      RegisterTable;\r
   //\r
   // CPU information which is required when set the register table.\r
   //\r
-  CPU_STATUS_INFORMATION  CpuStatus;\r
+  CPU_STATUS_INFORMATION    CpuStatus;\r
   //\r
   // Location info for each AP.\r
   // It points to an array which saves all APs location info.\r
@@ -180,7 +180,7 @@ typedef struct {
   // it is recommended that the buffer be zero-filled.  This buffer is used to\r
   // wake APs during an ACPI S3 resume.\r
   //\r
-  EFI_PHYSICAL_ADDRESS  StartupVector;\r
+  EFI_PHYSICAL_ADDRESS     StartupVector;\r
   //\r
   // Physical address of structure of type IA32_DESCRIPTOR. The\r
   // IA32_DESCRIPTOR structure provides the base address and length of a GDT\r
@@ -188,7 +188,7 @@ typedef struct {
   // used during an ACPI S3 resume.  This is typically the contents of the GDT\r
   // used by the boot processor when the platform is booted.\r
   //\r
-  EFI_PHYSICAL_ADDRESS  GdtrProfile;\r
+  EFI_PHYSICAL_ADDRESS     GdtrProfile;\r
   //\r
   // Physical address of structure of type IA32_DESCRIPTOR.  The\r
   // IA32_DESCRIPTOR structure provides the base address and length of an IDT.\r
@@ -196,31 +196,31 @@ typedef struct {
   // used during an ACPI S3 resume.  This is typically the contents of the IDT\r
   // used by the boot processor when the platform is booted.\r
   //\r
-  EFI_PHYSICAL_ADDRESS  IdtrProfile;\r
+  EFI_PHYSICAL_ADDRESS     IdtrProfile;\r
   //\r
   // Physical address of a buffer that is used as stacks during ACPI S3 resume.\r
   // The total size of this buffer, in bytes, is NumberOfCpus * StackSize.  This\r
   // structure must be allocated from memory of type EfiACPIMemoryNVS.\r
   //\r
-  EFI_PHYSICAL_ADDRESS  StackAddress;\r
+  EFI_PHYSICAL_ADDRESS     StackAddress;\r
   //\r
   // The size, in bytes, of the stack provided to each CPU during ACPI S3 resume.\r
   //\r
-  UINT32                StackSize;\r
+  UINT32                   StackSize;\r
   //\r
   // The number of CPUs.  If a platform does not support hot plug CPUs, then\r
   // this is the number of CPUs detected when the platform is booted, regardless\r
   // of being enabled or disabled.  If a platform does support hot plug CPUs,\r
   // then this is the maximum number of CPUs that the platform supports.\r
   //\r
-  UINT32                NumberOfCpus;\r
+  UINT32                   NumberOfCpus;\r
   //\r
   // Physical address of structure of type MTRR_SETTINGS that contains a copy\r
   // of the MTRR settings that are compatible with the MTRR settings used by\r
   // the boot processor when the platform was booted.  These MTRR settings are\r
   // used during an ACPI S3 resume.\r
   //\r
-  EFI_PHYSICAL_ADDRESS  MtrrTable;\r
+  EFI_PHYSICAL_ADDRESS     MtrrTable;\r
   //\r
   // Physical address of a buffer that contains the machine check handler that\r
   // is used during an ACPI S3 Resume.  In order for this machine check\r
@@ -228,18 +228,18 @@ typedef struct {
   // vector in the IDT provided by IdtrProfile must be initialized to transfer\r
   // control to this physical address.\r
   //\r
-  EFI_PHYSICAL_ADDRESS  ApMachineCheckHandlerBase;\r
+  EFI_PHYSICAL_ADDRESS     ApMachineCheckHandlerBase;\r
   //\r
   // The size, in bytes, of the machine check handler that is used during an\r
   // ACPI S3 Resume.  If this field is 0, then a machine check handler is not\r
   // provided.\r
   //\r
-  UINT32                ApMachineCheckHandlerSize;\r
+  UINT32                   ApMachineCheckHandlerSize;\r
   //\r
   // Data structure that is used for CPU feature initialization during ACPI S3\r
   // resume.\r
   //\r
-  CPU_FEATURE_INIT_DATA CpuFeatureInitData;\r
+  CPU_FEATURE_INIT_DATA    CpuFeatureInitData;\r
 } ACPI_CPU_DATA;\r
 \r
 #endif\r