summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Register/Intel/Msr/P6Msr.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Register/Intel/Msr/P6Msr.h')
-rw-r--r--MdePkg/Include/Register/Intel/Msr/P6Msr.h474
1 files changed, 214 insertions, 260 deletions
diff --git a/MdePkg/Include/Register/Intel/Msr/P6Msr.h b/MdePkg/Include/Register/Intel/Msr/P6Msr.h
index d4af2774d3..ea363e9933 100644
--- a/MdePkg/Include/Register/Intel/Msr/P6Msr.h
+++ b/MdePkg/Include/Register/Intel/Msr/P6Msr.h
@@ -57,8 +57,7 @@
@endcode
@note MSR_P6_P5_MC_ADDR is defined as P5_MC_ADDR in SDM.
**/
-#define MSR_P6_P5_MC_ADDR 0x00000000
-
+#define MSR_P6_P5_MC_ADDR 0x00000000
/**
See Section 2.22, "MSRs in Pentium Processors.".
@@ -76,8 +75,7 @@
@endcode
@note MSR_P6_P5_MC_TYPE is defined as P5_MC_TYPE in SDM.
**/
-#define MSR_P6_P5_MC_TYPE 0x00000001
-
+#define MSR_P6_P5_MC_TYPE 0x00000001
/**
See Section 17.17, "Time-Stamp Counter.".
@@ -95,8 +93,7 @@
@endcode
@note MSR_P6_TSC is defined as TSC in SDM.
**/
-#define MSR_P6_TSC 0x00000010
-
+#define MSR_P6_TSC 0x00000010
/**
Platform ID (R) The operating system can use this MSR to determine "slot"
@@ -116,7 +113,7 @@
@endcode
@note MSR_P6_IA32_PLATFORM_ID is defined as IA32_PLATFORM_ID in SDM.
**/
-#define MSR_P6_IA32_PLATFORM_ID 0x00000017
+#define MSR_P6_IA32_PLATFORM_ID 0x00000017
/**
MSR information returned for MSR index #MSR_P6_IA32_PLATFORM_ID
@@ -126,8 +123,8 @@ typedef union {
/// Individual bit fields
///
struct {
- UINT32 Reserved1:32;
- UINT32 Reserved2:18;
+ UINT32 Reserved1 : 32;
+ UINT32 Reserved2 : 18;
///
/// [Bits 52:50] Platform Id (R) Contains information concerning the
/// intended platform for the processor.
@@ -142,25 +139,24 @@ typedef union {
/// 1 1 0 Processor Flag 6
/// 1 1 1 Processor Flag 7
///
- UINT32 PlatformId:3;
+ UINT32 PlatformId : 3;
///
/// [Bits 56:53] L2 Cache Latency Read.
///
- UINT32 L2CacheLatencyRead:4;
- UINT32 Reserved3:3;
+ UINT32 L2CacheLatencyRead : 4;
+ UINT32 Reserved3 : 3;
///
/// [Bit 60] Clock Frequency Ratio Read.
///
- UINT32 ClockFrequencyRatioRead:1;
- UINT32 Reserved4:3;
+ UINT32 ClockFrequencyRatioRead : 1;
+ UINT32 Reserved4 : 3;
} Bits;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_IA32_PLATFORM_ID_REGISTER;
-
/**
Section 10.4.4, "Local APIC Status and Location.".
@@ -179,7 +175,7 @@ typedef union {
@endcode
@note MSR_P6_APIC_BASE is defined as APIC_BASE in SDM.
**/
-#define MSR_P6_APIC_BASE 0x0000001B
+#define MSR_P6_APIC_BASE 0x0000001B
/**
MSR information returned for MSR index #MSR_P6_APIC_BASE
@@ -189,34 +185,33 @@ typedef union {
/// Individual bit fields
///
struct {
- UINT32 Reserved1:8;
+ UINT32 Reserved1 : 8;
///
/// [Bit 8] Boot Strap Processor indicator Bit 1 = BSP.
///
- UINT32 BSP:1;
- UINT32 Reserved2:2;
+ UINT32 BSP : 1;
+ UINT32 Reserved2 : 2;
///
/// [Bit 11] APIC Global Enable Bit - Permanent till reset 1 = Enabled 0 =
/// Disabled.
///
- UINT32 EN:1;
+ UINT32 EN : 1;
///
/// [Bits 31:12] APIC Base Address.
///
- UINT32 ApicBase:20;
- UINT32 Reserved3:32;
+ UINT32 ApicBase : 20;
+ UINT32 Reserved3 : 32;
} Bits;
///
/// All bit fields as a 32-bit value
///
- UINT32 Uint32;
+ UINT32 Uint32;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_APIC_BASE_REGISTER;
-
/**
Processor Hard Power-On Configuration (R/W) Enables and disables processor
features; (R) indicates current processor configuration.
@@ -236,7 +231,7 @@ typedef union {
@endcode
@note MSR_P6_EBL_CR_POWERON is defined as EBL_CR_POWERON in SDM.
**/
-#define MSR_P6_EBL_CR_POWERON 0x0000002A
+#define MSR_P6_EBL_CR_POWERON 0x0000002A
/**
MSR information returned for MSR index #MSR_P6_EBL_CR_POWERON
@@ -246,103 +241,102 @@ typedef union {
/// Individual bit fields
///
struct {
- UINT32 Reserved1:1;
+ UINT32 Reserved1 : 1;
///
/// [Bit 1] Data Error Checking Enable (R/W) 1 = Enabled 0 = Disabled.
///
- UINT32 DataErrorCheckingEnable:1;
+ UINT32 DataErrorCheckingEnable : 1;
///
/// [Bit 2] Response Error Checking Enable FRCERR Observation Enable (R/W)
/// 1 = Enabled 0 = Disabled.
///
- UINT32 ResponseErrorCheckingEnable:1;
+ UINT32 ResponseErrorCheckingEnable : 1;
///
/// [Bit 3] AERR# Drive Enable (R/W) 1 = Enabled 0 = Disabled.
///
- UINT32 AERR_DriveEnable:1;
+ UINT32 AERR_DriveEnable : 1;
///
/// [Bit 4] BERR# Enable for Initiator Bus Requests (R/W) 1 = Enabled 0 =
/// Disabled.
///
- UINT32 BERR_Enable:1;
- UINT32 Reserved2:1;
+ UINT32 BERR_Enable : 1;
+ UINT32 Reserved2 : 1;
///
/// [Bit 6] BERR# Driver Enable for Initiator Internal Errors (R/W) 1 =
/// Enabled 0 = Disabled.
///
- UINT32 BERR_DriverEnable:1;
+ UINT32 BERR_DriverEnable : 1;
///
/// [Bit 7] BINIT# Driver Enable (R/W) 1 = Enabled 0 = Disabled.
///
- UINT32 BINIT_DriverEnable:1;
+ UINT32 BINIT_DriverEnable : 1;
///
/// [Bit 8] Output Tri-state Enabled (R) 1 = Enabled 0 = Disabled.
///
- UINT32 OutputTriStateEnable:1;
+ UINT32 OutputTriStateEnable : 1;
///
/// [Bit 9] Execute BIST (R) 1 = Enabled 0 = Disabled.
///
- UINT32 ExecuteBIST:1;
+ UINT32 ExecuteBIST : 1;
///
/// [Bit 10] AERR# Observation Enabled (R) 1 = Enabled 0 = Disabled.
///
- UINT32 AERR_ObservationEnabled:1;
- UINT32 Reserved3:1;
+ UINT32 AERR_ObservationEnabled : 1;
+ UINT32 Reserved3 : 1;
///
/// [Bit 12] BINIT# Observation Enabled (R) 1 = Enabled 0 = Disabled.
///
- UINT32 BINIT_ObservationEnabled:1;
+ UINT32 BINIT_ObservationEnabled : 1;
///
/// [Bit 13] In Order Queue Depth (R) 1 = 1 0 = 8.
///
- UINT32 InOrderQueueDepth:1;
+ UINT32 InOrderQueueDepth : 1;
///
/// [Bit 14] 1-MByte Power on Reset Vector (R) 1 = 1MByte 0 = 4GBytes.
///
- UINT32 ResetVector:1;
+ UINT32 ResetVector : 1;
///
/// [Bit 15] FRC Mode Enable (R) 1 = Enabled 0 = Disabled.
///
- UINT32 FRCModeEnable:1;
+ UINT32 FRCModeEnable : 1;
///
/// [Bits 17:16] APIC Cluster ID (R).
///
- UINT32 APICClusterID:2;
+ UINT32 APICClusterID : 2;
///
/// [Bits 19:18] System Bus Frequency (R) 00 = 66MHz 10 = 100Mhz 01 =
/// 133MHz 11 = Reserved.
///
- UINT32 SystemBusFrequency:2;
+ UINT32 SystemBusFrequency : 2;
///
/// [Bits 21:20] Symmetric Arbitration ID (R).
///
- UINT32 SymmetricArbitrationID:2;
+ UINT32 SymmetricArbitrationID : 2;
///
/// [Bits 25:22] Clock Frequency Ratio (R).
///
- UINT32 ClockFrequencyRatio:4;
+ UINT32 ClockFrequencyRatio : 4;
///
/// [Bit 26] Low Power Mode Enable (R/W).
///
- UINT32 LowPowerModeEnable:1;
+ UINT32 LowPowerModeEnable : 1;
///
/// [Bit 27] Clock Frequency Ratio.
///
- UINT32 ClockFrequencyRatio1:1;
- UINT32 Reserved4:4;
- UINT32 Reserved5:32;
+ UINT32 ClockFrequencyRatio1 : 1;
+ UINT32 Reserved4 : 4;
+ UINT32 Reserved5 : 32;
} Bits;
///
/// All bit fields as a 32-bit value
///
- UINT32 Uint32;
+ UINT32 Uint32;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_EBL_CR_POWERON_REGISTER;
-
/**
Test Control Register.
@@ -361,7 +355,7 @@ typedef union {
@endcode
@note MSR_P6_TEST_CTL is defined as TEST_CTL in SDM.
**/
-#define MSR_P6_TEST_CTL 0x00000033
+#define MSR_P6_TEST_CTL 0x00000033
/**
MSR information returned for MSR index #MSR_P6_TEST_CTL
@@ -371,28 +365,27 @@ typedef union {
/// Individual bit fields
///
struct {
- UINT32 Reserved1:30;
+ UINT32 Reserved1 : 30;
///
/// [Bit 30] Streaming Buffer Disable.
///
- UINT32 StreamingBufferDisable:1;
+ UINT32 StreamingBufferDisable : 1;
///
/// [Bit 31] Disable LOCK# Assertion for split locked access.
///
- UINT32 Disable_LOCK:1;
- UINT32 Reserved2:32;
+ UINT32 Disable_LOCK : 1;
+ UINT32 Reserved2 : 32;
} Bits;
///
/// All bit fields as a 32-bit value
///
- UINT32 Uint32;
+ UINT32 Uint32;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_TEST_CTL_REGISTER;
-
/**
BIOS Update Trigger Register.
@@ -409,8 +402,7 @@ typedef union {
@endcode
@note MSR_P6_BIOS_UPDT_TRIG is defined as BIOS_UPDT_TRIG in SDM.
**/
-#define MSR_P6_BIOS_UPDT_TRIG 0x00000079
-
+#define MSR_P6_BIOS_UPDT_TRIG 0x00000079
/**
Chunk n data register D[63:0]: used to write to and read from the L2.
@@ -431,12 +423,11 @@ typedef union {
MSR_P6_BBL_CR_D2 is defined as BBL_CR_D2 in SDM.
@{
**/
-#define MSR_P6_BBL_CR_D0 0x00000088
-#define MSR_P6_BBL_CR_D1 0x00000089
-#define MSR_P6_BBL_CR_D2 0x0000008A
+#define MSR_P6_BBL_CR_D0 0x00000088
+#define MSR_P6_BBL_CR_D1 0x00000089
+#define MSR_P6_BBL_CR_D2 0x0000008A
/// @}
-
/**
BIOS Update Signature Register or Chunk 3 data register D[63:0] Used to
write to and read from the L2 depending on the usage model.
@@ -454,8 +445,7 @@ typedef union {
@endcode
@note MSR_P6_BIOS_SIGN is defined as BIOS_SIGN in SDM.
**/
-#define MSR_P6_BIOS_SIGN 0x0000008B
-
+#define MSR_P6_BIOS_SIGN 0x0000008B
/**
@@ -475,11 +465,10 @@ typedef union {
MSR_P6_PERFCTR1 is defined as PERFCTR1 in SDM.
@{
**/
-#define MSR_P6_PERFCTR0 0x000000C1
-#define MSR_P6_PERFCTR1 0x000000C2
+#define MSR_P6_PERFCTR0 0x000000C1
+#define MSR_P6_PERFCTR1 0x000000C2
/// @}
-
/**
@@ -496,8 +485,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRCAP is defined as MTRRCAP in SDM.
**/
-#define MSR_P6_MTRRCAP 0x000000FE
-
+#define MSR_P6_MTRRCAP 0x000000FE
/**
Address register: used to send specified address (A31-A3) to L2 during cache
@@ -518,7 +506,7 @@ typedef union {
@endcode
@note MSR_P6_BBL_CR_ADDR is defined as BBL_CR_ADDR in SDM.
**/
-#define MSR_P6_BBL_CR_ADDR 0x00000116
+#define MSR_P6_BBL_CR_ADDR 0x00000116
/**
MSR information returned for MSR index #MSR_P6_BBL_CR_ADDR
@@ -528,24 +516,23 @@ typedef union {
/// Individual bit fields
///
struct {
- UINT32 Reserved1:3;
+ UINT32 Reserved1 : 3;
///
/// [Bits 31:3] Address bits
///
- UINT32 Address:29;
- UINT32 Reserved2:32;
+ UINT32 Address : 29;
+ UINT32 Reserved2 : 32;
} Bits;
///
/// All bit fields as a 32-bit value
///
- UINT32 Uint32;
+ UINT32 Uint32;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_BBL_CR_ADDR_REGISTER;
-
/**
Data ECC register D[7:0]: used to write ECC and read ECC to/from L2.
@@ -562,8 +549,7 @@ typedef union {
@endcode
@note MSR_P6_BBL_CR_DECC is defined as BBL_CR_DECC in SDM.
**/
-#define MSR_P6_BBL_CR_DECC 0x00000118
-
+#define MSR_P6_BBL_CR_DECC 0x00000118
/**
Control register: used to program L2 commands to be issued via cache
@@ -584,7 +570,7 @@ typedef union {
@endcode
@note MSR_P6_BBL_CR_CTL is defined as BBL_CR_CTL in SDM.
**/
-#define MSR_P6_BBL_CR_CTL 0x00000119
+#define MSR_P6_BBL_CR_CTL 0x00000119
/**
MSR information returned for MSR index #MSR_P6_BBL_CR_CTL
@@ -605,56 +591,55 @@ typedef union {
/// Tag Write w/ Data Write (TWW)
/// Tag Write (TW).
///
- UINT32 L2Command:5;
+ UINT32 L2Command : 5;
///
/// [Bits 6:5] State to L2
///
- UINT32 StateToL2:2;
- UINT32 Reserved:1;
+ UINT32 StateToL2 : 2;
+ UINT32 Reserved : 1;
///
/// [Bits 9:8] Way to L2.
///
- UINT32 WayToL2:2;
+ UINT32 WayToL2 : 2;
///
/// [Bits 11:10] Way 0 - 00, Way 1 - 01, Way 2 - 10, Way 3 - 11.
///
- UINT32 Way:2;
+ UINT32 Way : 2;
///
/// [Bits 13:12] Modified - 11,Exclusive - 10, Shared - 01, Invalid - 00.
///
- UINT32 MESI:2;
+ UINT32 MESI : 2;
///
/// [Bits 15:14] State from L2.
///
- UINT32 StateFromL2:2;
- UINT32 Reserved2:1;
+ UINT32 StateFromL2 : 2;
+ UINT32 Reserved2 : 1;
///
/// [Bit 17] L2 Hit.
///
- UINT32 L2Hit:1;
- UINT32 Reserved3:1;
+ UINT32 L2Hit : 1;
+ UINT32 Reserved3 : 1;
///
/// [Bits 20:19] User supplied ECC.
///
- UINT32 UserEcc:2;
+ UINT32 UserEcc : 2;
///
/// [Bit 21] Processor number Disable = 1 Enable = 0 Reserved.
///
- UINT32 ProcessorNumber:1;
- UINT32 Reserved4:10;
- UINT32 Reserved5:32;
+ UINT32 ProcessorNumber : 1;
+ UINT32 Reserved4 : 10;
+ UINT32 Reserved5 : 32;
} Bits;
///
/// All bit fields as a 32-bit value
///
- UINT32 Uint32;
+ UINT32 Uint32;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_BBL_CR_CTL_REGISTER;
-
/**
Trigger register: used to initiate a cache configuration accesses access,
Write only with Data = 0.
@@ -672,8 +657,7 @@ typedef union {
@endcode
@note MSR_P6_BBL_CR_TRIG is defined as BBL_CR_TRIG in SDM.
**/
-#define MSR_P6_BBL_CR_TRIG 0x0000011A
-
+#define MSR_P6_BBL_CR_TRIG 0x0000011A
/**
Busy register: indicates when a cache configuration accesses L2 command is
@@ -692,8 +676,7 @@ typedef union {
@endcode
@note MSR_P6_BBL_CR_BUSY is defined as BBL_CR_BUSY in SDM.
**/
-#define MSR_P6_BBL_CR_BUSY 0x0000011B
-
+#define MSR_P6_BBL_CR_BUSY 0x0000011B
/**
Control register 3: used to configure the L2 Cache.
@@ -713,7 +696,7 @@ typedef union {
@endcode
@note MSR_P6_BBL_CR_CTL3 is defined as BBL_CR_CTL3 in SDM.
**/
-#define MSR_P6_BBL_CR_CTL3 0x0000011E
+#define MSR_P6_BBL_CR_CTL3 0x0000011E
/**
MSR information returned for MSR index #MSR_P6_BBL_CR_CTL3
@@ -726,74 +709,73 @@ typedef union {
///
/// [Bit 0] L2 Configured (read/write ).
///
- UINT32 L2Configured:1;
+ UINT32 L2Configured : 1;
///
/// [Bits 4:1] L2 Cache Latency (read/write).
///
- UINT32 L2CacheLatency:4;
+ UINT32 L2CacheLatency : 4;
///
/// [Bit 5] ECC Check Enable (read/write).
///
- UINT32 ECCCheckEnable:1;
+ UINT32 ECCCheckEnable : 1;
///
/// [Bit 6] Address Parity Check Enable (read/write).
///
- UINT32 AddressParityCheckEnable:1;
+ UINT32 AddressParityCheckEnable : 1;
///
/// [Bit 7] CRTN Parity Check Enable (read/write).
///
- UINT32 CRTNParityCheckEnable:1;
+ UINT32 CRTNParityCheckEnable : 1;
///
/// [Bit 8] L2 Enabled (read/write).
///
- UINT32 L2Enabled:1;
+ UINT32 L2Enabled : 1;
///
/// [Bits 10:9] L2 Associativity (read only) Direct Mapped 2 Way 4 Way
/// Reserved.
///
- UINT32 L2Associativity:2;
+ UINT32 L2Associativity : 2;
///
/// [Bits 12:11] Number of L2 banks (read only).
///
- UINT32 L2Banks:2;
+ UINT32 L2Banks : 2;
///
/// [Bits 17:13] Cache size per bank (read/write) 256KBytes 512KBytes
/// 1MByte 2MByte 4MBytes.
///
- UINT32 CacheSizePerBank:5;
+ UINT32 CacheSizePerBank : 5;
///
/// [Bit 18] Cache State error checking enable (read/write).
///
- UINT32 CacheStateErrorEnable:1;
- UINT32 Reserved1:1;
+ UINT32 CacheStateErrorEnable : 1;
+ UINT32 Reserved1 : 1;
///
/// [Bits 22:20] L2 Physical Address Range support 64GBytes 32GBytes
/// 16GBytes 8GBytes 4GBytes 2GBytes 1GBytes 512MBytes.
///
- UINT32 L2AddressRange:3;
+ UINT32 L2AddressRange : 3;
///
/// [Bit 23] L2 Hardware Disable (read only).
///
- UINT32 L2HardwareDisable:1;
- UINT32 Reserved2:1;
+ UINT32 L2HardwareDisable : 1;
+ UINT32 Reserved2 : 1;
///
/// [Bit 25] Cache bus fraction (read only).
///
- UINT32 CacheBusFraction:1;
- UINT32 Reserved3:6;
- UINT32 Reserved4:32;
+ UINT32 CacheBusFraction : 1;
+ UINT32 Reserved3 : 6;
+ UINT32 Reserved4 : 32;
} Bits;
///
/// All bit fields as a 32-bit value
///
- UINT32 Uint32;
+ UINT32 Uint32;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_BBL_CR_CTL3_REGISTER;
-
/**
CS register target for CPL 0 code.
@@ -810,8 +792,7 @@ typedef union {
@endcode
@note MSR_P6_SYSENTER_CS_MSR is defined as SYSENTER_CS_MSR in SDM.
**/
-#define MSR_P6_SYSENTER_CS_MSR 0x00000174
-
+#define MSR_P6_SYSENTER_CS_MSR 0x00000174
/**
Stack pointer for CPL 0 stack.
@@ -829,8 +810,7 @@ typedef union {
@endcode
@note MSR_P6_SYSENTER_ESP_MSR is defined as SYSENTER_ESP_MSR in SDM.
**/
-#define MSR_P6_SYSENTER_ESP_MSR 0x00000175
-
+#define MSR_P6_SYSENTER_ESP_MSR 0x00000175
/**
CPL 0 code entry point.
@@ -848,8 +828,7 @@ typedef union {
@endcode
@note MSR_P6_SYSENTER_EIP_MSR is defined as SYSENTER_EIP_MSR in SDM.
**/
-#define MSR_P6_SYSENTER_EIP_MSR 0x00000176
-
+#define MSR_P6_SYSENTER_EIP_MSR 0x00000176
/**
@@ -867,8 +846,7 @@ typedef union {
@endcode
@note MSR_P6_MCG_CAP is defined as MCG_CAP in SDM.
**/
-#define MSR_P6_MCG_CAP 0x00000179
-
+#define MSR_P6_MCG_CAP 0x00000179
/**
@@ -886,8 +864,7 @@ typedef union {
@endcode
@note MSR_P6_MCG_STATUS is defined as MCG_STATUS in SDM.
**/
-#define MSR_P6_MCG_STATUS 0x0000017A
-
+#define MSR_P6_MCG_STATUS 0x0000017A
/**
@@ -905,8 +882,7 @@ typedef union {
@endcode
@note MSR_P6_MCG_CTL is defined as MCG_CTL in SDM.
**/
-#define MSR_P6_MCG_CTL 0x0000017B
-
+#define MSR_P6_MCG_CTL 0x0000017B
/**
@@ -928,8 +904,8 @@ typedef union {
MSR_P6_PERFEVTSEL1 is defined as PERFEVTSEL1 in SDM.
@{
**/
-#define MSR_P6_PERFEVTSEL0 0x00000186
-#define MSR_P6_PERFEVTSEL1 0x00000187
+#define MSR_P6_PERFEVTSEL0 0x00000186
+#define MSR_P6_PERFEVTSEL1 0x00000187
/// @}
/**
@@ -945,63 +921,62 @@ typedef union {
/// [Bits 7:0] Event Select Refer to Performance Counter section for a
/// list of event encodings.
///
- UINT32 EventSelect:8;
+ UINT32 EventSelect : 8;
///
/// [Bits 15:8] UMASK (Unit Mask) Unit mask register set to 0 to enable
/// all count options.
///
- UINT32 UMASK:8;
+ UINT32 UMASK : 8;
///
/// [Bit 16] USER Controls the counting of events at Privilege levels of
/// 1, 2, and 3.
///
- UINT32 USR:1;
+ UINT32 USR : 1;
///
/// [Bit 17] OS Controls the counting of events at Privilege level of 0.
///
- UINT32 OS:1;
+ UINT32 OS : 1;
///
/// [Bit 18] E Occurrence/Duration Mode Select 1 = Occurrence 0 = Duration.
///
- UINT32 E:1;
+ UINT32 E : 1;
///
/// [Bit 19] PC Enabled the signaling of performance counter overflow via
/// BP0 pin.
///
- UINT32 PC:1;
+ UINT32 PC : 1;
///
/// [Bit 20] INT Enables the signaling of counter overflow via input to
/// APIC 1 = Enable 0 = Disable.
///
- UINT32 INT:1;
- UINT32 Reserved1:1;
+ UINT32 INT : 1;
+ UINT32 Reserved1 : 1;
///
/// [Bit 22] ENABLE Enables the counting of performance events in both
/// counters 1 = Enable 0 = Disable.
///
- UINT32 EN:1;
+ UINT32 EN : 1;
///
/// [Bit 23] INV Inverts the result of the CMASK condition 1 = Inverted 0
/// = Non-Inverted.
///
- UINT32 INV:1;
+ UINT32 INV : 1;
///
/// [Bits 31:24] CMASK (Counter Mask).
///
- UINT32 CMASK:8;
- UINT32 Reserved2:32;
+ UINT32 CMASK : 8;
+ UINT32 Reserved2 : 32;
} Bits;
///
/// All bit fields as a 32-bit value
///
- UINT32 Uint32;
+ UINT32 Uint32;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_PERFEVTSEL_REGISTER;
-
/**
@@ -1020,7 +995,7 @@ typedef union {
@endcode
@note MSR_P6_DEBUGCTLMSR is defined as DEBUGCTLMSR in SDM.
**/
-#define MSR_P6_DEBUGCTLMSR 0x000001D9
+#define MSR_P6_DEBUGCTLMSR 0x000001D9
/**
MSR information returned for MSR index #MSR_P6_DEBUGCTLMSR
@@ -1033,45 +1008,44 @@ typedef union {
///
/// [Bit 0] Enable/Disable Last Branch Records.
///
- UINT32 LBR:1;
+ UINT32 LBR : 1;
///
/// [Bit 1] Branch Trap Flag.
///
- UINT32 BTF:1;
+ UINT32 BTF : 1;
///
/// [Bit 2] Performance Monitoring/Break Point Pins.
///
- UINT32 PB0:1;
+ UINT32 PB0 : 1;
///
/// [Bit 3] Performance Monitoring/Break Point Pins.
///
- UINT32 PB1:1;
+ UINT32 PB1 : 1;
///
/// [Bit 4] Performance Monitoring/Break Point Pins.
///
- UINT32 PB2:1;
+ UINT32 PB2 : 1;
///
/// [Bit 5] Performance Monitoring/Break Point Pins.
///
- UINT32 PB3:1;
+ UINT32 PB3 : 1;
///
/// [Bit 6] Enable/Disable Execution Trace Messages.
///
- UINT32 TR:1;
- UINT32 Reserved1:25;
- UINT32 Reserved2:32;
+ UINT32 TR : 1;
+ UINT32 Reserved1 : 25;
+ UINT32 Reserved2 : 32;
} Bits;
///
/// All bit fields as a 32-bit value
///
- UINT32 Uint32;
+ UINT32 Uint32;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_DEBUGCTLMSR_REGISTER;
-
/**
@@ -1088,8 +1062,7 @@ typedef union {
@endcode
@note MSR_P6_LASTBRANCHFROMIP is defined as LASTBRANCHFROMIP in SDM.
**/
-#define MSR_P6_LASTBRANCHFROMIP 0x000001DB
-
+#define MSR_P6_LASTBRANCHFROMIP 0x000001DB
/**
@@ -1107,8 +1080,7 @@ typedef union {
@endcode
@note MSR_P6_LASTBRANCHTOIP is defined as LASTBRANCHTOIP in SDM.
**/
-#define MSR_P6_LASTBRANCHTOIP 0x000001DC
-
+#define MSR_P6_LASTBRANCHTOIP 0x000001DC
/**
@@ -1126,8 +1098,7 @@ typedef union {
@endcode
@note MSR_P6_LASTINTFROMIP is defined as LASTINTFROMIP in SDM.
**/
-#define MSR_P6_LASTINTFROMIP 0x000001DD
-
+#define MSR_P6_LASTINTFROMIP 0x000001DD
/**
@@ -1145,7 +1116,7 @@ typedef union {
@endcode
@note MSR_P6_LASTINTTOIP is defined as LASTINTTOIP in SDM.
**/
-#define MSR_P6_LASTINTTOIP 0x000001DE
+#define MSR_P6_LASTINTTOIP 0x000001DE
/**
@@ -1171,17 +1142,16 @@ typedef union {
MSR_P6_MTRRPHYSBASE7 is defined as MTRRPHYSBASE7 in SDM.
@{
**/
-#define MSR_P6_MTRRPHYSBASE0 0x00000200
-#define MSR_P6_MTRRPHYSBASE1 0x00000202
-#define MSR_P6_MTRRPHYSBASE2 0x00000204
-#define MSR_P6_MTRRPHYSBASE3 0x00000206
-#define MSR_P6_MTRRPHYSBASE4 0x00000208
-#define MSR_P6_MTRRPHYSBASE5 0x0000020A
-#define MSR_P6_MTRRPHYSBASE6 0x0000020C
-#define MSR_P6_MTRRPHYSBASE7 0x0000020E
+#define MSR_P6_MTRRPHYSBASE0 0x00000200
+#define MSR_P6_MTRRPHYSBASE1 0x00000202
+#define MSR_P6_MTRRPHYSBASE2 0x00000204
+#define MSR_P6_MTRRPHYSBASE3 0x00000206
+#define MSR_P6_MTRRPHYSBASE4 0x00000208
+#define MSR_P6_MTRRPHYSBASE5 0x0000020A
+#define MSR_P6_MTRRPHYSBASE6 0x0000020C
+#define MSR_P6_MTRRPHYSBASE7 0x0000020E
/// @}
-
/**
@@ -1206,17 +1176,16 @@ typedef union {
MSR_P6_MTRRPHYSMASK7 is defined as MTRRPHYSMASK7 in SDM.
@{
**/
-#define MSR_P6_MTRRPHYSMASK0 0x00000201
-#define MSR_P6_MTRRPHYSMASK1 0x00000203
-#define MSR_P6_MTRRPHYSMASK2 0x00000205
-#define MSR_P6_MTRRPHYSMASK3 0x00000207
-#define MSR_P6_MTRRPHYSMASK4 0x00000209
-#define MSR_P6_MTRRPHYSMASK5 0x0000020B
-#define MSR_P6_MTRRPHYSMASK6 0x0000020D
-#define MSR_P6_MTRRPHYSMASK7 0x0000020F
+#define MSR_P6_MTRRPHYSMASK0 0x00000201
+#define MSR_P6_MTRRPHYSMASK1 0x00000203
+#define MSR_P6_MTRRPHYSMASK2 0x00000205
+#define MSR_P6_MTRRPHYSMASK3 0x00000207
+#define MSR_P6_MTRRPHYSMASK4 0x00000209
+#define MSR_P6_MTRRPHYSMASK5 0x0000020B
+#define MSR_P6_MTRRPHYSMASK6 0x0000020D
+#define MSR_P6_MTRRPHYSMASK7 0x0000020F
/// @}
-
/**
@@ -1233,8 +1202,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX64K_00000 is defined as MTRRFIX64K_00000 in SDM.
**/
-#define MSR_P6_MTRRFIX64K_00000 0x00000250
-
+#define MSR_P6_MTRRFIX64K_00000 0x00000250
/**
@@ -1252,8 +1220,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX16K_80000 is defined as MTRRFIX16K_80000 in SDM.
**/
-#define MSR_P6_MTRRFIX16K_80000 0x00000258
-
+#define MSR_P6_MTRRFIX16K_80000 0x00000258
/**
@@ -1271,8 +1238,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX16K_A0000 is defined as MTRRFIX16K_A0000 in SDM.
**/
-#define MSR_P6_MTRRFIX16K_A0000 0x00000259
-
+#define MSR_P6_MTRRFIX16K_A0000 0x00000259
/**
@@ -1290,8 +1256,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX4K_C0000 is defined as MTRRFIX4K_C0000 in SDM.
**/
-#define MSR_P6_MTRRFIX4K_C0000 0x00000268
-
+#define MSR_P6_MTRRFIX4K_C0000 0x00000268
/**
@@ -1309,8 +1274,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX4K_C8000 is defined as MTRRFIX4K_C8000 in SDM.
**/
-#define MSR_P6_MTRRFIX4K_C8000 0x00000269
-
+#define MSR_P6_MTRRFIX4K_C8000 0x00000269
/**
@@ -1328,8 +1292,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX4K_D0000 is defined as MTRRFIX4K_D0000 in SDM.
**/
-#define MSR_P6_MTRRFIX4K_D0000 0x0000026A
-
+#define MSR_P6_MTRRFIX4K_D0000 0x0000026A
/**
@@ -1347,8 +1310,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX4K_D8000 is defined as MTRRFIX4K_D8000 in SDM.
**/
-#define MSR_P6_MTRRFIX4K_D8000 0x0000026B
-
+#define MSR_P6_MTRRFIX4K_D8000 0x0000026B
/**
@@ -1366,8 +1328,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX4K_E0000 is defined as MTRRFIX4K_E0000 in SDM.
**/
-#define MSR_P6_MTRRFIX4K_E0000 0x0000026C
-
+#define MSR_P6_MTRRFIX4K_E0000 0x0000026C
/**
@@ -1385,8 +1346,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX4K_E8000 is defined as MTRRFIX4K_E8000 in SDM.
**/
-#define MSR_P6_MTRRFIX4K_E8000 0x0000026D
-
+#define MSR_P6_MTRRFIX4K_E8000 0x0000026D
/**
@@ -1404,8 +1364,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX4K_F0000 is defined as MTRRFIX4K_F0000 in SDM.
**/
-#define MSR_P6_MTRRFIX4K_F0000 0x0000026E
-
+#define MSR_P6_MTRRFIX4K_F0000 0x0000026E
/**
@@ -1423,8 +1382,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRFIX4K_F8000 is defined as MTRRFIX4K_F8000 in SDM.
**/
-#define MSR_P6_MTRRFIX4K_F8000 0x0000026F
-
+#define MSR_P6_MTRRFIX4K_F8000 0x0000026F
/**
@@ -1444,7 +1402,7 @@ typedef union {
@endcode
@note MSR_P6_MTRRDEFTYPE is defined as MTRRDEFTYPE in SDM.
**/
-#define MSR_P6_MTRRDEFTYPE 0x000002FF
+#define MSR_P6_MTRRDEFTYPE 0x000002FF
/**
MSR information returned for MSR index #MSR_P6_MTRRDEFTYPE
@@ -1457,30 +1415,29 @@ typedef union {
///
/// [Bits 2:0] Default memory type.
///
- UINT32 Type:3;
- UINT32 Reserved1:7;
+ UINT32 Type : 3;
+ UINT32 Reserved1 : 7;
///
/// [Bit 10] Fixed MTRR enable.
///
- UINT32 FE:1;
+ UINT32 FE : 1;
///
/// [Bit 11] MTRR Enable.
///
- UINT32 E:1;
- UINT32 Reserved2:20;
- UINT32 Reserved3:32;
+ UINT32 E : 1;
+ UINT32 Reserved2 : 20;
+ UINT32 Reserved3 : 32;
} Bits;
///
/// All bit fields as a 32-bit value
///
- UINT32 Uint32;
+ UINT32 Uint32;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_MTRRDEFTYPE_REGISTER;
-
/**
@@ -1502,14 +1459,13 @@ typedef union {
MSR_P6_MC4_CTL is defined as MC4_CTL in SDM.
@{
**/
-#define MSR_P6_MC0_CTL 0x00000400
-#define MSR_P6_MC1_CTL 0x00000404
-#define MSR_P6_MC2_CTL 0x00000408
-#define MSR_P6_MC3_CTL 0x00000410
-#define MSR_P6_MC4_CTL 0x0000040C
+#define MSR_P6_MC0_CTL 0x00000400
+#define MSR_P6_MC1_CTL 0x00000404
+#define MSR_P6_MC2_CTL 0x00000408
+#define MSR_P6_MC3_CTL 0x00000410
+#define MSR_P6_MC4_CTL 0x0000040C
/// @}
-
/**
Bit definitions for MSR_P6_MC4_STATUS are the same as MSR_P6_MC0_STATUS,
@@ -1535,11 +1491,11 @@ typedef union {
MSR_P6_MC4_STATUS is defined as MC4_STATUS in SDM.
@{
**/
-#define MSR_P6_MC0_STATUS 0x00000401
-#define MSR_P6_MC1_STATUS 0x00000405
-#define MSR_P6_MC2_STATUS 0x00000409
-#define MSR_P6_MC3_STATUS 0x00000411
-#define MSR_P6_MC4_STATUS 0x0000040D
+#define MSR_P6_MC0_STATUS 0x00000401
+#define MSR_P6_MC1_STATUS 0x00000405
+#define MSR_P6_MC2_STATUS 0x00000409
+#define MSR_P6_MC3_STATUS 0x00000411
+#define MSR_P6_MC4_STATUS 0x0000040D
/// @}
/**
@@ -1554,49 +1510,48 @@ typedef union {
///
/// [Bits 15:0] MC_STATUS_MCACOD.
///
- UINT32 MC_STATUS_MCACOD:16;
+ UINT32 MC_STATUS_MCACOD : 16;
///
/// [Bits 31:16] MC_STATUS_MSCOD.
///
- UINT32 MC_STATUS_MSCOD:16;
- UINT32 Reserved:25;
+ UINT32 MC_STATUS_MSCOD : 16;
+ UINT32 Reserved : 25;
///
/// [Bit 57] MC_STATUS_DAM.
///
- UINT32 MC_STATUS_DAM:1;
+ UINT32 MC_STATUS_DAM : 1;
///
/// [Bit 58] MC_STATUS_ADDRV.
///
- UINT32 MC_STATUS_ADDRV:1;
+ UINT32 MC_STATUS_ADDRV : 1;
///
/// [Bit 59] MC_STATUS_MISCV.
///
- UINT32 MC_STATUS_MISCV:1;
+ UINT32 MC_STATUS_MISCV : 1;
///
/// [Bit 60] MC_STATUS_EN. (Note: For MC0_STATUS only, this bit is
/// hardcoded to 1.).
///
- UINT32 MC_STATUS_EN:1;
+ UINT32 MC_STATUS_EN : 1;
///
/// [Bit 61] MC_STATUS_UC.
///
- UINT32 MC_STATUS_UC:1;
+ UINT32 MC_STATUS_UC : 1;
///
/// [Bit 62] MC_STATUS_O.
///
- UINT32 MC_STATUS_O:1;
+ UINT32 MC_STATUS_O : 1;
///
/// [Bit 63] MC_STATUS_V.
///
- UINT32 MC_STATUS_V:1;
+ UINT32 MC_STATUS_V : 1;
} Bits;
///
/// All bit fields as a 64-bit value
///
- UINT64 Uint64;
+ UINT64 Uint64;
} MSR_P6_MC_STATUS_REGISTER;
-
/**
MSR_P6_MC4_ADDR is defined in MCA architecture but not implemented in P6 Family processors.
@@ -1619,14 +1574,13 @@ typedef union {
MSR_P6_MC4_ADDR is defined as MC4_ADDR in SDM.
@{
**/
-#define MSR_P6_MC0_ADDR 0x00000402
-#define MSR_P6_MC1_ADDR 0x00000406
-#define MSR_P6_MC2_ADDR 0x0000040A
-#define MSR_P6_MC3_ADDR 0x00000412
-#define MSR_P6_MC4_ADDR 0x0000040E
+#define MSR_P6_MC0_ADDR 0x00000402
+#define MSR_P6_MC1_ADDR 0x00000406
+#define MSR_P6_MC2_ADDR 0x0000040A
+#define MSR_P6_MC3_ADDR 0x00000412
+#define MSR_P6_MC4_ADDR 0x0000040E
/// @}
-
/**
Defined in MCA architecture but not implemented in the P6 family processors.
@@ -1648,11 +1602,11 @@ typedef union {
MSR_P6_MC4_MISC is defined as MC4_MISC in SDM.
@{
**/
-#define MSR_P6_MC0_MISC 0x00000403
-#define MSR_P6_MC1_MISC 0x00000407
-#define MSR_P6_MC2_MISC 0x0000040B
-#define MSR_P6_MC3_MISC 0x00000413
-#define MSR_P6_MC4_MISC 0x0000040F
+#define MSR_P6_MC0_MISC 0x00000403
+#define MSR_P6_MC1_MISC 0x00000407
+#define MSR_P6_MC2_MISC 0x0000040B
+#define MSR_P6_MC3_MISC 0x00000413
+#define MSR_P6_MC4_MISC 0x0000040F
/// @}
#endif