returned is a single 32-bit or 64-bit value, then a data structure is not\r
provided for that MSR.\r
\r
- Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
@par Specification Reference:\r
- Intel(R) 64 and IA-32 Architectures Software Developer's Manual, Volume 3,\r
- September 2016, Chapter 35 Model-Specific-Registers (MSR), Section 35.2.\r
+ Intel(R) 64 and IA-32 Architectures Software Developer's Manual, Volume 4,\r
+ May 2018, Volume 4: Model-Specific-Registers (MSR)\r
\r
**/\r
\r
UINT32 Reserved2:19;\r
UINT32 Reserved3:18;\r
///\r
- /// [Bits 52:50] See Table 35-2.\r
+ /// [Bits 52:50] See Table 2-2.\r
///\r
UINT32 PlatformId:3;\r
UINT32 Reserved4:11;\r
\r
\r
/**\r
- Unique. Control Features in Intel 64Processor (R/W) See Table 35-2.\r
+ Unique. Control Features in Intel 64 Processor (R/W) See Table 2-2.\r
\r
@param ECX MSR_CORE2_FEATURE_CONTROL (0x0000003A)\r
@param EAX Lower 32-bits of MSR value.\r
UINT64 Uint64;\r
} MSR_CORE2_FSB_FREQ_REGISTER;\r
\r
-\r
-/**\r
- Shared.\r
-\r
- @param ECX MSR_CORE2_BBL_CR_CTL3 (0x0000011E)\r
- @param EAX Lower 32-bits of MSR value.\r
- Described by the type MSR_CORE2_BBL_CR_CTL3_REGISTER.\r
- @param EDX Upper 32-bits of MSR value.\r
- Described by the type MSR_CORE2_BBL_CR_CTL3_REGISTER.\r
-\r
- <b>Example usage</b>\r
- @code\r
- MSR_CORE2_BBL_CR_CTL3_REGISTER Msr;\r
-\r
- Msr.Uint64 = AsmReadMsr64 (MSR_CORE2_BBL_CR_CTL3);\r
- AsmWriteMsr64 (MSR_CORE2_BBL_CR_CTL3, Msr.Uint64);\r
- @endcode\r
- @note MSR_CORE2_BBL_CR_CTL3 is defined as MSR_BBL_CR_CTL3 in SDM.\r
-**/\r
-#define MSR_CORE2_BBL_CR_CTL3 0x0000011E\r
-\r
-/**\r
- MSR information returned for MSR index #MSR_CORE2_BBL_CR_CTL3\r
-**/\r
-typedef union {\r
- ///\r
- /// Individual bit fields\r
- ///\r
- struct {\r
- ///\r
- /// [Bit 0] L2 Hardware Enabled (RO) 1 = If the L2 is hardware-enabled 0 =\r
- /// Indicates if the L2 is hardware-disabled.\r
- ///\r
- UINT32 L2HardwareEnabled:1;\r
- UINT32 Reserved1:7;\r
- ///\r
- /// [Bit 8] L2 Enabled (R/W) 1 = L2 cache has been initialized 0 =\r
- /// Disabled (default) Until this bit is set the processor will not\r
- /// respond to the WBINVD instruction or the assertion of the FLUSH# input.\r
- ///\r
- UINT32 L2Enabled:1;\r
- UINT32 Reserved2:14;\r
- ///\r
- /// [Bit 23] L2 Not Present (RO) 1. = L2 Present 2. = L2 Not Present.\r
- ///\r
- UINT32 L2NotPresent:1;\r
- UINT32 Reserved3:8;\r
- UINT32 Reserved4:32;\r
- } Bits;\r
- ///\r
- /// All bit fields as a 32-bit value\r
- ///\r
- UINT32 Uint32;\r
- ///\r
- /// All bit fields as a 64-bit value\r
- ///\r
- UINT64 Uint64;\r
-} MSR_CORE2_BBL_CR_CTL3_REGISTER;\r
-\r
-\r
/**\r
Shared.\r
\r
///\r
struct {\r
///\r
- /// [Bit 0] Fast-Strings Enable See Table 35-2.\r
+ /// [Bit 0] Fast-Strings Enable See Table 2-2.\r
///\r
UINT32 FastStrings:1;\r
UINT32 Reserved1:2;\r
///\r
/// [Bit 3] Unique. Automatic Thermal Control Circuit Enable (R/W) See\r
- /// Table 35-2.\r
+ /// Table 2-2.\r
///\r
UINT32 AutomaticThermalControlCircuit:1;\r
UINT32 Reserved2:3;\r
///\r
- /// [Bit 7] Shared. Performance Monitoring Available (R) See Table 35-2.\r
+ /// [Bit 7] Shared. Performance Monitoring Available (R) See Table 2-2.\r
///\r
UINT32 PerformanceMonitoring:1;\r
UINT32 Reserved3:1;\r
///\r
UINT32 FERR:1;\r
///\r
- /// [Bit 11] Shared. Branch Trace Storage Unavailable (RO) See Table 35-2.\r
+ /// [Bit 11] Shared. Branch Trace Storage Unavailable (RO) See Table 2-2.\r
///\r
UINT32 BTS:1;\r
///\r
/// [Bit 12] Shared. Processor Event Based Sampling Unavailable (RO) See\r
- /// Table 35-2.\r
+ /// Table 2-2.\r
///\r
UINT32 PEBS:1;\r
///\r
UINT32 Reserved4:2;\r
///\r
/// [Bit 16] Shared. Enhanced Intel SpeedStep Technology Enable (R/W) See\r
- /// Table 35-2.\r
+ /// Table 2-2.\r
///\r
UINT32 EIST:1;\r
UINT32 Reserved5:1;\r
///\r
- /// [Bit 18] Shared. ENABLE MONITOR FSM (R/W) See Table 35-2.\r
+ /// [Bit 18] Shared. ENABLE MONITOR FSM (R/W) See Table 2-2.\r
///\r
UINT32 MONITOR:1;\r
///\r
UINT32 EISTLock:1;\r
UINT32 Reserved6:1;\r
///\r
- /// [Bit 22] Shared. Limit CPUID Maxval (R/W) See Table 35-2.\r
+ /// [Bit 22] Shared. Limit CPUID Maxval (R/W) See Table 2-2.\r
///\r
UINT32 LimitCpuidMaxval:1;\r
///\r
- /// [Bit 23] Shared. xTPR Message Disable (R/W) See Table 35-2.\r
+ /// [Bit 23] Shared. xTPR Message Disable (R/W) See Table 2-2.\r
///\r
UINT32 xTPR_Message_Disable:1;\r
UINT32 Reserved7:8;\r
UINT32 Reserved8:2;\r
///\r
- /// [Bit 34] Unique. XD Bit Disable (R/W) See Table 35-2.\r
+ /// [Bit 34] Unique. XD Bit Disable (R/W) See Table 2-2.\r
///\r
UINT32 XD:1;\r
UINT32 Reserved9:2;\r
///\r
struct {\r
///\r
- /// [Bits 5:0] LBR Format. See Table 35-2.\r
+ /// [Bits 5:0] LBR Format. See Table 2-2.\r
///\r
UINT32 LBR_FMT:6;\r
///\r
///\r
UINT32 PEBS_FMT:1;\r
///\r
- /// [Bit 7] PEBSSaveArchRegs. See Table 35-2.\r
+ /// [Bit 7] PEBSSaveArchRegs. See Table 2-2.\r
///\r
UINT32 PEBS_ARCH_REG:1;\r
UINT32 Reserved1:24;\r
\r
\r
/**\r
- Unique. See Section 18.4.2, "Global Counter Control Facilities.".\r
+ Unique. See Section 18.6.2.2, "Global Counter Control Facilities.".\r
\r
@param ECX MSR_CORE2_PERF_GLOBAL_STATUS (0x0000038E)\r
@param EAX Lower 32-bits of MSR value.\r
\r
\r
/**\r
- Unique. See Section 18.4.2, "Global Counter Control Facilities.".\r
+ Unique. See Section 18.6.2.2, "Global Counter Control Facilities.".\r
\r
@param ECX MSR_CORE2_PERF_GLOBAL_CTRL (0x0000038F)\r
@param EAX Lower 32-bits of MSR value.\r
\r
\r
/**\r
- Unique. See Section 18.4.2, "Global Counter Control Facilities.".\r
+ Unique. See Section 18.6.2.2, "Global Counter Control Facilities.".\r
\r
@param ECX MSR_CORE2_PERF_GLOBAL_OVF_CTRL (0x00000390)\r
@param EAX Lower 32-bits of MSR value.\r
\r
\r
/**\r
- Unique. See Table 35-2. See Section 18.4.4, "Processor Event Based Sampling\r
+ Unique. See Table 2-2. See Section 18.6.2.4, "Processor Event Based Sampling\r
(PEBS).".\r
\r
@param ECX MSR_CORE2_PEBS_ENABLE (0x000003F1)\r