2 MSR Definitions for Intel processors based on the Silvermont microarchitecture.
4 Provides defines for Machine Specific Registers(MSR) indexes. Data structures
5 are provided for MSRs that contain one or more bit fields. If the MSR value
6 returned is a single 32-bit or 64-bit value, then a data structure is not
9 Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
10 This program and the accompanying materials
11 are licensed and made available under the terms and conditions of the BSD License
12 which accompanies this distribution. The full text of the license may be found at
13 http://opensource.org/licenses/bsd-license.php
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 @par Specification Reference:
19 Intel(R) 64 and IA-32 Architectures Software Developer's Manual, Volume 4,
20 May 2018, Volume 4: Model-Specific-Registers (MSR)
24 #ifndef __SILVERMONT_MSR_H__
25 #define __SILVERMONT_MSR_H__
27 #include <Register/ArchitecturalMsr.h>
30 Is Intel processors based on the Silvermont microarchitecture?
32 @param DisplayFamily Display Family ID
33 @param DisplayModel Display Model ID
35 @retval TRUE Yes, it is.
36 @retval FALSE No, it isn't.
38 #define IS_SILVERMONT_PROCESSOR(DisplayFamily, DisplayModel) \
39 (DisplayFamily == 0x06 && \
41 DisplayModel == 0x37 || \
42 DisplayModel == 0x4A || \
43 DisplayModel == 0x4D || \
44 DisplayModel == 0x5A || \
45 DisplayModel == 0x5D \
50 Module. Model Specific Platform ID (R).
52 @param ECX MSR_SILVERMONT_PLATFORM_ID (0x00000017)
53 @param EAX Lower 32-bits of MSR value.
54 Described by the type MSR_SILVERMONT_PLATFORM_ID_REGISTER.
55 @param EDX Upper 32-bits of MSR value.
56 Described by the type MSR_SILVERMONT_PLATFORM_ID_REGISTER.
60 MSR_SILVERMONT_PLATFORM_ID_REGISTER Msr;
62 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PLATFORM_ID);
64 @note MSR_SILVERMONT_PLATFORM_ID is defined as MSR_PLATFORM_ID in SDM.
66 #define MSR_SILVERMONT_PLATFORM_ID 0x00000017
69 MSR information returned for MSR index #MSR_SILVERMONT_PLATFORM_ID
73 /// Individual bit fields
78 /// [Bits 12:8] Maximum Qualified Ratio (R) The maximum allowed bus ratio.
80 UINT32 MaximumQualifiedRatio
:5;
84 /// [Bits 52:50] See Table 2-2.
90 /// All bit fields as a 64-bit value
93 } MSR_SILVERMONT_PLATFORM_ID_REGISTER
;
97 Module. Processor Hard Power-On Configuration (R/W) Writes ignored.
99 @param ECX MSR_SILVERMONT_EBL_CR_POWERON (0x0000002A)
100 @param EAX Lower 32-bits of MSR value.
101 Described by the type MSR_SILVERMONT_EBL_CR_POWERON_REGISTER.
102 @param EDX Upper 32-bits of MSR value.
103 Described by the type MSR_SILVERMONT_EBL_CR_POWERON_REGISTER.
107 MSR_SILVERMONT_EBL_CR_POWERON_REGISTER Msr;
109 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_EBL_CR_POWERON);
110 AsmWriteMsr64 (MSR_SILVERMONT_EBL_CR_POWERON, Msr.Uint64);
112 @note MSR_SILVERMONT_EBL_CR_POWERON is defined as MSR_EBL_CR_POWERON in SDM.
114 #define MSR_SILVERMONT_EBL_CR_POWERON 0x0000002A
117 MSR information returned for MSR index #MSR_SILVERMONT_EBL_CR_POWERON
121 /// Individual bit fields
128 /// All bit fields as a 32-bit value
132 /// All bit fields as a 64-bit value
135 } MSR_SILVERMONT_EBL_CR_POWERON_REGISTER
;
139 Core. SMI Counter (R/O).
141 @param ECX MSR_SILVERMONT_SMI_COUNT (0x00000034)
142 @param EAX Lower 32-bits of MSR value.
143 Described by the type MSR_SILVERMONT_SMI_COUNT_REGISTER.
144 @param EDX Upper 32-bits of MSR value.
145 Described by the type MSR_SILVERMONT_SMI_COUNT_REGISTER.
149 MSR_SILVERMONT_SMI_COUNT_REGISTER Msr;
151 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_SMI_COUNT);
153 @note MSR_SILVERMONT_SMI_COUNT is defined as MSR_SMI_COUNT in SDM.
155 #define MSR_SILVERMONT_SMI_COUNT 0x00000034
158 MSR information returned for MSR index #MSR_SILVERMONT_SMI_COUNT
162 /// Individual bit fields
166 /// [Bits 31:0] SMI Count (R/O) Running count of SMI events since last
173 /// All bit fields as a 32-bit value
177 /// All bit fields as a 64-bit value
180 } MSR_SILVERMONT_SMI_COUNT_REGISTER
;
184 Core. Control Features in Intel 64 Processor (R/W). See Table 2-2.
186 @param ECX MSR_IA32_SILVERMONT_FEATURE_CONTROL (0x0000003A)
187 @param EAX Lower 32-bits of MSR value.
188 Described by the type
189 MSR_SILVERMONT_IA32_FEATURE_CONTROL_REGISTER.
190 @param EDX Upper 32-bits of MSR value.
191 Described by the type
192 MSR_SILVERMONT_IA32_FEATURE_CONTROL_REGISTER.
196 MSR_SILVERMONT_IA32_FEATURE_CONTROL_REGISTER Msr;
198 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_IA32_FEATURE_CONTROL);
199 AsmWriteMsr64 (MSR_SILVERMONT_IA32_FEATURE_CONTROL, Msr.Uint64);
201 @note MSR_SILVERMONT_IA32_FEATURE_CONTROL is defined as IA32_FEATURE_CONTROL in SDM.
203 #define MSR_SILVERMONT_IA32_FEATURE_CONTROL 0x0000003A
206 MSR information returned for MSR index #MSR_SILVERMONT_IA32_FEATURE_CONTROL
210 /// Individual bit fields
214 /// [Bit 0] Lock (R/WL).
219 /// [Bit 2] Enable VMX outside SMX operation (R/WL).
221 UINT32 EnableVmxOutsideSmx
:1;
226 /// All bit fields as a 32-bit value
230 /// All bit fields as a 64-bit value
233 } MSR_SILVERMONT_IA32_FEATURE_CONTROL_REGISTER
;
237 Core. Last Branch Record n From IP (R/W) One of eight pairs of last branch
238 record registers on the last branch record stack. The From_IP part of the
239 stack contains pointers to the source instruction. See also: - Last Branch
240 Record Stack TOS at 1C9H - Section 17.5 and record format in Section
243 @param ECX MSR_SILVERMONT_LASTBRANCH_n_FROM_IP
244 @param EAX Lower 32-bits of MSR value.
245 @param EDX Upper 32-bits of MSR value.
251 Msr = AsmReadMsr64 (MSR_SILVERMONT_LASTBRANCH_0_FROM_IP);
252 AsmWriteMsr64 (MSR_SILVERMONT_LASTBRANCH_0_FROM_IP, Msr);
254 @note MSR_SILVERMONT_LASTBRANCH_0_FROM_IP is defined as MSR_LASTBRANCH_0_FROM_IP in SDM.
255 MSR_SILVERMONT_LASTBRANCH_1_FROM_IP is defined as MSR_LASTBRANCH_1_FROM_IP in SDM.
256 MSR_SILVERMONT_LASTBRANCH_2_FROM_IP is defined as MSR_LASTBRANCH_2_FROM_IP in SDM.
257 MSR_SILVERMONT_LASTBRANCH_3_FROM_IP is defined as MSR_LASTBRANCH_3_FROM_IP in SDM.
258 MSR_SILVERMONT_LASTBRANCH_4_FROM_IP is defined as MSR_LASTBRANCH_4_FROM_IP in SDM.
259 MSR_SILVERMONT_LASTBRANCH_5_FROM_IP is defined as MSR_LASTBRANCH_5_FROM_IP in SDM.
260 MSR_SILVERMONT_LASTBRANCH_6_FROM_IP is defined as MSR_LASTBRANCH_6_FROM_IP in SDM.
261 MSR_SILVERMONT_LASTBRANCH_7_FROM_IP is defined as MSR_LASTBRANCH_7_FROM_IP in SDM.
264 #define MSR_SILVERMONT_LASTBRANCH_0_FROM_IP 0x00000040
265 #define MSR_SILVERMONT_LASTBRANCH_1_FROM_IP 0x00000041
266 #define MSR_SILVERMONT_LASTBRANCH_2_FROM_IP 0x00000042
267 #define MSR_SILVERMONT_LASTBRANCH_3_FROM_IP 0x00000043
268 #define MSR_SILVERMONT_LASTBRANCH_4_FROM_IP 0x00000044
269 #define MSR_SILVERMONT_LASTBRANCH_5_FROM_IP 0x00000045
270 #define MSR_SILVERMONT_LASTBRANCH_6_FROM_IP 0x00000046
271 #define MSR_SILVERMONT_LASTBRANCH_7_FROM_IP 0x00000047
276 Core. Last Branch Record n To IP (R/W) One of eight pairs of last branch
277 record registers on the last branch record stack. The To_IP part of the
278 stack contains pointers to the destination instruction.
280 @param ECX MSR_SILVERMONT_LASTBRANCH_n_TO_IP
281 @param EAX Lower 32-bits of MSR value.
282 @param EDX Upper 32-bits of MSR value.
288 Msr = AsmReadMsr64 (MSR_SILVERMONT_LASTBRANCH_0_TO_IP);
289 AsmWriteMsr64 (MSR_SILVERMONT_LASTBRANCH_0_TO_IP, Msr);
291 @note MSR_SILVERMONT_LASTBRANCH_0_TO_IP is defined as MSR_LASTBRANCH_0_TO_IP in SDM.
292 MSR_SILVERMONT_LASTBRANCH_1_TO_IP is defined as MSR_LASTBRANCH_1_TO_IP in SDM.
293 MSR_SILVERMONT_LASTBRANCH_2_TO_IP is defined as MSR_LASTBRANCH_2_TO_IP in SDM.
294 MSR_SILVERMONT_LASTBRANCH_3_TO_IP is defined as MSR_LASTBRANCH_3_TO_IP in SDM.
295 MSR_SILVERMONT_LASTBRANCH_4_TO_IP is defined as MSR_LASTBRANCH_4_TO_IP in SDM.
296 MSR_SILVERMONT_LASTBRANCH_5_TO_IP is defined as MSR_LASTBRANCH_5_TO_IP in SDM.
297 MSR_SILVERMONT_LASTBRANCH_6_TO_IP is defined as MSR_LASTBRANCH_6_TO_IP in SDM.
298 MSR_SILVERMONT_LASTBRANCH_7_TO_IP is defined as MSR_LASTBRANCH_7_TO_IP in SDM.
301 #define MSR_SILVERMONT_LASTBRANCH_0_TO_IP 0x00000060
302 #define MSR_SILVERMONT_LASTBRANCH_1_TO_IP 0x00000061
303 #define MSR_SILVERMONT_LASTBRANCH_2_TO_IP 0x00000062
304 #define MSR_SILVERMONT_LASTBRANCH_3_TO_IP 0x00000063
305 #define MSR_SILVERMONT_LASTBRANCH_4_TO_IP 0x00000064
306 #define MSR_SILVERMONT_LASTBRANCH_5_TO_IP 0x00000065
307 #define MSR_SILVERMONT_LASTBRANCH_6_TO_IP 0x00000066
308 #define MSR_SILVERMONT_LASTBRANCH_7_TO_IP 0x00000067
313 Module. Scalable Bus Speed(RO) This field indicates the intended scalable
314 bus clock speed for processors based on Silvermont microarchitecture:.
316 @param ECX MSR_SILVERMONT_FSB_FREQ (0x000000CD)
317 @param EAX Lower 32-bits of MSR value.
318 Described by the type MSR_SILVERMONT_FSB_FREQ_REGISTER.
319 @param EDX Upper 32-bits of MSR value.
320 Described by the type MSR_SILVERMONT_FSB_FREQ_REGISTER.
324 MSR_SILVERMONT_FSB_FREQ_REGISTER Msr;
326 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_FSB_FREQ);
328 @note MSR_SILVERMONT_FSB_FREQ is defined as MSR_FSB_FREQ in SDM.
330 #define MSR_SILVERMONT_FSB_FREQ 0x000000CD
333 MSR information returned for MSR index #MSR_SILVERMONT_FSB_FREQ
337 /// Individual bit fields
341 /// [Bits 3:0] Scalable Bus Speed
343 /// Silvermont Processor Family
344 /// ---------------------------
351 /// Airmont Processor Family
352 /// ---------------------------
363 UINT32 ScalableBusSpeed
:4;
368 /// All bit fields as a 32-bit value
372 /// All bit fields as a 64-bit value
375 } MSR_SILVERMONT_FSB_FREQ_REGISTER
;
379 Module. C-State Configuration Control (R/W) Note: C-state values are
380 processor specific C-state code names, unrelated to MWAIT extension C-state
381 parameters or ACPI CStates. See http://biosbits.org.
383 @param ECX MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL (0x000000E2)
384 @param EAX Lower 32-bits of MSR value.
385 Described by the type MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL_REGISTER.
386 @param EDX Upper 32-bits of MSR value.
387 Described by the type MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL_REGISTER.
391 MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL_REGISTER Msr;
393 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL);
394 AsmWriteMsr64 (MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL, Msr.Uint64);
396 @note MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL is defined as MSR_PKG_CST_CONFIG_CONTROL in SDM.
398 #define MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL 0x000000E2
401 MSR information returned for MSR index #MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL
405 /// Individual bit fields
409 /// [Bits 2:0] Package C-State Limit (R/W) Specifies the lowest
410 /// processor-specific C-state code name (consuming the least power). for
411 /// the package. The default is set as factory-configured package C-state
412 /// limit. The following C-state code name encodings are supported: 000b:
413 /// C0 (no package C-sate support) 001b: C1 (Behavior is the same as 000b)
414 /// 100b: C4 110b: C6 111b: C7 (Silvermont only).
419 /// [Bit 10] I/O MWAIT Redirection Enable (R/W) When set, will map
420 /// IO_read instructions sent to IO register specified by
421 /// MSR_PMG_IO_CAPTURE_BASE to MWAIT instructions.
426 /// [Bit 15] CFG Lock (R/WO) When set, lock bits 15:0 of this register
427 /// until next reset.
434 /// All bit fields as a 32-bit value
438 /// All bit fields as a 64-bit value
441 } MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL_REGISTER
;
445 Module. Power Management IO Redirection in C-state (R/W) See
448 @param ECX MSR_SILVERMONT_PMG_IO_CAPTURE_BASE (0x000000E4)
449 @param EAX Lower 32-bits of MSR value.
450 Described by the type MSR_SILVERMONT_PMG_IO_CAPTURE_BASE_REGISTER.
451 @param EDX Upper 32-bits of MSR value.
452 Described by the type MSR_SILVERMONT_PMG_IO_CAPTURE_BASE_REGISTER.
456 MSR_SILVERMONT_PMG_IO_CAPTURE_BASE_REGISTER Msr;
458 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PMG_IO_CAPTURE_BASE);
459 AsmWriteMsr64 (MSR_SILVERMONT_PMG_IO_CAPTURE_BASE, Msr.Uint64);
461 @note MSR_SILVERMONT_PMG_IO_CAPTURE_BASE is defined as MSR_PMG_IO_CAPTURE_BASE in SDM.
463 #define MSR_SILVERMONT_PMG_IO_CAPTURE_BASE 0x000000E4
466 MSR information returned for MSR index #MSR_SILVERMONT_PMG_IO_CAPTURE_BASE
470 /// Individual bit fields
474 /// [Bits 15:0] LVL_2 Base Address (R/W) Specifies the base address
475 /// visible to software for IO redirection. If IO MWAIT Redirection is
476 /// enabled, reads to this address will be consumed by the power
477 /// management logic and decoded to MWAIT instructions. When IO port
478 /// address redirection is enabled, this is the IO port address reported
479 /// to the OS/software.
483 /// [Bits 18:16] C-state Range (R/W) Specifies the encoding value of the
484 /// maximum C-State code name to be included when IO read to MWAIT
485 /// redirection is enabled by MSR_PKG_CST_CONFIG_CONTROL[bit10]: 100b - C4
486 /// is the max C-State to include 110b - C6 is the max C-State to include
487 /// 111b - C7 is the max C-State to include.
489 UINT32 CStateRange
:3;
494 /// All bit fields as a 32-bit value
498 /// All bit fields as a 64-bit value
501 } MSR_SILVERMONT_PMG_IO_CAPTURE_BASE_REGISTER
;
507 @param ECX MSR_SILVERMONT_BBL_CR_CTL3 (0x0000011E)
508 @param EAX Lower 32-bits of MSR value.
509 Described by the type MSR_SILVERMONT_BBL_CR_CTL3_REGISTER.
510 @param EDX Upper 32-bits of MSR value.
511 Described by the type MSR_SILVERMONT_BBL_CR_CTL3_REGISTER.
515 MSR_SILVERMONT_BBL_CR_CTL3_REGISTER Msr;
517 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_BBL_CR_CTL3);
518 AsmWriteMsr64 (MSR_SILVERMONT_BBL_CR_CTL3, Msr.Uint64);
520 @note MSR_SILVERMONT_BBL_CR_CTL3 is defined as MSR_BBL_CR_CTL3 in SDM.
522 #define MSR_SILVERMONT_BBL_CR_CTL3 0x0000011E
525 MSR information returned for MSR index #MSR_SILVERMONT_BBL_CR_CTL3
529 /// Individual bit fields
533 /// [Bit 0] L2 Hardware Enabled (RO) 1 = If the L2 is hardware-enabled 0 =
534 /// Indicates if the L2 is hardware-disabled.
536 UINT32 L2HardwareEnabled
:1;
539 /// [Bit 8] L2 Enabled. (R/W) 1 = L2 cache has been initialized 0 =
540 /// Disabled (default) Until this bit is set the processor will not
541 /// respond to the WBINVD instruction or the assertion of the FLUSH# input.
546 /// [Bit 23] L2 Not Present (RO) 1. = L2 Present 2. = L2 Not Present.
548 UINT32 L2NotPresent
:1;
553 /// All bit fields as a 32-bit value
557 /// All bit fields as a 64-bit value
560 } MSR_SILVERMONT_BBL_CR_CTL3_REGISTER
;
564 Core. AES Configuration (RW-L) Privileged post-BIOS agent must provide a #GP
565 handler to handle unsuccessful read of this MSR.
567 @param ECX MSR_SILVERMONT_FEATURE_CONFIG (0x0000013C)
568 @param EAX Lower 32-bits of MSR value.
569 Described by the type MSR_SILVERMONT_FEATURE_CONFIG_REGISTER.
570 @param EDX Upper 32-bits of MSR value.
571 Described by the type MSR_SILVERMONT_FEATURE_CONFIG_REGISTER.
575 MSR_SILVERMONT_FEATURE_CONFIG_REGISTER Msr;
577 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_FEATURE_CONFIG);
578 AsmWriteMsr64 (MSR_SILVERMONT_FEATURE_CONFIG, Msr.Uint64);
580 @note MSR_SILVERMONT_FEATURE_CONFIG is defined as MSR_FEATURE_CONFIG in SDM.
582 #define MSR_SILVERMONT_FEATURE_CONFIG 0x0000013C
585 MSR information returned for MSR index #MSR_SILVERMONT_FEATURE_CONFIG
589 /// Individual bit fields
593 /// [Bits 1:0] AES Configuration (RW-L) Upon a successful read of this
594 /// MSR, the configuration of AES instruction set availability is as
595 /// follows: 11b: AES instructions are not available until next RESET.
596 /// otherwise, AES instructions are available. Note, AES instruction set
597 /// is not available if read is unsuccessful. If the configuration is not
598 /// 01b, AES instruction can be mis-configured if a privileged agent
599 /// unintentionally writes 11b.
601 UINT32 AESConfiguration
:2;
606 /// All bit fields as a 32-bit value
610 /// All bit fields as a 64-bit value
613 } MSR_SILVERMONT_FEATURE_CONFIG_REGISTER
;
617 Enable Misc. Processor Features (R/W) Allows a variety of processor
618 functions to be enabled and disabled.
620 @param ECX MSR_SILVERMONT_IA32_MISC_ENABLE (0x000001A0)
621 @param EAX Lower 32-bits of MSR value.
622 Described by the type MSR_SILVERMONT_IA32_MISC_ENABLE_REGISTER.
623 @param EDX Upper 32-bits of MSR value.
624 Described by the type MSR_SILVERMONT_IA32_MISC_ENABLE_REGISTER.
628 MSR_SILVERMONT_IA32_MISC_ENABLE_REGISTER Msr;
630 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_IA32_MISC_ENABLE);
631 AsmWriteMsr64 (MSR_SILVERMONT_IA32_MISC_ENABLE, Msr.Uint64);
633 @note MSR_SILVERMONT_IA32_MISC_ENABLE is defined as IA32_MISC_ENABLE in SDM.
635 #define MSR_SILVERMONT_IA32_MISC_ENABLE 0x000001A0
638 MSR information returned for MSR index #MSR_SILVERMONT_IA32_MISC_ENABLE
642 /// Individual bit fields
646 /// [Bit 0] Core. Fast-Strings Enable See Table 2-2.
648 UINT32 FastStrings
:1;
651 /// [Bit 3] Module. Automatic Thermal Control Circuit Enable (R/W) See
652 /// Table 2-2. Default value is 0.
654 UINT32 AutomaticThermalControlCircuit
:1;
657 /// [Bit 7] Core. Performance Monitoring Available (R) See Table 2-2.
659 UINT32 PerformanceMonitoring
:1;
662 /// [Bit 11] Core. Branch Trace Storage Unavailable (RO) See Table 2-2.
666 /// [Bit 12] Core. Processor Event Based Sampling Unavailable (RO) See
672 /// [Bit 16] Module. Enhanced Intel SpeedStep Technology Enable (R/W) See
678 /// [Bit 18] Core. ENABLE MONITOR FSM (R/W) See Table 2-2.
683 /// [Bit 22] Core. Limit CPUID Maxval (R/W) See Table 2-2.
685 UINT32 LimitCpuidMaxval
:1;
687 /// [Bit 23] Module. xTPR Message Disable (R/W) See Table 2-2.
689 UINT32 xTPR_Message_Disable
:1;
693 /// [Bit 34] Core. XD Bit Disable (R/W) See Table 2-2.
698 /// [Bit 38] Module. Turbo Mode Disable (R/W) When set to 1 on processors
699 /// that support Intel Turbo Boost Technology, the turbo mode feature is
700 /// disabled and the IDA_Enable feature flag will be clear (CPUID.06H:
701 /// EAX[1]=0). When set to a 0 on processors that support IDA, CPUID.06H:
702 /// EAX[1] reports the processor's support of turbo mode is enabled. Note:
703 /// the power-on default value is used by BIOS to detect hardware support
704 /// of turbo mode. If power-on default value is 1, turbo mode is available
705 /// in the processor. If power-on default value is 0, turbo mode is not
708 UINT32 TurboModeDisable
:1;
709 UINT32 Reserved10
:25;
712 /// All bit fields as a 64-bit value
715 } MSR_SILVERMONT_IA32_MISC_ENABLE_REGISTER
;
721 @param ECX MSR_SILVERMONT_TEMPERATURE_TARGET (0x000001A2)
722 @param EAX Lower 32-bits of MSR value.
723 Described by the type MSR_SILVERMONT_TEMPERATURE_TARGET_REGISTER.
724 @param EDX Upper 32-bits of MSR value.
725 Described by the type MSR_SILVERMONT_TEMPERATURE_TARGET_REGISTER.
729 MSR_SILVERMONT_TEMPERATURE_TARGET_REGISTER Msr;
731 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_TEMPERATURE_TARGET);
732 AsmWriteMsr64 (MSR_SILVERMONT_TEMPERATURE_TARGET, Msr.Uint64);
734 @note MSR_SILVERMONT_TEMPERATURE_TARGET is defined as MSR_TEMPERATURE_TARGET in SDM.
736 #define MSR_SILVERMONT_TEMPERATURE_TARGET 0x000001A2
739 MSR information returned for MSR index #MSR_SILVERMONT_TEMPERATURE_TARGET
743 /// Individual bit fields
748 /// [Bits 23:16] Temperature Target (R) The default thermal throttling or
749 /// PROCHOT# activation temperature in degree C, The effective temperature
750 /// for thermal throttling or PROCHOT# activation is "Temperature Target"
751 /// + "Target Offset".
753 UINT32 TemperatureTarget
:8;
755 /// [Bits 29:24] Target Offset (R/W) Specifies an offset in degrees C to
756 /// adjust the throttling and PROCHOT# activation temperature from the
757 /// default target specified in TEMPERATURE_TARGET (bits 23:16).
759 UINT32 TargetOffset
:6;
764 /// All bit fields as a 32-bit value
768 /// All bit fields as a 64-bit value
771 } MSR_SILVERMONT_TEMPERATURE_TARGET_REGISTER
;
775 Miscellaneous Feature Control (R/W).
777 @param ECX MSR_SILVERMONT_MISC_FEATURE_CONTROL (0x000001A4)
778 @param EAX Lower 32-bits of MSR value.
779 Described by the type MSR_SILVERMONT_MISC_FEATURE_CONTROL_REGISTER.
780 @param EDX Upper 32-bits of MSR value.
781 Described by the type MSR_SILVERMONT_MISC_FEATURE_CONTROL_REGISTER.
785 MSR_SILVERMONT_MISC_FEATURE_CONTROL_REGISTER Msr;
787 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_MISC_FEATURE_CONTROL);
788 AsmWriteMsr64 (MSR_SILVERMONT_MISC_FEATURE_CONTROL, Msr.Uint64);
790 @note MSR_SILVERMONT_MISC_FEATURE_CONTROL is defined as MSR_MISC_FEATURE_CONTROL in SDM.
792 #define MSR_SILVERMONT_MISC_FEATURE_CONTROL 0x000001A4
795 MSR information returned for MSR index #MSR_SILVERMONT_MISC_FEATURE_CONTROL
799 /// Individual bit fields
803 /// [Bit 0] Core. L2 Hardware Prefetcher Disable (R/W) If 1, disables the
804 /// L2 hardware prefetcher, which fetches additional lines of code or data
805 /// into the L2 cache.
807 UINT32 L2HardwarePrefetcherDisable
:1;
810 /// [Bit 2] Core. DCU Hardware Prefetcher Disable (R/W) If 1, disables
811 /// the L1 data cache prefetcher, which fetches the next cache line into
814 UINT32 DCUHardwarePrefetcherDisable
:1;
819 /// All bit fields as a 32-bit value
823 /// All bit fields as a 64-bit value
826 } MSR_SILVERMONT_MISC_FEATURE_CONTROL_REGISTER
;
830 Module. Offcore Response Event Select Register (R/W).
832 @param ECX MSR_SILVERMONT_OFFCORE_RSP_0 (0x000001A6)
833 @param EAX Lower 32-bits of MSR value.
834 @param EDX Upper 32-bits of MSR value.
840 Msr = AsmReadMsr64 (MSR_SILVERMONT_OFFCORE_RSP_0);
841 AsmWriteMsr64 (MSR_SILVERMONT_OFFCORE_RSP_0, Msr);
843 @note MSR_SILVERMONT_OFFCORE_RSP_0 is defined as MSR_OFFCORE_RSP_0 in SDM.
845 #define MSR_SILVERMONT_OFFCORE_RSP_0 0x000001A6
849 Module. Offcore Response Event Select Register (R/W).
851 @param ECX MSR_SILVERMONT_OFFCORE_RSP_1 (0x000001A7)
852 @param EAX Lower 32-bits of MSR value.
853 @param EDX Upper 32-bits of MSR value.
859 Msr = AsmReadMsr64 (MSR_SILVERMONT_OFFCORE_RSP_1);
860 AsmWriteMsr64 (MSR_SILVERMONT_OFFCORE_RSP_1, Msr);
862 @note MSR_SILVERMONT_OFFCORE_RSP_1 is defined as MSR_OFFCORE_RSP_1 in SDM.
864 #define MSR_SILVERMONT_OFFCORE_RSP_1 0x000001A7
868 Package. Maximum Ratio Limit of Turbo Mode (RW).
870 @param ECX MSR_SILVERMONT_TURBO_RATIO_LIMIT (0x000001AD)
871 @param EAX Lower 32-bits of MSR value.
872 Described by the type MSR_SILVERMONT_TURBO_RATIO_LIMIT_REGISTER.
873 @param EDX Upper 32-bits of MSR value.
874 Described by the type MSR_SILVERMONT_TURBO_RATIO_LIMIT_REGISTER.
878 MSR_SILVERMONT_TURBO_RATIO_LIMIT_REGISTER Msr;
880 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_TURBO_RATIO_LIMIT);
881 AsmWriteMsr64 (MSR_SILVERMONT_TURBO_RATIO_LIMIT, Msr.Uint64);
883 @note MSR_SILVERMONT_TURBO_RATIO_LIMIT is defined as MSR_TURBO_RATIO_LIMIT in SDM.
885 #define MSR_SILVERMONT_TURBO_RATIO_LIMIT 0x000001AD
888 MSR information returned for MSR index #MSR_SILVERMONT_TURBO_RATIO_LIMIT
892 /// Individual bit fields
896 /// [Bits 7:0] Package. Maximum Ratio Limit for 1C Maximum turbo ratio
897 /// limit of 1 core active.
901 /// [Bits 15:8] Package. Maximum Ratio Limit for 2C Maximum turbo ratio
902 /// limit of 2 core active.
906 /// [Bits 23:16] Package. Maximum Ratio Limit for 3C Maximum turbo ratio
907 /// limit of 3 core active.
911 /// [Bits 31:24] Package. Maximum Ratio Limit for 4C Maximum turbo ratio
912 /// limit of 4 core active.
916 /// [Bits 39:32] Package. Maximum Ratio Limit for 5C Maximum turbo ratio
917 /// limit of 5 core active.
921 /// [Bits 47:40] Package. Maximum Ratio Limit for 6C Maximum turbo ratio
922 /// limit of 6 core active.
926 /// [Bits 55:48] Package. Maximum Ratio Limit for 7C Maximum turbo ratio
927 /// limit of 7 core active.
931 /// [Bits 63:56] Package. Maximum Ratio Limit for 8C Maximum turbo ratio
932 /// limit of 8 core active.
937 /// All bit fields as a 64-bit value
940 } MSR_SILVERMONT_TURBO_RATIO_LIMIT_REGISTER
;
944 Core. Last Branch Record Filtering Select Register (R/W) See Section 17.9.2,
945 "Filtering of Last Branch Records.".
947 @param ECX MSR_SILVERMONT_LBR_SELECT (0x000001C8)
948 @param EAX Lower 32-bits of MSR value.
949 Described by the type MSR_SILVERMONT_LBR_SELECT_REGISTER.
950 @param EDX Upper 32-bits of MSR value.
951 Described by the type MSR_SILVERMONT_LBR_SELECT_REGISTER.
955 MSR_SILVERMONT_LBR_SELECT_REGISTER Msr;
957 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_LBR_SELECT);
958 AsmWriteMsr64 (MSR_SILVERMONT_LBR_SELECT, Msr.Uint64);
960 @note MSR_SILVERMONT_LBR_SELECT is defined as MSR_LBR_SELECT in SDM.
962 #define MSR_SILVERMONT_LBR_SELECT 0x000001C8
965 MSR information returned for MSR index #MSR_SILVERMONT_LBR_SELECT
969 /// Individual bit fields
973 /// [Bit 0] CPL_EQ_0.
977 /// [Bit 1] CPL_NEQ_0.
985 /// [Bit 3] NEAR_REL_CALL.
987 UINT32 NEAR_REL_CALL
:1;
989 /// [Bit 4] NEAR_IND_CALL.
991 UINT32 NEAR_IND_CALL
:1;
993 /// [Bit 5] NEAR_RET.
997 /// [Bit 6] NEAR_IND_JMP.
999 UINT32 NEAR_IND_JMP
:1;
1001 /// [Bit 7] NEAR_REL_JMP.
1003 UINT32 NEAR_REL_JMP
:1;
1005 /// [Bit 8] FAR_BRANCH.
1007 UINT32 FAR_BRANCH
:1;
1008 UINT32 Reserved1
:23;
1009 UINT32 Reserved2
:32;
1012 /// All bit fields as a 32-bit value
1016 /// All bit fields as a 64-bit value
1019 } MSR_SILVERMONT_LBR_SELECT_REGISTER
;
1023 Core. Last Branch Record Stack TOS (R/W) Contains an index (bits 0-2) that
1024 points to the MSR containing the most recent branch record. See
1025 MSR_LASTBRANCH_0_FROM_IP.
1027 @param ECX MSR_SILVERMONT_LASTBRANCH_TOS (0x000001C9)
1028 @param EAX Lower 32-bits of MSR value.
1029 @param EDX Upper 32-bits of MSR value.
1031 <b>Example usage</b>
1035 Msr = AsmReadMsr64 (MSR_SILVERMONT_LASTBRANCH_TOS);
1036 AsmWriteMsr64 (MSR_SILVERMONT_LASTBRANCH_TOS, Msr);
1038 @note MSR_SILVERMONT_LASTBRANCH_TOS is defined as MSR_LASTBRANCH_TOS in SDM.
1040 #define MSR_SILVERMONT_LASTBRANCH_TOS 0x000001C9
1044 Core. Last Exception Record From Linear IP (R) Contains a pointer to the
1045 last branch instruction that the processor executed prior to the last
1046 exception that was generated or the last interrupt that was handled.
1048 @param ECX MSR_SILVERMONT_LER_FROM_LIP (0x000001DD)
1049 @param EAX Lower 32-bits of MSR value.
1050 @param EDX Upper 32-bits of MSR value.
1052 <b>Example usage</b>
1056 Msr = AsmReadMsr64 (MSR_SILVERMONT_LER_FROM_LIP);
1058 @note MSR_SILVERMONT_LER_FROM_LIP is defined as MSR_LER_FROM_LIP in SDM.
1060 #define MSR_SILVERMONT_LER_FROM_LIP 0x000001DD
1064 Core. Last Exception Record To Linear IP (R) This area contains a pointer
1065 to the target of the last branch instruction that the processor executed
1066 prior to the last exception that was generated or the last interrupt that
1069 @param ECX MSR_SILVERMONT_LER_TO_LIP (0x000001DE)
1070 @param EAX Lower 32-bits of MSR value.
1071 @param EDX Upper 32-bits of MSR value.
1073 <b>Example usage</b>
1077 Msr = AsmReadMsr64 (MSR_SILVERMONT_LER_TO_LIP);
1079 @note MSR_SILVERMONT_LER_TO_LIP is defined as MSR_LER_TO_LIP in SDM.
1081 #define MSR_SILVERMONT_LER_TO_LIP 0x000001DE
1085 Core. See Table 2-2. See Section 18.6.2.4, "Processor Event Based Sampling
1088 @param ECX MSR_SILVERMONT_PEBS_ENABLE (0x000003F1)
1089 @param EAX Lower 32-bits of MSR value.
1090 Described by the type MSR_SILVERMONT_PEBS_ENABLE_REGISTER.
1091 @param EDX Upper 32-bits of MSR value.
1092 Described by the type MSR_SILVERMONT_PEBS_ENABLE_REGISTER.
1094 <b>Example usage</b>
1096 MSR_SILVERMONT_PEBS_ENABLE_REGISTER Msr;
1098 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PEBS_ENABLE);
1099 AsmWriteMsr64 (MSR_SILVERMONT_PEBS_ENABLE, Msr.Uint64);
1101 @note MSR_SILVERMONT_PEBS_ENABLE is defined as MSR_PEBS_ENABLE in SDM.
1103 #define MSR_SILVERMONT_PEBS_ENABLE 0x000003F1
1106 MSR information returned for MSR index #MSR_SILVERMONT_PEBS_ENABLE
1110 /// Individual bit fields
1114 /// [Bit 0] Enable PEBS for precise event on IA32_PMC0. (R/W).
1117 UINT32 Reserved1
:31;
1118 UINT32 Reserved2
:32;
1121 /// All bit fields as a 32-bit value
1125 /// All bit fields as a 64-bit value
1128 } MSR_SILVERMONT_PEBS_ENABLE_REGISTER
;
1132 Package. Note: C-state values are processor specific C-state code names,
1133 unrelated to MWAIT extension C-state parameters or ACPI CStates. Package C6
1134 Residency Counter. (R/O) Value since last reset that this package is in
1135 processor-specific C6 states. Counts at the TSC Frequency.
1137 @param ECX MSR_SILVERMONT_PKG_C6_RESIDENCY (0x000003FA)
1138 @param EAX Lower 32-bits of MSR value.
1139 @param EDX Upper 32-bits of MSR value.
1141 <b>Example usage</b>
1145 Msr = AsmReadMsr64 (MSR_SILVERMONT_PKG_C6_RESIDENCY);
1146 AsmWriteMsr64 (MSR_SILVERMONT_PKG_C6_RESIDENCY, Msr);
1148 @note MSR_SILVERMONT_PKG_C6_RESIDENCY is defined as MSR_PKG_C6_RESIDENCY in SDM.
1150 #define MSR_SILVERMONT_PKG_C6_RESIDENCY 0x000003FA
1154 Core. Note: C-state values are processor specific C-state code names,
1155 unrelated to MWAIT extension C-state parameters or ACPI CStates. CORE C6
1156 Residency Counter. (R/O) Value since last reset that this core is in
1157 processor-specific C6 states. Counts at the TSC Frequency.
1159 @param ECX MSR_SILVERMONT_CORE_C6_RESIDENCY (0x000003FD)
1160 @param EAX Lower 32-bits of MSR value.
1161 @param EDX Upper 32-bits of MSR value.
1163 <b>Example usage</b>
1167 Msr = AsmReadMsr64 (MSR_SILVERMONT_CORE_C6_RESIDENCY);
1168 AsmWriteMsr64 (MSR_SILVERMONT_CORE_C6_RESIDENCY, Msr);
1170 @note MSR_SILVERMONT_CORE_C6_RESIDENCY is defined as MSR_CORE_C6_RESIDENCY in SDM.
1172 #define MSR_SILVERMONT_CORE_C6_RESIDENCY 0x000003FD
1176 Core. Capability Reporting Register of EPT and VPID (R/O) See Table 2-2.
1178 @param ECX MSR_SILVERMONT_IA32_VMX_EPT_VPID_ENUM (0x0000048C)
1179 @param EAX Lower 32-bits of MSR value.
1180 @param EDX Upper 32-bits of MSR value.
1182 <b>Example usage</b>
1186 Msr = AsmReadMsr64 (MSR_SILVERMONT_IA32_VMX_EPT_VPID_ENUM);
1188 @note MSR_SILVERMONT_IA32_VMX_EPT_VPID_ENUM is defined as IA32_VMX_EPT_VPID_ENUM in SDM.
1190 #define MSR_SILVERMONT_IA32_VMX_EPT_VPID_ENUM 0x0000048C
1194 Core. Capability Reporting Register of VM-Function Controls (R/O) See Table
1197 @param ECX MSR_SILVERMONT_IA32_VMX_FMFUNC (0x00000491)
1198 @param EAX Lower 32-bits of MSR value.
1199 @param EDX Upper 32-bits of MSR value.
1201 <b>Example usage</b>
1205 Msr = AsmReadMsr64 (MSR_SILVERMONT_IA32_VMX_FMFUNC);
1207 @note MSR_SILVERMONT_IA32_VMX_FMFUNC is defined as IA32_VMX_FMFUNC in SDM.
1209 #define MSR_SILVERMONT_IA32_VMX_FMFUNC 0x00000491
1213 Core. Note: C-state values are processor specific C-state code names,
1214 unrelated to MWAIT extension C-state parameters or ACPI CStates. CORE C1
1215 Residency Counter. (R/O) Value since last reset that this core is in
1216 processor-specific C1 states. Counts at the TSC frequency.
1218 @param ECX MSR_SILVERMONT_CORE_C1_RESIDENCY (0x00000660)
1219 @param EAX Lower 32-bits of MSR value.
1220 @param EDX Upper 32-bits of MSR value.
1222 <b>Example usage</b>
1226 Msr = AsmReadMsr64 (MSR_SILVERMONT_CORE_C1_RESIDENCY);
1227 AsmWriteMsr64 (MSR_SILVERMONT_CORE_C1_RESIDENCY, Msr);
1229 @note MSR_SILVERMONT_CORE_C1_RESIDENCY is defined as MSR_CORE_C1_RESIDENCY in SDM.
1231 #define MSR_SILVERMONT_CORE_C1_RESIDENCY 0x00000660
1235 Package. Unit Multipliers used in RAPL Interfaces (R/O) See Section 14.9.1,
1238 @param ECX MSR_SILVERMONT_RAPL_POWER_UNIT (0x00000606)
1239 @param EAX Lower 32-bits of MSR value.
1240 Described by the type MSR_SILVERMONT_RAPL_POWER_UNIT_REGISTER.
1241 @param EDX Upper 32-bits of MSR value.
1242 Described by the type MSR_SILVERMONT_RAPL_POWER_UNIT_REGISTER.
1244 <b>Example usage</b>
1246 MSR_SILVERMONT_RAPL_POWER_UNIT_REGISTER Msr;
1248 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_RAPL_POWER_UNIT);
1250 @note MSR_SILVERMONT_RAPL_POWER_UNIT is defined as MSR_RAPL_POWER_UNIT in SDM.
1252 #define MSR_SILVERMONT_RAPL_POWER_UNIT 0x00000606
1255 MSR information returned for MSR index #MSR_SILVERMONT_RAPL_POWER_UNIT
1259 /// Individual bit fields
1263 /// [Bits 3:0] Power Units. Power related information (in milliWatts) is
1264 /// based on the multiplier, 2^PU; where PU is an unsigned integer
1265 /// represented by bits 3:0. Default value is 0101b, indicating power unit
1266 /// is in 32 milliWatts increment.
1268 UINT32 PowerUnits
:4;
1271 /// [Bits 12:8] Energy Status Units. Energy related information (in
1272 /// microJoules) is based on the multiplier, 2^ESU; where ESU is an
1273 /// unsigned integer represented by bits 12:8. Default value is 00101b,
1274 /// indicating energy unit is in 32 microJoules increment.
1276 UINT32 EnergyStatusUnits
:5;
1279 /// [Bits 19:16] Time Unit. The value is 0000b, indicating time unit is in
1283 UINT32 Reserved3
:12;
1284 UINT32 Reserved4
:32;
1287 /// All bit fields as a 32-bit value
1291 /// All bit fields as a 64-bit value
1294 } MSR_SILVERMONT_RAPL_POWER_UNIT_REGISTER
;
1298 Package. PKG RAPL Power Limit Control (R/W).
1300 @param ECX MSR_SILVERMONT_PKG_POWER_LIMIT (0x00000610)
1301 @param EAX Lower 32-bits of MSR value.
1302 Described by the type MSR_SILVERMONT_PKG_POWER_LIMIT_REGISTER.
1303 @param EDX Upper 32-bits of MSR value.
1304 Described by the type MSR_SILVERMONT_PKG_POWER_LIMIT_REGISTER.
1306 <b>Example usage</b>
1308 MSR_SILVERMONT_PKG_POWER_LIMIT_REGISTER Msr;
1310 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PKG_POWER_LIMIT);
1311 AsmWriteMsr64 (MSR_SILVERMONT_PKG_POWER_LIMIT, Msr.Uint64);
1313 @note MSR_SILVERMONT_PKG_POWER_LIMIT is defined as MSR_PKG_POWER_LIMIT in SDM.
1315 #define MSR_SILVERMONT_PKG_POWER_LIMIT 0x00000610
1318 MSR information returned for MSR index #MSR_SILVERMONT_PKG_POWER_LIMIT
1322 /// Individual bit fields
1326 /// [Bits 14:0] Package Power Limit #1 (R/W) See Section 14.9.3, "Package
1327 /// RAPL Domain." and MSR_RAPL_POWER_UNIT in Table 2-8.
1331 /// [Bit 15] Enable Power Limit #1. (R/W) See Section 14.9.3, "Package
1336 /// [Bit 16] Package Clamping Limitation #1. (R/W) See Section 14.9.3,
1337 /// "Package RAPL Domain.".
1339 UINT32 ClampingLimit
:1;
1341 /// [Bits 23:17] Time Window for Power Limit #1. (R/W) in unit of second.
1342 /// If 0 is specified in bits [23:17], defaults to 1 second window.
1346 UINT32 Reserved2
:32;
1349 /// All bit fields as a 32-bit value
1353 /// All bit fields as a 64-bit value
1356 } MSR_SILVERMONT_PKG_POWER_LIMIT_REGISTER
;
1360 Package. PKG Energy Status (R/O) See Section 14.9.3, "Package RAPL Domain."
1361 and MSR_RAPL_POWER_UNIT in Table 2-8.
1363 @param ECX MSR_SILVERMONT_PKG_ENERGY_STATUS (0x00000611)
1364 @param EAX Lower 32-bits of MSR value.
1365 @param EDX Upper 32-bits of MSR value.
1367 <b>Example usage</b>
1371 Msr = AsmReadMsr64 (MSR_SILVERMONT_PKG_ENERGY_STATUS);
1373 @note MSR_SILVERMONT_PKG_ENERGY_STATUS is defined as MSR_PKG_ENERGY_STATUS in SDM.
1375 #define MSR_SILVERMONT_PKG_ENERGY_STATUS 0x00000611
1379 Package. PP0 Energy Status (R/O) See Section 14.9.4, "PP0/PP1 RAPL Domains."
1380 and MSR_RAPL_POWER_UNIT in Table 2-8.
1382 @param ECX MSR_SILVERMONT_PP0_ENERGY_STATUS (0x00000639)
1383 @param EAX Lower 32-bits of MSR value.
1384 @param EDX Upper 32-bits of MSR value.
1386 <b>Example usage</b>
1390 Msr = AsmReadMsr64 (MSR_SILVERMONT_PP0_ENERGY_STATUS);
1392 @note MSR_SILVERMONT_PP0_ENERGY_STATUS is defined as MSR_PP0_ENERGY_STATUS in SDM.
1394 #define MSR_SILVERMONT_PP0_ENERGY_STATUS 0x00000639
1398 Package. Core C6 demotion policy config MSR. Controls per-core C6 demotion
1399 policy. Writing a value of 0 disables core level HW demotion policy.
1401 @param ECX MSR_SILVERMONT_CC6_DEMOTION_POLICY_CONFIG (0x00000668)
1402 @param EAX Lower 32-bits of MSR value.
1403 @param EDX Upper 32-bits of MSR value.
1405 <b>Example usage</b>
1409 Msr = AsmReadMsr64 (MSR_SILVERMONT_CC6_DEMOTION_POLICY_CONFIG);
1410 AsmWriteMsr64 (MSR_SILVERMONT_CC6_DEMOTION_POLICY_CONFIG, Msr);
1412 @note MSR_SILVERMONT_CC6_DEMOTION_POLICY_CONFIG is defined as MSR_CC6_DEMOTION_POLICY_CONFIG in SDM.
1414 #define MSR_SILVERMONT_CC6_DEMOTION_POLICY_CONFIG 0x00000668
1418 Package. Module C6 demotion policy config MSR. Controls module (i.e. two
1419 cores sharing the second-level cache) C6 demotion policy. Writing a value of
1420 0 disables module level HW demotion policy.
1422 @param ECX MSR_SILVERMONT_MC6_DEMOTION_POLICY_CONFIG (0x00000669)
1423 @param EAX Lower 32-bits of MSR value.
1424 @param EDX Upper 32-bits of MSR value.
1426 <b>Example usage</b>
1430 Msr = AsmReadMsr64 (MSR_SILVERMONT_MC6_DEMOTION_POLICY_CONFIG);
1431 AsmWriteMsr64 (MSR_SILVERMONT_MC6_DEMOTION_POLICY_CONFIG, Msr);
1433 @note MSR_SILVERMONT_MC6_DEMOTION_POLICY_CONFIG is defined as MSR_MC6_DEMOTION_POLICY_CONFIG in SDM.
1435 #define MSR_SILVERMONT_MC6_DEMOTION_POLICY_CONFIG 0x00000669
1439 Module. Module C6 Residency Counter (R/0) Note: C-state values are processor
1440 specific C-state code names, unrelated to MWAIT extension C-state parameters
1441 or ACPI CStates. Time that this module is in module-specific C6 states since
1442 last reset. Counts at 1 Mhz frequency.
1444 @param ECX MSR_SILVERMONT_MC6_RESIDENCY_COUNTER (0x00000664)
1445 @param EAX Lower 32-bits of MSR value.
1446 @param EDX Upper 32-bits of MSR value.
1448 <b>Example usage</b>
1452 Msr = AsmReadMsr64 (MSR_SILVERMONT_MC6_RESIDENCY_COUNTER);
1454 @note MSR_SILVERMONT_MC6_RESIDENCY_COUNTER is defined as MSR_MC6_RESIDENCY_COUNTER in SDM.
1456 #define MSR_SILVERMONT_MC6_RESIDENCY_COUNTER 0x00000664
1460 Package. PKG RAPL Parameter (R/0).
1462 @param ECX MSR_SILVERMONT_PKG_POWER_INFO (0x0000066E)
1463 @param EAX Lower 32-bits of MSR value.
1464 Described by the type MSR_SILVERMONT_PKG_POWER_INFO_REGISTER.
1465 @param EDX Upper 32-bits of MSR value.
1466 Described by the type MSR_SILVERMONT_PKG_POWER_INFO_REGISTER.
1468 <b>Example usage</b>
1470 MSR_SILVERMONT_PKG_POWER_INFO_REGISTER Msr;
1472 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PKG_POWER_INFO);
1474 @note MSR_SILVERMONT_PKG_POWER_INFO is defined as MSR_PKG_POWER_INFO in SDM.
1476 #define MSR_SILVERMONT_PKG_POWER_INFO 0x0000066E
1479 MSR information returned for MSR index #MSR_SILVERMONT_PKG_POWER_INFO
1483 /// Individual bit fields
1487 /// [Bits 14:0] Thermal Spec Power. (R/0) The unsigned integer value is
1488 /// the equivalent of thermal specification power of the package domain.
1489 /// The unit of this field is specified by the "Power Units" field of
1490 /// MSR_RAPL_POWER_UNIT.
1492 UINT32 ThermalSpecPower
:15;
1493 UINT32 Reserved1
:17;
1494 UINT32 Reserved2
:32;
1497 /// All bit fields as a 32-bit value
1501 /// All bit fields as a 64-bit value
1504 } MSR_SILVERMONT_PKG_POWER_INFO_REGISTER
;
1508 Package. PP0 RAPL Power Limit Control (R/W).
1510 @param ECX MSR_SILVERMONT_PP0_POWER_LIMIT (0x00000638)
1511 @param EAX Lower 32-bits of MSR value.
1512 Described by the type MSR_SILVERMONT_PP0_POWER_LIMIT_REGISTER.
1513 @param EDX Upper 32-bits of MSR value.
1514 Described by the type MSR_SILVERMONT_PP0_POWER_LIMIT_REGISTER.
1516 <b>Example usage</b>
1518 MSR_SILVERMONT_PP0_POWER_LIMIT_REGISTER Msr;
1520 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PP0_POWER_LIMIT);
1521 AsmWriteMsr64 (MSR_SILVERMONT_PP0_POWER_LIMIT, Msr.Uint64);
1523 @note MSR_SILVERMONT_PP0_POWER_LIMIT is defined as MSR_PP0_POWER_LIMIT in SDM.
1525 #define MSR_SILVERMONT_PP0_POWER_LIMIT 0x00000638
1528 MSR information returned for MSR index #MSR_SILVERMONT_PP0_POWER_LIMIT
1532 /// Individual bit fields
1536 /// [Bits 14:0] PP0 Power Limit #1. (R/W) See Section 14.9.4, "PP0/PP1
1537 /// RAPL Domains." and MSR_RAPL_POWER_UNIT in Table 35-8.
1541 /// [Bit 15] Enable Power Limit #1. (R/W) See Section 14.9.4, "PP0/PP1
1547 /// [Bits 23:17] Time Window for Power Limit #1. (R/W) Specifies the time
1548 /// duration over which the average power must remain below
1549 /// PP0_POWER_LIMIT #1(14:0). Supported Encodings: 0x0: 1 second time
1550 /// duration. 0x1: 5 second time duration (Default). 0x2: 10 second time
1551 /// duration. 0x3: 15 second time duration. 0x4: 20 second time duration.
1552 /// 0x5: 25 second time duration. 0x6: 30 second time duration. 0x7: 35
1553 /// second time duration. 0x8: 40 second time duration. 0x9: 45 second
1554 /// time duration. 0xA: 50 second time duration. 0xB-0x7F - reserved.
1558 UINT32 Reserved3
:32;
1561 /// All bit fields as a 32-bit value
1565 /// All bit fields as a 64-bit value
1568 } MSR_SILVERMONT_PP0_POWER_LIMIT_REGISTER
;