]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Register/Intel/Msr/BroadwellMsr.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Register / Intel / Msr / BroadwellMsr.h
index d05869e0372f4ca31cf94b793428faa32d9d30e0..98beafca7575f6a090aef8d2cf39750ab2d70bb3 100644 (file)
@@ -58,7 +58,7 @@
   @endcode\r
   @note MSR_BROADWELL_IA32_PERF_GLOBAL_STATUS is defined as IA32_PERF_GLOBAL_STATUS in SDM.\r
 **/\r
-#define MSR_BROADWELL_IA32_PERF_GLOBAL_STATUS    0x0000038E\r
+#define MSR_BROADWELL_IA32_PERF_GLOBAL_STATUS  0x0000038E\r
 \r
 /**\r
   MSR information returned for MSR index #MSR_BROADWELL_IA32_PERF_GLOBAL_STATUS\r
@@ -71,59 +71,58 @@ typedef union {
     ///\r
     /// [Bit 0] Ovf_PMC0.\r
     ///\r
-    UINT32  Ovf_PMC0:1;\r
+    UINT32    Ovf_PMC0       : 1;\r
     ///\r
     /// [Bit 1] Ovf_PMC1.\r
     ///\r
-    UINT32  Ovf_PMC1:1;\r
+    UINT32    Ovf_PMC1       : 1;\r
     ///\r
     /// [Bit 2] Ovf_PMC2.\r
     ///\r
-    UINT32  Ovf_PMC2:1;\r
+    UINT32    Ovf_PMC2       : 1;\r
     ///\r
     /// [Bit 3] Ovf_PMC3.\r
     ///\r
-    UINT32  Ovf_PMC3:1;\r
-    UINT32  Reserved1:28;\r
+    UINT32    Ovf_PMC3       : 1;\r
+    UINT32    Reserved1      : 28;\r
     ///\r
     /// [Bit 32] Ovf_FixedCtr0.\r
     ///\r
-    UINT32  Ovf_FixedCtr0:1;\r
+    UINT32    Ovf_FixedCtr0  : 1;\r
     ///\r
     /// [Bit 33] Ovf_FixedCtr1.\r
     ///\r
-    UINT32  Ovf_FixedCtr1:1;\r
+    UINT32    Ovf_FixedCtr1  : 1;\r
     ///\r
     /// [Bit 34] Ovf_FixedCtr2.\r
     ///\r
-    UINT32  Ovf_FixedCtr2:1;\r
-    UINT32  Reserved2:20;\r
+    UINT32    Ovf_FixedCtr2  : 1;\r
+    UINT32    Reserved2      : 20;\r
     ///\r
     /// [Bit 55] Trace_ToPA_PMI. See Section 36.2.6.2, "Table of Physical\r
     /// Addresses (ToPA).".\r
     ///\r
-    UINT32  Trace_ToPA_PMI:1;\r
-    UINT32  Reserved3:5;\r
+    UINT32    Trace_ToPA_PMI : 1;\r
+    UINT32    Reserved3      : 5;\r
     ///\r
     /// [Bit 61] Ovf_Uncore.\r
     ///\r
-    UINT32  Ovf_Uncore:1;\r
+    UINT32    Ovf_Uncore     : 1;\r
     ///\r
     /// [Bit 62] Ovf_BufDSSAVE.\r
     ///\r
-    UINT32  OvfBuf:1;\r
+    UINT32    OvfBuf         : 1;\r
     ///\r
     /// [Bit 63] CondChgd.\r
     ///\r
-    UINT32  CondChgd:1;\r
+    UINT32    CondChgd       : 1;\r
   } Bits;\r
   ///\r
   /// All bit fields as a 64-bit value\r
   ///\r
-  UINT64  Uint64;\r
+  UINT64    Uint64;\r
 } MSR_BROADWELL_IA32_PERF_GLOBAL_STATUS_REGISTER;\r
 \r
-\r
 /**\r
   Core. C-State Configuration Control (R/W) Note: C-state values are processor\r
   specific C-state code names, unrelated to MWAIT extension C-state parameters\r
@@ -144,7 +143,7 @@ typedef union {
   @endcode\r
   @note MSR_BROADWELL_PKG_CST_CONFIG_CONTROL is defined as MSR_PKG_CST_CONFIG_CONTROL in SDM.\r
 **/\r
-#define MSR_BROADWELL_PKG_CST_CONFIG_CONTROL     0x000000E2\r
+#define MSR_BROADWELL_PKG_CST_CONFIG_CONTROL  0x000000E2\r
 \r
 /**\r
   MSR information returned for MSR index #MSR_BROADWELL_PKG_CST_CONFIG_CONTROL\r
@@ -162,56 +161,55 @@ typedef union {
     /// C0/C1 (no package C-state support) 0001b: C2 0010b: C3 0011b: C6\r
     /// 0100b: C7 0101b: C7s 0110b: C8 0111b: C9 1000b: C10.\r
     ///\r
-    UINT32  Limit:4;\r
-    UINT32  Reserved1:6;\r
+    UINT32    Limit              : 4;\r
+    UINT32    Reserved1          : 6;\r
     ///\r
     /// [Bit 10] I/O MWAIT Redirection Enable (R/W).\r
     ///\r
-    UINT32  IO_MWAIT:1;\r
-    UINT32  Reserved2:4;\r
+    UINT32    IO_MWAIT           : 1;\r
+    UINT32    Reserved2          : 4;\r
     ///\r
     /// [Bit 15] CFG Lock (R/WO).\r
     ///\r
-    UINT32  CFGLock:1;\r
-    UINT32  Reserved3:9;\r
+    UINT32    CFGLock            : 1;\r
+    UINT32    Reserved3          : 9;\r
     ///\r
     /// [Bit 25] C3 State Auto Demotion Enable (R/W).\r
     ///\r
-    UINT32  C3AutoDemotion:1;\r
+    UINT32    C3AutoDemotion     : 1;\r
     ///\r
     /// [Bit 26] C1 State Auto Demotion Enable (R/W).\r
     ///\r
-    UINT32  C1AutoDemotion:1;\r
+    UINT32    C1AutoDemotion     : 1;\r
     ///\r
     /// [Bit 27] Enable C3 Undemotion (R/W).\r
     ///\r
-    UINT32  C3Undemotion:1;\r
+    UINT32    C3Undemotion       : 1;\r
     ///\r
     /// [Bit 28] Enable C1 Undemotion (R/W).\r
     ///\r
-    UINT32  C1Undemotion:1;\r
+    UINT32    C1Undemotion       : 1;\r
     ///\r
     /// [Bit 29] Enable Package C-State Auto-demotion (R/W).\r
     ///\r
-    UINT32  CStateAutoDemotion:1;\r
+    UINT32    CStateAutoDemotion : 1;\r
     ///\r
     /// [Bit 30] Enable Package C-State Undemotion (R/W).\r
     ///\r
-    UINT32  CStateUndemotion:1;\r
-    UINT32  Reserved4:1;\r
-    UINT32  Reserved5:32;\r
+    UINT32    CStateUndemotion   : 1;\r
+    UINT32    Reserved4          : 1;\r
+    UINT32    Reserved5          : 32;\r
   } Bits;\r
   ///\r
   /// All bit fields as a 32-bit value\r
   ///\r
-  UINT32  Uint32;\r
+  UINT32    Uint32;\r
   ///\r
   /// All bit fields as a 64-bit value\r
   ///\r
-  UINT64  Uint64;\r
+  UINT64    Uint64;\r
 } MSR_BROADWELL_PKG_CST_CONFIG_CONTROL_REGISTER;\r
 \r
-\r
 /**\r
   Package. Maximum Ratio Limit of Turbo Mode RO if MSR_PLATFORM_INFO.[28] = 0,\r
   RW if MSR_PLATFORM_INFO.[28] = 1.\r
@@ -230,7 +228,7 @@ typedef union {
   @endcode\r
   @note MSR_BROADWELL_TURBO_RATIO_LIMIT is defined as MSR_TURBO_RATIO_LIMIT in SDM.\r
 **/\r
-#define MSR_BROADWELL_TURBO_RATIO_LIMIT          0x000001AD\r
+#define MSR_BROADWELL_TURBO_RATIO_LIMIT  0x000001AD\r
 \r
 /**\r
   MSR information returned for MSR index #MSR_BROADWELL_TURBO_RATIO_LIMIT\r
@@ -244,41 +242,40 @@ typedef union {
     /// [Bits 7:0] Package. Maximum Ratio Limit for 1C Maximum turbo ratio\r
     /// limit of 1 core active.\r
     ///\r
-    UINT32  Maximum1C:8;\r
+    UINT32    Maximum1C : 8;\r
     ///\r
     /// [Bits 15:8] Package. Maximum Ratio Limit for 2C Maximum turbo ratio\r
     /// limit of 2 core active.\r
     ///\r
-    UINT32  Maximum2C:8;\r
+    UINT32    Maximum2C : 8;\r
     ///\r
     /// [Bits 23:16] Package. Maximum Ratio Limit for 3C Maximum turbo ratio\r
     /// limit of 3 core active.\r
     ///\r
-    UINT32  Maximum3C:8;\r
+    UINT32    Maximum3C : 8;\r
     ///\r
     /// [Bits 31:24] Package. Maximum Ratio Limit for 4C Maximum turbo ratio\r
     /// limit of 4 core active.\r
     ///\r
-    UINT32  Maximum4C:8;\r
+    UINT32    Maximum4C : 8;\r
     ///\r
     /// [Bits 39:32] Package. Maximum Ratio Limit for 5C Maximum turbo ratio\r
     /// limit of 5core active.\r
     ///\r
-    UINT32  Maximum5C:8;\r
+    UINT32    Maximum5C : 8;\r
     ///\r
     /// [Bits 47:40] Package. Maximum Ratio Limit for 6C Maximum turbo ratio\r
     /// limit of 6core active.\r
     ///\r
-    UINT32  Maximum6C:8;\r
-    UINT32  Reserved:16;\r
+    UINT32    Maximum6C : 8;\r
+    UINT32    Reserved  : 16;\r
   } Bits;\r
   ///\r
   /// All bit fields as a 64-bit value\r
   ///\r
-  UINT64  Uint64;\r
+  UINT64    Uint64;\r
 } MSR_BROADWELL_TURBO_RATIO_LIMIT_REGISTER;\r
 \r
-\r
 /**\r
   Package. Uncore Ratio Limit (R/W) Out of reset, the min_ratio and max_ratio\r
   fields represent the widest possible range of uncore frequencies. Writing to\r
@@ -299,7 +296,7 @@ typedef union {
   AsmWriteMsr64 (MSR_BROADWELL_MSRUNCORE_RATIO_LIMIT, Msr.Uint64);\r
   @endcode\r
 **/\r
-#define MSR_BROADWELL_MSRUNCORE_RATIO_LIMIT      0x00000620\r
+#define MSR_BROADWELL_MSRUNCORE_RATIO_LIMIT  0x00000620\r
 \r
 /**\r
   MSR information returned for MSR index #MSR_BROADWELL_MSRUNCORE_RATIO_LIMIT\r
@@ -313,24 +310,24 @@ typedef union {
     /// [Bits 6:0] MAX_RATIO This field is used to limit the max ratio of the\r
     /// LLC/Ring.\r
     ///\r
-    UINT32  MAX_RATIO:7;\r
-    UINT32  Reserved2:1;\r
+    UINT32    MAX_RATIO : 7;\r
+    UINT32    Reserved2 : 1;\r
     ///\r
     /// [Bits 14:8] MIN_RATIO Writing to this field controls the minimum\r
     /// possible ratio of the LLC/Ring.\r
     ///\r
-    UINT32  MIN_RATIO:7;\r
-    UINT32  Reserved3:17;\r
-    UINT32  Reserved4:32;\r
+    UINT32    MIN_RATIO : 7;\r
+    UINT32    Reserved3 : 17;\r
+    UINT32    Reserved4 : 32;\r
   } Bits;\r
   ///\r
   /// All bit fields as a 32-bit value\r
   ///\r
-  UINT32  Uint32;\r
+  UINT32    Uint32;\r
   ///\r
   /// All bit fields as a 64-bit value\r
   ///\r
-  UINT64  Uint64;\r
+  UINT64    Uint64;\r
 } MSR_BROADWELL_MSRUNCORE_RATIO_LIMIT_REGISTER;\r
 \r
 /**\r
@@ -349,6 +346,6 @@ typedef union {
   @endcode\r
   @note MSR_BROADWELL_PP0_ENERGY_STATUS is defined as MSR_PP0_ENERGY_STATUS in SDM.\r
 **/\r
-#define MSR_BROADWELL_PP0_ENERGY_STATUS          0x00000639\r
+#define MSR_BROADWELL_PP0_ENERGY_STATUS  0x00000639\r
 \r
 #endif\r