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, 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 3,
20 September 2016, Chapter 35 Model-Specific-Registers (MSR), Section 35.4.
24 #ifndef __SILVERMONT_MSR_H__
25 #define __SILVERMONT_MSR_H__
27 #include <Register/ArchitecturalMsr.h>
30 Module. Model Specific Platform ID (R).
32 @param ECX MSR_SILVERMONT_PLATFORM_ID (0x00000017)
33 @param EAX Lower 32-bits of MSR value.
34 Described by the type MSR_SILVERMONT_PLATFORM_ID_REGISTER.
35 @param EDX Upper 32-bits of MSR value.
36 Described by the type MSR_SILVERMONT_PLATFORM_ID_REGISTER.
40 MSR_SILVERMONT_PLATFORM_ID_REGISTER Msr;
42 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PLATFORM_ID);
44 @note MSR_SILVERMONT_PLATFORM_ID is defined as MSR_PLATFORM_ID in SDM.
46 #define MSR_SILVERMONT_PLATFORM_ID 0x00000017
49 MSR information returned for MSR index #MSR_SILVERMONT_PLATFORM_ID
53 /// Individual bit fields
58 /// [Bits 12:8] Maximum Qualified Ratio (R) The maximum allowed bus ratio.
60 UINT32 MaximumQualifiedRatio
:5;
64 /// [Bits 52:50] See Table 35-2.
70 /// All bit fields as a 64-bit value
73 } MSR_SILVERMONT_PLATFORM_ID_REGISTER
;
77 Module. Processor Hard Power-On Configuration (R/W) Writes ignored.
79 @param ECX MSR_SILVERMONT_EBL_CR_POWERON (0x0000002A)
80 @param EAX Lower 32-bits of MSR value.
81 Described by the type MSR_SILVERMONT_EBL_CR_POWERON_REGISTER.
82 @param EDX Upper 32-bits of MSR value.
83 Described by the type MSR_SILVERMONT_EBL_CR_POWERON_REGISTER.
87 MSR_SILVERMONT_EBL_CR_POWERON_REGISTER Msr;
89 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_EBL_CR_POWERON);
90 AsmWriteMsr64 (MSR_SILVERMONT_EBL_CR_POWERON, Msr.Uint64);
92 @note MSR_SILVERMONT_EBL_CR_POWERON is defined as MSR_EBL_CR_POWERON in SDM.
94 #define MSR_SILVERMONT_EBL_CR_POWERON 0x0000002A
97 MSR information returned for MSR index #MSR_SILVERMONT_EBL_CR_POWERON
101 /// Individual bit fields
108 /// All bit fields as a 32-bit value
112 /// All bit fields as a 64-bit value
115 } MSR_SILVERMONT_EBL_CR_POWERON_REGISTER
;
119 Core. SMI Counter (R/O).
121 @param ECX MSR_SILVERMONT_SMI_COUNT (0x00000034)
122 @param EAX Lower 32-bits of MSR value.
123 Described by the type MSR_SILVERMONT_SMI_COUNT_REGISTER.
124 @param EDX Upper 32-bits of MSR value.
125 Described by the type MSR_SILVERMONT_SMI_COUNT_REGISTER.
129 MSR_SILVERMONT_SMI_COUNT_REGISTER Msr;
131 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_SMI_COUNT);
133 @note MSR_SILVERMONT_SMI_COUNT is defined as MSR_SMI_COUNT in SDM.
135 #define MSR_SILVERMONT_SMI_COUNT 0x00000034
138 MSR information returned for MSR index #MSR_SILVERMONT_SMI_COUNT
142 /// Individual bit fields
146 /// [Bits 31:0] SMI Count (R/O) Running count of SMI events since last
153 /// All bit fields as a 32-bit value
157 /// All bit fields as a 64-bit value
160 } MSR_SILVERMONT_SMI_COUNT_REGISTER
;
164 Core. Control Features in Intel 64 Processor (R/W). See Table 35-2.
166 @param ECX MSR_IA32_SILVERMONT_FEATURE_CONTROL (0x0000003A)
167 @param EAX Lower 32-bits of MSR value.
168 Described by the type
169 MSR_SILVERMONT_IA32_FEATURE_CONTROL_REGISTER.
170 @param EDX Upper 32-bits of MSR value.
171 Described by the type
172 MSR_SILVERMONT_IA32_FEATURE_CONTROL_REGISTER.
176 MSR_SILVERMONT_IA32_FEATURE_CONTROL_REGISTER Msr;
178 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_IA32_FEATURE_CONTROL);
179 AsmWriteMsr64 (MSR_SILVERMONT_IA32_FEATURE_CONTROL, Msr.Uint64);
181 @note MSR_SILVERMONT_IA32_FEATURE_CONTROL is defined as IA32_FEATURE_CONTROL in SDM.
183 #define MSR_SILVERMONT_IA32_FEATURE_CONTROL 0x0000003A
186 MSR information returned for MSR index #MSR_SILVERMONT_IA32_FEATURE_CONTROL
190 /// Individual bit fields
194 /// [Bit 0] Lock (R/WL).
199 /// [Bit 2] Enable VMX outside SMX operation (R/WL).
201 UINT32 EnableVmxOutsideSmx
:1;
206 /// All bit fields as a 32-bit value
210 /// All bit fields as a 64-bit value
213 } MSR_SILVERMONT_IA32_FEATURE_CONTROL_REGISTER
;
217 Core. Last Branch Record n From IP (R/W) One of eight pairs of last branch
218 record registers on the last branch record stack. The From_IP part of the
219 stack contains pointers to the source instruction. See also: - Last Branch
220 Record Stack TOS at 1C9H - Section 17.5 and record format in Section
223 @param ECX MSR_SILVERMONT_LASTBRANCH_n_FROM_IP
224 @param EAX Lower 32-bits of MSR value.
225 @param EDX Upper 32-bits of MSR value.
231 Msr = AsmReadMsr64 (MSR_SILVERMONT_LASTBRANCH_0_FROM_IP);
232 AsmWriteMsr64 (MSR_SILVERMONT_LASTBRANCH_0_FROM_IP, Msr);
234 @note MSR_SILVERMONT_LASTBRANCH_0_FROM_IP is defined as MSR_LASTBRANCH_0_FROM_IP in SDM.
235 MSR_SILVERMONT_LASTBRANCH_1_FROM_IP is defined as MSR_LASTBRANCH_1_FROM_IP in SDM.
236 MSR_SILVERMONT_LASTBRANCH_2_FROM_IP is defined as MSR_LASTBRANCH_2_FROM_IP in SDM.
237 MSR_SILVERMONT_LASTBRANCH_3_FROM_IP is defined as MSR_LASTBRANCH_3_FROM_IP in SDM.
238 MSR_SILVERMONT_LASTBRANCH_4_FROM_IP is defined as MSR_LASTBRANCH_4_FROM_IP in SDM.
239 MSR_SILVERMONT_LASTBRANCH_5_FROM_IP is defined as MSR_LASTBRANCH_5_FROM_IP in SDM.
240 MSR_SILVERMONT_LASTBRANCH_6_FROM_IP is defined as MSR_LASTBRANCH_6_FROM_IP in SDM.
241 MSR_SILVERMONT_LASTBRANCH_7_FROM_IP is defined as MSR_LASTBRANCH_7_FROM_IP in SDM.
244 #define MSR_SILVERMONT_LASTBRANCH_0_FROM_IP 0x00000040
245 #define MSR_SILVERMONT_LASTBRANCH_1_FROM_IP 0x00000041
246 #define MSR_SILVERMONT_LASTBRANCH_2_FROM_IP 0x00000042
247 #define MSR_SILVERMONT_LASTBRANCH_3_FROM_IP 0x00000043
248 #define MSR_SILVERMONT_LASTBRANCH_4_FROM_IP 0x00000044
249 #define MSR_SILVERMONT_LASTBRANCH_5_FROM_IP 0x00000045
250 #define MSR_SILVERMONT_LASTBRANCH_6_FROM_IP 0x00000046
251 #define MSR_SILVERMONT_LASTBRANCH_7_FROM_IP 0x00000047
256 Core. Last Branch Record n To IP (R/W) One of eight pairs of last branch
257 record registers on the last branch record stack. The To_IP part of the
258 stack contains pointers to the destination instruction.
260 @param ECX MSR_SILVERMONT_LASTBRANCH_n_TO_IP
261 @param EAX Lower 32-bits of MSR value.
262 @param EDX Upper 32-bits of MSR value.
268 Msr = AsmReadMsr64 (MSR_SILVERMONT_LASTBRANCH_0_TO_IP);
269 AsmWriteMsr64 (MSR_SILVERMONT_LASTBRANCH_0_TO_IP, Msr);
271 @note MSR_SILVERMONT_LASTBRANCH_0_TO_IP is defined as MSR_LASTBRANCH_0_TO_IP in SDM.
272 MSR_SILVERMONT_LASTBRANCH_1_TO_IP is defined as MSR_LASTBRANCH_1_TO_IP in SDM.
273 MSR_SILVERMONT_LASTBRANCH_2_TO_IP is defined as MSR_LASTBRANCH_2_TO_IP in SDM.
274 MSR_SILVERMONT_LASTBRANCH_3_TO_IP is defined as MSR_LASTBRANCH_3_TO_IP in SDM.
275 MSR_SILVERMONT_LASTBRANCH_4_TO_IP is defined as MSR_LASTBRANCH_4_TO_IP in SDM.
276 MSR_SILVERMONT_LASTBRANCH_5_TO_IP is defined as MSR_LASTBRANCH_5_TO_IP in SDM.
277 MSR_SILVERMONT_LASTBRANCH_6_TO_IP is defined as MSR_LASTBRANCH_6_TO_IP in SDM.
278 MSR_SILVERMONT_LASTBRANCH_7_TO_IP is defined as MSR_LASTBRANCH_7_TO_IP in SDM.
281 #define MSR_SILVERMONT_LASTBRANCH_0_TO_IP 0x00000060
282 #define MSR_SILVERMONT_LASTBRANCH_1_TO_IP 0x00000061
283 #define MSR_SILVERMONT_LASTBRANCH_2_TO_IP 0x00000062
284 #define MSR_SILVERMONT_LASTBRANCH_3_TO_IP 0x00000063
285 #define MSR_SILVERMONT_LASTBRANCH_4_TO_IP 0x00000064
286 #define MSR_SILVERMONT_LASTBRANCH_5_TO_IP 0x00000065
287 #define MSR_SILVERMONT_LASTBRANCH_6_TO_IP 0x00000066
288 #define MSR_SILVERMONT_LASTBRANCH_7_TO_IP 0x00000067
293 Module. Scalable Bus Speed(RO) This field indicates the intended scalable
294 bus clock speed for processors based on Silvermont microarchitecture:.
296 @param ECX MSR_SILVERMONT_FSB_FREQ (0x000000CD)
297 @param EAX Lower 32-bits of MSR value.
298 Described by the type MSR_SILVERMONT_FSB_FREQ_REGISTER.
299 @param EDX Upper 32-bits of MSR value.
300 Described by the type MSR_SILVERMONT_FSB_FREQ_REGISTER.
304 MSR_SILVERMONT_FSB_FREQ_REGISTER Msr;
306 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_FSB_FREQ);
308 @note MSR_SILVERMONT_FSB_FREQ is defined as MSR_FSB_FREQ in SDM.
310 #define MSR_SILVERMONT_FSB_FREQ 0x000000CD
313 MSR information returned for MSR index #MSR_SILVERMONT_FSB_FREQ
317 /// Individual bit fields
321 /// [Bits 3:0] Scalable Bus Speed
323 /// Silvermont Processor Family
324 /// ---------------------------
331 /// Airmont Processor Family
332 /// ---------------------------
343 UINT32 ScalableBusSpeed
:4;
348 /// All bit fields as a 32-bit value
352 /// All bit fields as a 64-bit value
355 } MSR_SILVERMONT_FSB_FREQ_REGISTER
;
359 Module. C-State Configuration Control (R/W) Note: C-state values are
360 processor specific C-state code names, unrelated to MWAIT extension C-state
361 parameters or ACPI CStates. See http://biosbits.org.
363 @param ECX MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL (0x000000E2)
364 @param EAX Lower 32-bits of MSR value.
365 Described by the type MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL_REGISTER.
366 @param EDX Upper 32-bits of MSR value.
367 Described by the type MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL_REGISTER.
371 MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL_REGISTER Msr;
373 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL);
374 AsmWriteMsr64 (MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL, Msr.Uint64);
376 @note MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL is defined as MSR_PKG_CST_CONFIG_CONTROL in SDM.
378 #define MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL 0x000000E2
381 MSR information returned for MSR index #MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL
385 /// Individual bit fields
389 /// [Bits 2:0] Package C-State Limit (R/W) Specifies the lowest
390 /// processor-specific C-state code name (consuming the least power). for
391 /// the package. The default is set as factory-configured package C-state
392 /// limit. The following C-state code name encodings are supported: 000b:
393 /// C0 (no package C-sate support) 001b: C1 (Behavior is the same as 000b)
394 /// 100b: C4 110b: C6 111b: C7 (Silvermont only).
399 /// [Bit 10] I/O MWAIT Redirection Enable (R/W) When set, will map
400 /// IO_read instructions sent to IO register specified by
401 /// MSR_PMG_IO_CAPTURE_BASE to MWAIT instructions.
406 /// [Bit 15] CFG Lock (R/WO) When set, lock bits 15:0 of this register
407 /// until next reset.
414 /// All bit fields as a 32-bit value
418 /// All bit fields as a 64-bit value
421 } MSR_SILVERMONT_PKG_CST_CONFIG_CONTROL_REGISTER
;
425 Module. Power Management IO Redirection in C-state (R/W) See
428 @param ECX MSR_SILVERMONT_PMG_IO_CAPTURE_BASE (0x000000E4)
429 @param EAX Lower 32-bits of MSR value.
430 Described by the type MSR_SILVERMONT_PMG_IO_CAPTURE_BASE_REGISTER.
431 @param EDX Upper 32-bits of MSR value.
432 Described by the type MSR_SILVERMONT_PMG_IO_CAPTURE_BASE_REGISTER.
436 MSR_SILVERMONT_PMG_IO_CAPTURE_BASE_REGISTER Msr;
438 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PMG_IO_CAPTURE_BASE);
439 AsmWriteMsr64 (MSR_SILVERMONT_PMG_IO_CAPTURE_BASE, Msr.Uint64);
441 @note MSR_SILVERMONT_PMG_IO_CAPTURE_BASE is defined as MSR_PMG_IO_CAPTURE_BASE in SDM.
443 #define MSR_SILVERMONT_PMG_IO_CAPTURE_BASE 0x000000E4
446 MSR information returned for MSR index #MSR_SILVERMONT_PMG_IO_CAPTURE_BASE
450 /// Individual bit fields
454 /// [Bits 15:0] LVL_2 Base Address (R/W) Specifies the base address
455 /// visible to software for IO redirection. If IO MWAIT Redirection is
456 /// enabled, reads to this address will be consumed by the power
457 /// management logic and decoded to MWAIT instructions. When IO port
458 /// address redirection is enabled, this is the IO port address reported
459 /// to the OS/software.
463 /// [Bits 18:16] C-state Range (R/W) Specifies the encoding value of the
464 /// maximum C-State code name to be included when IO read to MWAIT
465 /// redirection is enabled by MSR_PKG_CST_CONFIG_CONTROL[bit10]: 100b - C4
466 /// is the max C-State to include 110b - C6 is the max C-State to include
467 /// 111b - C7 is the max C-State to include.
469 UINT32 CStateRange
:3;
474 /// All bit fields as a 32-bit value
478 /// All bit fields as a 64-bit value
481 } MSR_SILVERMONT_PMG_IO_CAPTURE_BASE_REGISTER
;
487 @param ECX MSR_SILVERMONT_BBL_CR_CTL3 (0x0000011E)
488 @param EAX Lower 32-bits of MSR value.
489 Described by the type MSR_SILVERMONT_BBL_CR_CTL3_REGISTER.
490 @param EDX Upper 32-bits of MSR value.
491 Described by the type MSR_SILVERMONT_BBL_CR_CTL3_REGISTER.
495 MSR_SILVERMONT_BBL_CR_CTL3_REGISTER Msr;
497 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_BBL_CR_CTL3);
498 AsmWriteMsr64 (MSR_SILVERMONT_BBL_CR_CTL3, Msr.Uint64);
500 @note MSR_SILVERMONT_BBL_CR_CTL3 is defined as MSR_BBL_CR_CTL3 in SDM.
502 #define MSR_SILVERMONT_BBL_CR_CTL3 0x0000011E
505 MSR information returned for MSR index #MSR_SILVERMONT_BBL_CR_CTL3
509 /// Individual bit fields
513 /// [Bit 0] L2 Hardware Enabled (RO) 1 = If the L2 is hardware-enabled 0 =
514 /// Indicates if the L2 is hardware-disabled.
516 UINT32 L2HardwareEnabled
:1;
519 /// [Bit 8] L2 Enabled. (R/W) 1 = L2 cache has been initialized 0 =
520 /// Disabled (default) Until this bit is set the processor will not
521 /// respond to the WBINVD instruction or the assertion of the FLUSH# input.
526 /// [Bit 23] L2 Not Present (RO) 1. = L2 Present 2. = L2 Not Present.
528 UINT32 L2NotPresent
:1;
533 /// All bit fields as a 32-bit value
537 /// All bit fields as a 64-bit value
540 } MSR_SILVERMONT_BBL_CR_CTL3_REGISTER
;
544 Core. AES Configuration (RW-L) Privileged post-BIOS agent must provide a #GP
545 handler to handle unsuccessful read of this MSR.
547 @param ECX MSR_SILVERMONT_FEATURE_CONFIG (0x0000013C)
548 @param EAX Lower 32-bits of MSR value.
549 Described by the type MSR_SILVERMONT_FEATURE_CONFIG_REGISTER.
550 @param EDX Upper 32-bits of MSR value.
551 Described by the type MSR_SILVERMONT_FEATURE_CONFIG_REGISTER.
555 MSR_SILVERMONT_FEATURE_CONFIG_REGISTER Msr;
557 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_FEATURE_CONFIG);
558 AsmWriteMsr64 (MSR_SILVERMONT_FEATURE_CONFIG, Msr.Uint64);
560 @note MSR_SILVERMONT_FEATURE_CONFIG is defined as MSR_FEATURE_CONFIG in SDM.
562 #define MSR_SILVERMONT_FEATURE_CONFIG 0x0000013C
565 MSR information returned for MSR index #MSR_SILVERMONT_FEATURE_CONFIG
569 /// Individual bit fields
573 /// [Bits 1:0] AES Configuration (RW-L) Upon a successful read of this
574 /// MSR, the configuration of AES instruction set availability is as
575 /// follows: 11b: AES instructions are not available until next RESET.
576 /// otherwise, AES instructions are available. Note, AES instruction set
577 /// is not available if read is unsuccessful. If the configuration is not
578 /// 01b, AES instruction can be mis-configured if a privileged agent
579 /// unintentionally writes 11b.
581 UINT32 AESConfiguration
:2;
586 /// All bit fields as a 32-bit value
590 /// All bit fields as a 64-bit value
593 } MSR_SILVERMONT_FEATURE_CONFIG_REGISTER
;
597 Enable Misc. Processor Features (R/W) Allows a variety of processor
598 functions to be enabled and disabled.
600 @param ECX MSR_SILVERMONT_IA32_MISC_ENABLE (0x000001A0)
601 @param EAX Lower 32-bits of MSR value.
602 Described by the type MSR_SILVERMONT_IA32_MISC_ENABLE_REGISTER.
603 @param EDX Upper 32-bits of MSR value.
604 Described by the type MSR_SILVERMONT_IA32_MISC_ENABLE_REGISTER.
608 MSR_SILVERMONT_IA32_MISC_ENABLE_REGISTER Msr;
610 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_IA32_MISC_ENABLE);
611 AsmWriteMsr64 (MSR_SILVERMONT_IA32_MISC_ENABLE, Msr.Uint64);
613 @note MSR_SILVERMONT_IA32_MISC_ENABLE is defined as IA32_MISC_ENABLE in SDM.
615 #define MSR_SILVERMONT_IA32_MISC_ENABLE 0x000001A0
618 MSR information returned for MSR index #MSR_SILVERMONT_IA32_MISC_ENABLE
622 /// Individual bit fields
626 /// [Bit 0] Core. Fast-Strings Enable See Table 35-2.
628 UINT32 FastStrings
:1;
631 /// [Bit 3] Module. Automatic Thermal Control Circuit Enable (R/W) See
632 /// Table 35-2. Default value is 0.
634 UINT32 AutomaticThermalControlCircuit
:1;
637 /// [Bit 7] Core. Performance Monitoring Available (R) See Table 35-2.
639 UINT32 PerformanceMonitoring
:1;
642 /// [Bit 11] Core. Branch Trace Storage Unavailable (RO) See Table 35-2.
646 /// [Bit 12] Core. Processor Event Based Sampling Unavailable (RO) See
652 /// [Bit 16] Module. Enhanced Intel SpeedStep Technology Enable (R/W) See
658 /// [Bit 18] Core. ENABLE MONITOR FSM (R/W) See Table 35-2.
663 /// [Bit 22] Core. Limit CPUID Maxval (R/W) See Table 35-2.
665 UINT32 LimitCpuidMaxval
:1;
667 /// [Bit 23] Module. xTPR Message Disable (R/W) See Table 35-2.
669 UINT32 xTPR_Message_Disable
:1;
673 /// [Bit 34] Core. XD Bit Disable (R/W) See Table 35-2.
678 /// [Bit 38] Module. Turbo Mode Disable (R/W) When set to 1 on processors
679 /// that support Intel Turbo Boost Technology, the turbo mode feature is
680 /// disabled and the IDA_Enable feature flag will be clear (CPUID.06H:
681 /// EAX[1]=0). When set to a 0 on processors that support IDA, CPUID.06H:
682 /// EAX[1] reports the processor's support of turbo mode is enabled. Note:
683 /// the power-on default value is used by BIOS to detect hardware support
684 /// of turbo mode. If power-on default value is 1, turbo mode is available
685 /// in the processor. If power-on default value is 0, turbo mode is not
688 UINT32 TurboModeDisable
:1;
689 UINT32 Reserved10
:25;
692 /// All bit fields as a 64-bit value
695 } MSR_SILVERMONT_IA32_MISC_ENABLE_REGISTER
;
701 @param ECX MSR_SILVERMONT_TEMPERATURE_TARGET (0x000001A2)
702 @param EAX Lower 32-bits of MSR value.
703 Described by the type MSR_SILVERMONT_TEMPERATURE_TARGET_REGISTER.
704 @param EDX Upper 32-bits of MSR value.
705 Described by the type MSR_SILVERMONT_TEMPERATURE_TARGET_REGISTER.
709 MSR_SILVERMONT_TEMPERATURE_TARGET_REGISTER Msr;
711 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_TEMPERATURE_TARGET);
712 AsmWriteMsr64 (MSR_SILVERMONT_TEMPERATURE_TARGET, Msr.Uint64);
714 @note MSR_SILVERMONT_TEMPERATURE_TARGET is defined as MSR_TEMPERATURE_TARGET in SDM.
716 #define MSR_SILVERMONT_TEMPERATURE_TARGET 0x000001A2
719 MSR information returned for MSR index #MSR_SILVERMONT_TEMPERATURE_TARGET
723 /// Individual bit fields
728 /// [Bits 23:16] Temperature Target (R) The default thermal throttling or
729 /// PROCHOT# activation temperature in degree C, The effective temperature
730 /// for thermal throttling or PROCHOT# activation is "Temperature Target"
731 /// + "Target Offset".
733 UINT32 TemperatureTarget
:8;
735 /// [Bits 29:24] Target Offset (R/W) Specifies an offset in degrees C to
736 /// adjust the throttling and PROCHOT# activation temperature from the
737 /// default target specified in TEMPERATURE_TARGET (bits 23:16).
739 UINT32 TargetOffset
:6;
744 /// All bit fields as a 32-bit value
748 /// All bit fields as a 64-bit value
751 } MSR_SILVERMONT_TEMPERATURE_TARGET_REGISTER
;
755 Miscellaneous Feature Control (R/W).
757 @param ECX MSR_SILVERMONT_MISC_FEATURE_CONTROL (0x000001A4)
758 @param EAX Lower 32-bits of MSR value.
759 Described by the type MSR_SILVERMONT_MISC_FEATURE_CONTROL_REGISTER.
760 @param EDX Upper 32-bits of MSR value.
761 Described by the type MSR_SILVERMONT_MISC_FEATURE_CONTROL_REGISTER.
765 MSR_SILVERMONT_MISC_FEATURE_CONTROL_REGISTER Msr;
767 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_MISC_FEATURE_CONTROL);
768 AsmWriteMsr64 (MSR_SILVERMONT_MISC_FEATURE_CONTROL, Msr.Uint64);
770 @note MSR_SILVERMONT_MISC_FEATURE_CONTROL is defined as MSR_MISC_FEATURE_CONTROL in SDM.
772 #define MSR_SILVERMONT_MISC_FEATURE_CONTROL 0x000001A4
775 MSR information returned for MSR index #MSR_SILVERMONT_MISC_FEATURE_CONTROL
779 /// Individual bit fields
783 /// [Bit 0] Core. L2 Hardware Prefetcher Disable (R/W) If 1, disables the
784 /// L2 hardware prefetcher, which fetches additional lines of code or data
785 /// into the L2 cache.
787 UINT32 L2HardwarePrefetcherDisable
:1;
790 /// [Bit 2] Core. DCU Hardware Prefetcher Disable (R/W) If 1, disables
791 /// the L1 data cache prefetcher, which fetches the next cache line into
794 UINT32 DCUHardwarePrefetcherDisable
:1;
799 /// All bit fields as a 32-bit value
803 /// All bit fields as a 64-bit value
806 } MSR_SILVERMONT_MISC_FEATURE_CONTROL_REGISTER
;
810 Module. Offcore Response Event Select Register (R/W).
812 @param ECX MSR_SILVERMONT_OFFCORE_RSP_0 (0x000001A6)
813 @param EAX Lower 32-bits of MSR value.
814 @param EDX Upper 32-bits of MSR value.
820 Msr = AsmReadMsr64 (MSR_SILVERMONT_OFFCORE_RSP_0);
821 AsmWriteMsr64 (MSR_SILVERMONT_OFFCORE_RSP_0, Msr);
823 @note MSR_SILVERMONT_OFFCORE_RSP_0 is defined as MSR_OFFCORE_RSP_0 in SDM.
825 #define MSR_SILVERMONT_OFFCORE_RSP_0 0x000001A6
829 Module. Offcore Response Event Select Register (R/W).
831 @param ECX MSR_SILVERMONT_OFFCORE_RSP_1 (0x000001A7)
832 @param EAX Lower 32-bits of MSR value.
833 @param EDX Upper 32-bits of MSR value.
839 Msr = AsmReadMsr64 (MSR_SILVERMONT_OFFCORE_RSP_1);
840 AsmWriteMsr64 (MSR_SILVERMONT_OFFCORE_RSP_1, Msr);
842 @note MSR_SILVERMONT_OFFCORE_RSP_1 is defined as MSR_OFFCORE_RSP_1 in SDM.
844 #define MSR_SILVERMONT_OFFCORE_RSP_1 0x000001A7
848 Package. Maximum Ratio Limit of Turbo Mode (RW).
850 @param ECX MSR_SILVERMONT_TURBO_RATIO_LIMIT (0x000001AD)
851 @param EAX Lower 32-bits of MSR value.
852 Described by the type MSR_SILVERMONT_TURBO_RATIO_LIMIT_REGISTER.
853 @param EDX Upper 32-bits of MSR value.
854 Described by the type MSR_SILVERMONT_TURBO_RATIO_LIMIT_REGISTER.
858 MSR_SILVERMONT_TURBO_RATIO_LIMIT_REGISTER Msr;
860 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_TURBO_RATIO_LIMIT);
861 AsmWriteMsr64 (MSR_SILVERMONT_TURBO_RATIO_LIMIT, Msr.Uint64);
863 @note MSR_SILVERMONT_TURBO_RATIO_LIMIT is defined as MSR_TURBO_RATIO_LIMIT in SDM.
865 #define MSR_SILVERMONT_TURBO_RATIO_LIMIT 0x000001AD
868 MSR information returned for MSR index #MSR_SILVERMONT_TURBO_RATIO_LIMIT
872 /// Individual bit fields
876 /// [Bits 7:0] Package. Maximum Ratio Limit for 1C Maximum turbo ratio
877 /// limit of 1 core active.
881 /// [Bits 15:8] Package. Maximum Ratio Limit for 2C Maximum turbo ratio
882 /// limit of 2 core active.
886 /// [Bits 23:16] Package. Maximum Ratio Limit for 3C Maximum turbo ratio
887 /// limit of 3 core active.
891 /// [Bits 31:24] Package. Maximum Ratio Limit for 4C Maximum turbo ratio
892 /// limit of 4 core active.
896 /// [Bits 39:32] Package. Maximum Ratio Limit for 5C Maximum turbo ratio
897 /// limit of 5 core active.
901 /// [Bits 47:40] Package. Maximum Ratio Limit for 6C Maximum turbo ratio
902 /// limit of 6 core active.
906 /// [Bits 55:48] Package. Maximum Ratio Limit for 7C Maximum turbo ratio
907 /// limit of 7 core active.
911 /// [Bits 63:56] Package. Maximum Ratio Limit for 8C Maximum turbo ratio
912 /// limit of 8 core active.
917 /// All bit fields as a 64-bit value
920 } MSR_SILVERMONT_TURBO_RATIO_LIMIT_REGISTER
;
924 Core. Last Branch Record Filtering Select Register (R/W) See Section
925 17.7.2, "Filtering of Last Branch Records.".
927 @param ECX MSR_SILVERMONT_LBR_SELECT (0x000001C8)
928 @param EAX Lower 32-bits of MSR value.
929 Described by the type MSR_SILVERMONT_LBR_SELECT_REGISTER.
930 @param EDX Upper 32-bits of MSR value.
931 Described by the type MSR_SILVERMONT_LBR_SELECT_REGISTER.
935 MSR_SILVERMONT_LBR_SELECT_REGISTER Msr;
937 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_LBR_SELECT);
938 AsmWriteMsr64 (MSR_SILVERMONT_LBR_SELECT, Msr.Uint64);
940 @note MSR_SILVERMONT_LBR_SELECT is defined as MSR_LBR_SELECT in SDM.
942 #define MSR_SILVERMONT_LBR_SELECT 0x000001C8
945 MSR information returned for MSR index #MSR_SILVERMONT_LBR_SELECT
949 /// Individual bit fields
953 /// [Bit 0] CPL_EQ_0.
957 /// [Bit 1] CPL_NEQ_0.
965 /// [Bit 3] NEAR_REL_CALL.
967 UINT32 NEAR_REL_CALL
:1;
969 /// [Bit 4] NEAR_IND_CALL.
971 UINT32 NEAR_IND_CALL
:1;
973 /// [Bit 5] NEAR_RET.
977 /// [Bit 6] NEAR_IND_JMP.
979 UINT32 NEAR_IND_JMP
:1;
981 /// [Bit 7] NEAR_REL_JMP.
983 UINT32 NEAR_REL_JMP
:1;
985 /// [Bit 8] FAR_BRANCH.
992 /// All bit fields as a 32-bit value
996 /// All bit fields as a 64-bit value
999 } MSR_SILVERMONT_LBR_SELECT_REGISTER
;
1003 Core. Last Branch Record Stack TOS (R/W) Contains an index (bits 0-2) that
1004 points to the MSR containing the most recent branch record. See
1005 MSR_LASTBRANCH_0_FROM_IP.
1007 @param ECX MSR_SILVERMONT_LASTBRANCH_TOS (0x000001C9)
1008 @param EAX Lower 32-bits of MSR value.
1009 @param EDX Upper 32-bits of MSR value.
1011 <b>Example usage</b>
1015 Msr = AsmReadMsr64 (MSR_SILVERMONT_LASTBRANCH_TOS);
1016 AsmWriteMsr64 (MSR_SILVERMONT_LASTBRANCH_TOS, Msr);
1018 @note MSR_SILVERMONT_LASTBRANCH_TOS is defined as MSR_LASTBRANCH_TOS in SDM.
1020 #define MSR_SILVERMONT_LASTBRANCH_TOS 0x000001C9
1024 Core. Last Exception Record From Linear IP (R) Contains a pointer to the
1025 last branch instruction that the processor executed prior to the last
1026 exception that was generated or the last interrupt that was handled.
1028 @param ECX MSR_SILVERMONT_LER_FROM_LIP (0x000001DD)
1029 @param EAX Lower 32-bits of MSR value.
1030 @param EDX Upper 32-bits of MSR value.
1032 <b>Example usage</b>
1036 Msr = AsmReadMsr64 (MSR_SILVERMONT_LER_FROM_LIP);
1038 @note MSR_SILVERMONT_LER_FROM_LIP is defined as MSR_LER_FROM_LIP in SDM.
1040 #define MSR_SILVERMONT_LER_FROM_LIP 0x000001DD
1044 Core. Last Exception Record To Linear IP (R) This area contains a pointer
1045 to the target of the last branch instruction that the processor executed
1046 prior to the last exception that was generated or the last interrupt that
1049 @param ECX MSR_SILVERMONT_LER_TO_LIP (0x000001DE)
1050 @param EAX Lower 32-bits of MSR value.
1051 @param EDX Upper 32-bits of MSR value.
1053 <b>Example usage</b>
1057 Msr = AsmReadMsr64 (MSR_SILVERMONT_LER_TO_LIP);
1059 @note MSR_SILVERMONT_LER_TO_LIP is defined as MSR_LER_TO_LIP in SDM.
1061 #define MSR_SILVERMONT_LER_TO_LIP 0x000001DE
1065 Core. See Table 35-2. See Section 18.4.4, "Processor Event Based Sampling
1068 @param ECX MSR_SILVERMONT_PEBS_ENABLE (0x000003F1)
1069 @param EAX Lower 32-bits of MSR value.
1070 Described by the type MSR_SILVERMONT_PEBS_ENABLE_REGISTER.
1071 @param EDX Upper 32-bits of MSR value.
1072 Described by the type MSR_SILVERMONT_PEBS_ENABLE_REGISTER.
1074 <b>Example usage</b>
1076 MSR_SILVERMONT_PEBS_ENABLE_REGISTER Msr;
1078 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PEBS_ENABLE);
1079 AsmWriteMsr64 (MSR_SILVERMONT_PEBS_ENABLE, Msr.Uint64);
1081 @note MSR_SILVERMONT_PEBS_ENABLE is defined as MSR_PEBS_ENABLE in SDM.
1083 #define MSR_SILVERMONT_PEBS_ENABLE 0x000003F1
1086 MSR information returned for MSR index #MSR_SILVERMONT_PEBS_ENABLE
1090 /// Individual bit fields
1094 /// [Bit 0] Enable PEBS for precise event on IA32_PMC0. (R/W).
1097 UINT32 Reserved1
:31;
1098 UINT32 Reserved2
:32;
1101 /// All bit fields as a 32-bit value
1105 /// All bit fields as a 64-bit value
1108 } MSR_SILVERMONT_PEBS_ENABLE_REGISTER
;
1112 Package. Note: C-state values are processor specific C-state code names,
1113 unrelated to MWAIT extension C-state parameters or ACPI CStates. Package C6
1114 Residency Counter. (R/O) Value since last reset that this package is in
1115 processor-specific C6 states. Counts at the TSC Frequency.
1117 @param ECX MSR_SILVERMONT_PKG_C6_RESIDENCY (0x000003FA)
1118 @param EAX Lower 32-bits of MSR value.
1119 @param EDX Upper 32-bits of MSR value.
1121 <b>Example usage</b>
1125 Msr = AsmReadMsr64 (MSR_SILVERMONT_PKG_C6_RESIDENCY);
1126 AsmWriteMsr64 (MSR_SILVERMONT_PKG_C6_RESIDENCY, Msr);
1128 @note MSR_SILVERMONT_PKG_C6_RESIDENCY is defined as MSR_PKG_C6_RESIDENCY in SDM.
1130 #define MSR_SILVERMONT_PKG_C6_RESIDENCY 0x000003FA
1134 Core. Note: C-state values are processor specific C-state code names,
1135 unrelated to MWAIT extension C-state parameters or ACPI CStates. CORE C6
1136 Residency Counter. (R/O) Value since last reset that this core is in
1137 processor-specific C6 states. Counts at the TSC Frequency.
1139 @param ECX MSR_SILVERMONT_CORE_C6_RESIDENCY (0x000003FD)
1140 @param EAX Lower 32-bits of MSR value.
1141 @param EDX Upper 32-bits of MSR value.
1143 <b>Example usage</b>
1147 Msr = AsmReadMsr64 (MSR_SILVERMONT_CORE_C6_RESIDENCY);
1148 AsmWriteMsr64 (MSR_SILVERMONT_CORE_C6_RESIDENCY, Msr);
1150 @note MSR_SILVERMONT_CORE_C6_RESIDENCY is defined as MSR_CORE_C6_RESIDENCY in SDM.
1152 #define MSR_SILVERMONT_CORE_C6_RESIDENCY 0x000003FD
1156 Core. Capability Reporting Register of EPT and VPID (R/O) See Table 35-2.
1158 @param ECX MSR_SILVERMONT_IA32_VMX_EPT_VPID_ENUM (0x0000048C)
1159 @param EAX Lower 32-bits of MSR value.
1160 @param EDX Upper 32-bits of MSR value.
1162 <b>Example usage</b>
1166 Msr = AsmReadMsr64 (MSR_SILVERMONT_IA32_VMX_EPT_VPID_ENUM);
1168 @note MSR_SILVERMONT_IA32_VMX_EPT_VPID_ENUM is defined as IA32_VMX_EPT_VPID_ENUM in SDM.
1170 #define MSR_SILVERMONT_IA32_VMX_EPT_VPID_ENUM 0x0000048C
1174 Core. Capability Reporting Register of VM-function Controls (R/O) See Table
1177 @param ECX MSR_SILVERMONT_IA32_VMX_FMFUNC (0x00000491)
1178 @param EAX Lower 32-bits of MSR value.
1179 @param EDX Upper 32-bits of MSR value.
1181 <b>Example usage</b>
1185 Msr = AsmReadMsr64 (MSR_SILVERMONT_IA32_VMX_FMFUNC);
1187 @note MSR_SILVERMONT_IA32_VMX_FMFUNC is defined as IA32_VMX_FMFUNC in SDM.
1189 #define MSR_SILVERMONT_IA32_VMX_FMFUNC 0x00000491
1193 Core. Note: C-state values are processor specific C-state code names,
1194 unrelated to MWAIT extension C-state parameters or ACPI CStates. CORE C1
1195 Residency Counter. (R/O) Value since last reset that this core is in
1196 processor-specific C1 states. Counts at the TSC frequency.
1198 @param ECX MSR_SILVERMONT_CORE_C1_RESIDENCY (0x00000660)
1199 @param EAX Lower 32-bits of MSR value.
1200 @param EDX Upper 32-bits of MSR value.
1202 <b>Example usage</b>
1206 Msr = AsmReadMsr64 (MSR_SILVERMONT_CORE_C1_RESIDENCY);
1207 AsmWriteMsr64 (MSR_SILVERMONT_CORE_C1_RESIDENCY, Msr);
1209 @note MSR_SILVERMONT_CORE_C1_RESIDENCY is defined as MSR_CORE_C1_RESIDENCY in SDM.
1211 #define MSR_SILVERMONT_CORE_C1_RESIDENCY 0x00000660
1215 Package. Unit Multipliers used in RAPL Interfaces (R/O) See Section 14.9.1,
1218 @param ECX MSR_SILVERMONT_RAPL_POWER_UNIT (0x00000606)
1219 @param EAX Lower 32-bits of MSR value.
1220 Described by the type MSR_SILVERMONT_RAPL_POWER_UNIT_REGISTER.
1221 @param EDX Upper 32-bits of MSR value.
1222 Described by the type MSR_SILVERMONT_RAPL_POWER_UNIT_REGISTER.
1224 <b>Example usage</b>
1226 MSR_SILVERMONT_RAPL_POWER_UNIT_REGISTER Msr;
1228 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_RAPL_POWER_UNIT);
1230 @note MSR_SILVERMONT_RAPL_POWER_UNIT is defined as MSR_RAPL_POWER_UNIT in SDM.
1232 #define MSR_SILVERMONT_RAPL_POWER_UNIT 0x00000606
1235 MSR information returned for MSR index #MSR_SILVERMONT_RAPL_POWER_UNIT
1239 /// Individual bit fields
1243 /// [Bits 3:0] Power Units. Power related information (in milliWatts) is
1244 /// based on the multiplier, 2^PU; where PU is an unsigned integer
1245 /// represented by bits 3:0. Default value is 0101b, indicating power unit
1246 /// is in 32 milliWatts increment.
1248 UINT32 PowerUnits
:4;
1251 /// [Bits 12:8] Energy Status Units. Energy related information (in
1252 /// microJoules) is based on the multiplier, 2^ESU; where ESU is an
1253 /// unsigned integer represented by bits 12:8. Default value is 00101b,
1254 /// indicating energy unit is in 32 microJoules increment.
1256 UINT32 EnergyStatusUnits
:5;
1259 /// [Bits 19:16] Time Unit. The value is 0000b, indicating time unit is in
1263 UINT32 Reserved3
:12;
1264 UINT32 Reserved4
:32;
1267 /// All bit fields as a 32-bit value
1271 /// All bit fields as a 64-bit value
1274 } MSR_SILVERMONT_RAPL_POWER_UNIT_REGISTER
;
1278 Package. PKG RAPL Power Limit Control (R/W).
1280 @param ECX MSR_SILVERMONT_PKG_POWER_LIMIT (0x00000610)
1281 @param EAX Lower 32-bits of MSR value.
1282 Described by the type MSR_SILVERMONT_PKG_POWER_LIMIT_REGISTER.
1283 @param EDX Upper 32-bits of MSR value.
1284 Described by the type MSR_SILVERMONT_PKG_POWER_LIMIT_REGISTER.
1286 <b>Example usage</b>
1288 MSR_SILVERMONT_PKG_POWER_LIMIT_REGISTER Msr;
1290 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PKG_POWER_LIMIT);
1291 AsmWriteMsr64 (MSR_SILVERMONT_PKG_POWER_LIMIT, Msr.Uint64);
1293 @note MSR_SILVERMONT_PKG_POWER_LIMIT is defined as MSR_PKG_POWER_LIMIT in SDM.
1295 #define MSR_SILVERMONT_PKG_POWER_LIMIT 0x00000610
1298 MSR information returned for MSR index #MSR_SILVERMONT_PKG_POWER_LIMIT
1302 /// Individual bit fields
1306 /// [Bits 14:0] Package Power Limit #1. (R/W) See Section 14.9.3, "Package
1307 /// RAPL Domain." and MSR_RAPL_POWER_UNIT in Table 35-8.
1311 /// [Bit 15] Enable Power Limit #1. (R/W) See Section 14.9.3, "Package
1316 /// [Bit 16] Package Clamping Limitation #1. (R/W) See Section 14.9.3,
1317 /// "Package RAPL Domain.".
1319 UINT32 ClampingLimit
:1;
1321 /// [Bits 23:17] Time Window for Power Limit #1. (R/W) in unit of second.
1322 /// If 0 is specified in bits [23:17], defaults to 1 second window.
1326 UINT32 Reserved2
:32;
1329 /// All bit fields as a 32-bit value
1333 /// All bit fields as a 64-bit value
1336 } MSR_SILVERMONT_PKG_POWER_LIMIT_REGISTER
;
1340 Package. PKG Energy Status (R/O) See Section 14.9.3, "Package RAPL Domain."
1341 and MSR_RAPL_POWER_UNIT in Table 35-8.
1343 @param ECX MSR_SILVERMONT_PKG_ENERGY_STATUS (0x00000611)
1344 @param EAX Lower 32-bits of MSR value.
1345 @param EDX Upper 32-bits of MSR value.
1347 <b>Example usage</b>
1351 Msr = AsmReadMsr64 (MSR_SILVERMONT_PKG_ENERGY_STATUS);
1353 @note MSR_SILVERMONT_PKG_ENERGY_STATUS is defined as MSR_PKG_ENERGY_STATUS in SDM.
1355 #define MSR_SILVERMONT_PKG_ENERGY_STATUS 0x00000611
1359 Package. PP0 Energy Status (R/O) See Section 14.9.4, "PP0/PP1 RAPL
1360 Domains." and MSR_RAPL_POWER_UNIT in Table 35-8.
1362 @param ECX MSR_SILVERMONT_PP0_ENERGY_STATUS (0x00000639)
1363 @param EAX Lower 32-bits of MSR value.
1364 @param EDX Upper 32-bits of MSR value.
1366 <b>Example usage</b>
1370 Msr = AsmReadMsr64 (MSR_SILVERMONT_PP0_ENERGY_STATUS);
1372 @note MSR_SILVERMONT_PP0_ENERGY_STATUS is defined as MSR_PP0_ENERGY_STATUS in SDM.
1374 #define MSR_SILVERMONT_PP0_ENERGY_STATUS 0x00000639
1378 Package. Core C6 demotion policy config MSR. Controls per-core C6 demotion
1379 policy. Writing a value of 0 disables core level HW demotion policy.
1381 @param ECX MSR_SILVERMONT_CC6_DEMOTION_POLICY_CONFIG (0x00000668)
1382 @param EAX Lower 32-bits of MSR value.
1383 @param EDX Upper 32-bits of MSR value.
1385 <b>Example usage</b>
1389 Msr = AsmReadMsr64 (MSR_SILVERMONT_CC6_DEMOTION_POLICY_CONFIG);
1390 AsmWriteMsr64 (MSR_SILVERMONT_CC6_DEMOTION_POLICY_CONFIG, Msr);
1392 @note MSR_SILVERMONT_CC6_DEMOTION_POLICY_CONFIG is defined as MSR_CC6_DEMOTION_POLICY_CONFIG in SDM.
1394 #define MSR_SILVERMONT_CC6_DEMOTION_POLICY_CONFIG 0x00000668
1398 Package. Module C6 demotion policy config MSR. Controls module (i.e. two
1399 cores sharing the second-level cache) C6 demotion policy. Writing a value of
1400 0 disables module level HW demotion policy.
1402 @param ECX MSR_SILVERMONT_MC6_DEMOTION_POLICY_CONFIG (0x00000669)
1403 @param EAX Lower 32-bits of MSR value.
1404 @param EDX Upper 32-bits of MSR value.
1406 <b>Example usage</b>
1410 Msr = AsmReadMsr64 (MSR_SILVERMONT_MC6_DEMOTION_POLICY_CONFIG);
1411 AsmWriteMsr64 (MSR_SILVERMONT_MC6_DEMOTION_POLICY_CONFIG, Msr);
1413 @note MSR_SILVERMONT_MC6_DEMOTION_POLICY_CONFIG is defined as MSR_MC6_DEMOTION_POLICY_CONFIG in SDM.
1415 #define MSR_SILVERMONT_MC6_DEMOTION_POLICY_CONFIG 0x00000669
1419 Module. Module C6 Residency Counter (R/0) Note: C-state values are processor
1420 specific C-state code names, unrelated to MWAIT extension C-state parameters
1421 or ACPI CStates. Time that this module is in module-specific C6 states since
1422 last reset. Counts at 1 Mhz frequency.
1424 @param ECX MSR_SILVERMONT_MC6_RESIDENCY_COUNTER (0x00000664)
1425 @param EAX Lower 32-bits of MSR value.
1426 @param EDX Upper 32-bits of MSR value.
1428 <b>Example usage</b>
1432 Msr = AsmReadMsr64 (MSR_SILVERMONT_MC6_RESIDENCY_COUNTER);
1434 @note MSR_SILVERMONT_MC6_RESIDENCY_COUNTER is defined as MSR_MC6_RESIDENCY_COUNTER in SDM.
1436 #define MSR_SILVERMONT_MC6_RESIDENCY_COUNTER 0x00000664
1440 Package. PKG RAPL Parameter (R/0).
1442 @param ECX MSR_SILVERMONT_PKG_POWER_INFO (0x0000066E)
1443 @param EAX Lower 32-bits of MSR value.
1444 Described by the type MSR_SILVERMONT_PKG_POWER_INFO_REGISTER.
1445 @param EDX Upper 32-bits of MSR value.
1446 Described by the type MSR_SILVERMONT_PKG_POWER_INFO_REGISTER.
1448 <b>Example usage</b>
1450 MSR_SILVERMONT_PKG_POWER_INFO_REGISTER Msr;
1452 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PKG_POWER_INFO);
1454 @note MSR_SILVERMONT_PKG_POWER_INFO is defined as MSR_PKG_POWER_INFO in SDM.
1456 #define MSR_SILVERMONT_PKG_POWER_INFO 0x0000066E
1459 MSR information returned for MSR index #MSR_SILVERMONT_PKG_POWER_INFO
1463 /// Individual bit fields
1467 /// [Bits 14:0] Thermal Spec Power. (R/0) The unsigned integer value is
1468 /// the equivalent of thermal specification power of the package domain.
1469 /// The unit of this field is specified by the "Power Units" field of
1470 /// MSR_RAPL_POWER_UNIT.
1472 UINT32 ThermalSpecPower
:15;
1473 UINT32 Reserved1
:17;
1474 UINT32 Reserved2
:32;
1477 /// All bit fields as a 32-bit value
1481 /// All bit fields as a 64-bit value
1484 } MSR_SILVERMONT_PKG_POWER_INFO_REGISTER
;
1488 Package. PP0 RAPL Power Limit Control (R/W).
1490 @param ECX MSR_SILVERMONT_PP0_POWER_LIMIT (0x00000638)
1491 @param EAX Lower 32-bits of MSR value.
1492 Described by the type MSR_SILVERMONT_PP0_POWER_LIMIT_REGISTER.
1493 @param EDX Upper 32-bits of MSR value.
1494 Described by the type MSR_SILVERMONT_PP0_POWER_LIMIT_REGISTER.
1496 <b>Example usage</b>
1498 MSR_SILVERMONT_PP0_POWER_LIMIT_REGISTER Msr;
1500 Msr.Uint64 = AsmReadMsr64 (MSR_SILVERMONT_PP0_POWER_LIMIT);
1501 AsmWriteMsr64 (MSR_SILVERMONT_PP0_POWER_LIMIT, Msr.Uint64);
1503 @note MSR_SILVERMONT_PP0_POWER_LIMIT is defined as MSR_PP0_POWER_LIMIT in SDM.
1505 #define MSR_SILVERMONT_PP0_POWER_LIMIT 0x00000638
1508 MSR information returned for MSR index #MSR_SILVERMONT_PP0_POWER_LIMIT
1512 /// Individual bit fields
1516 /// [Bits 14:0] PP0 Power Limit #1. (R/W) See Section 14.9.4, "PP0/PP1
1517 /// RAPL Domains." and MSR_RAPL_POWER_UNIT in Table 35-8.
1521 /// [Bit 15] Enable Power Limit #1. (R/W) See Section 14.9.4, "PP0/PP1
1527 /// [Bits 23:17] Time Window for Power Limit #1. (R/W) Specifies the time
1528 /// duration over which the average power must remain below
1529 /// PP0_POWER_LIMIT #1(14:0). Supported Encodings: 0x0: 1 second time
1530 /// duration. 0x1: 5 second time duration (Default). 0x2: 10 second time
1531 /// duration. 0x3: 15 second time duration. 0x4: 20 second time duration.
1532 /// 0x5: 25 second time duration. 0x6: 30 second time duration. 0x7: 35
1533 /// second time duration. 0x8: 40 second time duration. 0x9: 45 second
1534 /// time duration. 0xA: 50 second time duration. 0xB-0x7F - reserved.
1538 UINT32 Reserved3
:32;
1541 /// All bit fields as a 32-bit value
1545 /// All bit fields as a 64-bit value
1548 } MSR_SILVERMONT_PP0_POWER_LIMIT_REGISTER
;