2 MSR Definitions for the Intel(R) Atom(TM) Processor Family.
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 __ATOM_MSR_H__
25 #define __ATOM_MSR_H__
27 #include <Register/ArchitecturalMsr.h>
30 Is Intel(R) Atom(TM) Processor Family?
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_ATOM_PROCESSOR(DisplayFamily, DisplayModel) \
39 (DisplayFamily == 0x06 && \
41 DisplayModel == 0x1C || \
42 DisplayModel == 0x26 || \
43 DisplayModel == 0x27 || \
44 DisplayModel == 0x35 || \
45 DisplayModel == 0x36 \
50 Shared. Model Specific Platform ID (R).
52 @param ECX MSR_ATOM_PLATFORM_ID (0x00000017)
53 @param EAX Lower 32-bits of MSR value.
54 Described by the type MSR_ATOM_PLATFORM_ID_REGISTER.
55 @param EDX Upper 32-bits of MSR value.
56 Described by the type MSR_ATOM_PLATFORM_ID_REGISTER.
60 MSR_ATOM_PLATFORM_ID_REGISTER Msr;
62 Msr.Uint64 = AsmReadMsr64 (MSR_ATOM_PLATFORM_ID);
64 @note MSR_ATOM_PLATFORM_ID is defined as MSR_PLATFORM_ID in SDM.
66 #define MSR_ATOM_PLATFORM_ID 0x00000017
69 MSR information returned for MSR index #MSR_ATOM_PLATFORM_ID
73 /// Individual bit fields
78 /// [Bits 12:8] Maximum Qualified Ratio (R) The maximum allowed bus ratio.
80 UINT32 MaximumQualifiedRatio
:5;
85 /// All bit fields as a 32-bit value
89 /// All bit fields as a 64-bit value
92 } MSR_ATOM_PLATFORM_ID_REGISTER
;
96 Shared. Processor Hard Power-On Configuration (R/W) Enables and disables
97 processor features; (R) indicates current processor configuration.
99 @param ECX MSR_ATOM_EBL_CR_POWERON (0x0000002A)
100 @param EAX Lower 32-bits of MSR value.
101 Described by the type MSR_ATOM_EBL_CR_POWERON_REGISTER.
102 @param EDX Upper 32-bits of MSR value.
103 Described by the type MSR_ATOM_EBL_CR_POWERON_REGISTER.
107 MSR_ATOM_EBL_CR_POWERON_REGISTER Msr;
109 Msr.Uint64 = AsmReadMsr64 (MSR_ATOM_EBL_CR_POWERON);
110 AsmWriteMsr64 (MSR_ATOM_EBL_CR_POWERON, Msr.Uint64);
112 @note MSR_ATOM_EBL_CR_POWERON is defined as MSR_EBL_CR_POWERON in SDM.
114 #define MSR_ATOM_EBL_CR_POWERON 0x0000002A
117 MSR information returned for MSR index #MSR_ATOM_EBL_CR_POWERON
121 /// Individual bit fields
126 /// [Bit 1] Data Error Checking Enable (R/W) 1 = Enabled; 0 = Disabled
129 UINT32 DataErrorCheckingEnable
:1;
131 /// [Bit 2] Response Error Checking Enable (R/W) 1 = Enabled; 0 = Disabled
134 UINT32 ResponseErrorCheckingEnable
:1;
136 /// [Bit 3] AERR# Drive Enable (R/W) 1 = Enabled; 0 = Disabled Always 0.
138 UINT32 AERR_DriveEnable
:1;
140 /// [Bit 4] BERR# Enable for initiator bus requests (R/W) 1 = Enabled; 0 =
141 /// Disabled Always 0.
143 UINT32 BERR_Enable
:1;
147 /// [Bit 7] BINIT# Driver Enable (R/W) 1 = Enabled; 0 = Disabled Always 0.
149 UINT32 BINIT_DriverEnable
:1;
152 /// [Bit 9] Execute BIST (R/O) 1 = Enabled; 0 = Disabled.
154 UINT32 ExecuteBIST
:1;
156 /// [Bit 10] AERR# Observation Enabled (R/O) 1 = Enabled; 0 = Disabled
159 UINT32 AERR_ObservationEnabled
:1;
162 /// [Bit 12] BINIT# Observation Enabled (R/O) 1 = Enabled; 0 = Disabled
165 UINT32 BINIT_ObservationEnabled
:1;
168 /// [Bit 14] 1 MByte Power on Reset Vector (R/O) 1 = 1 MByte; 0 = 4 GBytes.
170 UINT32 ResetVector
:1;
173 /// [Bits 17:16] APIC Cluster ID (R/O) Always 00B.
175 UINT32 APICClusterID
:2;
178 /// [Bits 21:20] Symmetric Arbitration ID (R/O) Always 00B.
180 UINT32 SymmetricArbitrationID
:2;
182 /// [Bits 26:22] Integer Bus Frequency Ratio (R/O).
184 UINT32 IntegerBusFrequencyRatio
:5;
186 UINT32 Reserved10
:32;
189 /// All bit fields as a 32-bit value
193 /// All bit fields as a 64-bit value
196 } MSR_ATOM_EBL_CR_POWERON_REGISTER
;
200 Unique. Last Branch Record n From IP (R/W) One of eight pairs of last branch
201 record registers on the last branch record stack. The From_IP part of the
202 stack contains pointers to the source instruction . See also: - Last Branch
203 Record Stack TOS at 1C9H - Section 17.5.
205 @param ECX MSR_ATOM_LASTBRANCH_n_FROM_IP
206 @param EAX Lower 32-bits of MSR value.
207 @param EDX Upper 32-bits of MSR value.
213 Msr = AsmReadMsr64 (MSR_ATOM_LASTBRANCH_0_FROM_IP);
214 AsmWriteMsr64 (MSR_ATOM_LASTBRANCH_0_FROM_IP, Msr);
216 @note MSR_ATOM_LASTBRANCH_0_FROM_IP is defined as MSR_LASTBRANCH_0_FROM_IP in SDM.
217 MSR_ATOM_LASTBRANCH_1_FROM_IP is defined as MSR_LASTBRANCH_1_FROM_IP in SDM.
218 MSR_ATOM_LASTBRANCH_2_FROM_IP is defined as MSR_LASTBRANCH_2_FROM_IP in SDM.
219 MSR_ATOM_LASTBRANCH_3_FROM_IP is defined as MSR_LASTBRANCH_3_FROM_IP in SDM.
220 MSR_ATOM_LASTBRANCH_4_FROM_IP is defined as MSR_LASTBRANCH_4_FROM_IP in SDM.
221 MSR_ATOM_LASTBRANCH_5_FROM_IP is defined as MSR_LASTBRANCH_5_FROM_IP in SDM.
222 MSR_ATOM_LASTBRANCH_6_FROM_IP is defined as MSR_LASTBRANCH_6_FROM_IP in SDM.
223 MSR_ATOM_LASTBRANCH_7_FROM_IP is defined as MSR_LASTBRANCH_7_FROM_IP in SDM.
226 #define MSR_ATOM_LASTBRANCH_0_FROM_IP 0x00000040
227 #define MSR_ATOM_LASTBRANCH_1_FROM_IP 0x00000041
228 #define MSR_ATOM_LASTBRANCH_2_FROM_IP 0x00000042
229 #define MSR_ATOM_LASTBRANCH_3_FROM_IP 0x00000043
230 #define MSR_ATOM_LASTBRANCH_4_FROM_IP 0x00000044
231 #define MSR_ATOM_LASTBRANCH_5_FROM_IP 0x00000045
232 #define MSR_ATOM_LASTBRANCH_6_FROM_IP 0x00000046
233 #define MSR_ATOM_LASTBRANCH_7_FROM_IP 0x00000047
238 Unique. Last Branch Record n To IP (R/W) One of eight pairs of last branch
239 record registers on the last branch record stack. The To_IP part of the
240 stack contains pointers to the destination instruction.
242 @param ECX MSR_ATOM_LASTBRANCH_n_TO_IP
243 @param EAX Lower 32-bits of MSR value.
244 @param EDX Upper 32-bits of MSR value.
250 Msr = AsmReadMsr64 (MSR_ATOM_LASTBRANCH_0_TO_IP);
251 AsmWriteMsr64 (MSR_ATOM_LASTBRANCH_0_TO_IP, Msr);
253 @note MSR_ATOM_LASTBRANCH_0_TO_IP is defined as MSR_LASTBRANCH_0_TO_IP in SDM.
254 MSR_ATOM_LASTBRANCH_1_TO_IP is defined as MSR_LASTBRANCH_1_TO_IP in SDM.
255 MSR_ATOM_LASTBRANCH_2_TO_IP is defined as MSR_LASTBRANCH_2_TO_IP in SDM.
256 MSR_ATOM_LASTBRANCH_3_TO_IP is defined as MSR_LASTBRANCH_3_TO_IP in SDM.
257 MSR_ATOM_LASTBRANCH_4_TO_IP is defined as MSR_LASTBRANCH_4_TO_IP in SDM.
258 MSR_ATOM_LASTBRANCH_5_TO_IP is defined as MSR_LASTBRANCH_5_TO_IP in SDM.
259 MSR_ATOM_LASTBRANCH_6_TO_IP is defined as MSR_LASTBRANCH_6_TO_IP in SDM.
260 MSR_ATOM_LASTBRANCH_7_TO_IP is defined as MSR_LASTBRANCH_7_TO_IP in SDM.
263 #define MSR_ATOM_LASTBRANCH_0_TO_IP 0x00000060
264 #define MSR_ATOM_LASTBRANCH_1_TO_IP 0x00000061
265 #define MSR_ATOM_LASTBRANCH_2_TO_IP 0x00000062
266 #define MSR_ATOM_LASTBRANCH_3_TO_IP 0x00000063
267 #define MSR_ATOM_LASTBRANCH_4_TO_IP 0x00000064
268 #define MSR_ATOM_LASTBRANCH_5_TO_IP 0x00000065
269 #define MSR_ATOM_LASTBRANCH_6_TO_IP 0x00000066
270 #define MSR_ATOM_LASTBRANCH_7_TO_IP 0x00000067
275 Shared. Scalable Bus Speed(RO) This field indicates the intended scalable
276 bus clock speed for processors based on Intel Atom microarchitecture:.
278 @param ECX MSR_ATOM_FSB_FREQ (0x000000CD)
279 @param EAX Lower 32-bits of MSR value.
280 Described by the type MSR_ATOM_FSB_FREQ_REGISTER.
281 @param EDX Upper 32-bits of MSR value.
282 Described by the type MSR_ATOM_FSB_FREQ_REGISTER.
286 MSR_ATOM_FSB_FREQ_REGISTER Msr;
288 Msr.Uint64 = AsmReadMsr64 (MSR_ATOM_FSB_FREQ);
290 @note MSR_ATOM_FSB_FREQ is defined as MSR_FSB_FREQ in SDM.
292 #define MSR_ATOM_FSB_FREQ 0x000000CD
295 MSR information returned for MSR index #MSR_ATOM_FSB_FREQ
299 /// Individual bit fields
303 /// [Bits 2:0] - Scalable Bus Speed
305 /// Atom Processor Family
306 /// ---------------------
307 /// 111B: 083 MHz (FSB 333)
308 /// 101B: 100 MHz (FSB 400)
309 /// 001B: 133 MHz (FSB 533)
310 /// 011B: 167 MHz (FSB 667)
312 /// 133.33 MHz should be utilized if performing calculation with
313 /// System Bus Speed when encoding is 001B.
314 /// 166.67 MHz should be utilized if performing calculation with
315 /// System Bus Speed when
316 /// encoding is 011B.
318 UINT32 ScalableBusSpeed
:3;
323 /// All bit fields as a 32-bit value
327 /// All bit fields as a 64-bit value
330 } MSR_ATOM_FSB_FREQ_REGISTER
;
336 @param ECX MSR_ATOM_BBL_CR_CTL3 (0x0000011E)
337 @param EAX Lower 32-bits of MSR value.
338 Described by the type MSR_ATOM_BBL_CR_CTL3_REGISTER.
339 @param EDX Upper 32-bits of MSR value.
340 Described by the type MSR_ATOM_BBL_CR_CTL3_REGISTER.
344 MSR_ATOM_BBL_CR_CTL3_REGISTER Msr;
346 Msr.Uint64 = AsmReadMsr64 (MSR_ATOM_BBL_CR_CTL3);
347 AsmWriteMsr64 (MSR_ATOM_BBL_CR_CTL3, Msr.Uint64);
349 @note MSR_ATOM_BBL_CR_CTL3 is defined as MSR_BBL_CR_CTL3 in SDM.
351 #define MSR_ATOM_BBL_CR_CTL3 0x0000011E
354 MSR information returned for MSR index #MSR_ATOM_BBL_CR_CTL3
358 /// Individual bit fields
362 /// [Bit 0] L2 Hardware Enabled (RO) 1 = If the L2 is hardware-enabled 0 =
363 /// Indicates if the L2 is hardware-disabled.
365 UINT32 L2HardwareEnabled
:1;
368 /// [Bit 8] L2 Enabled. (R/W) 1 = L2 cache has been initialized 0 =
369 /// Disabled (default) Until this bit is set the processor will not
370 /// respond to the WBINVD instruction or the assertion of the FLUSH# input.
375 /// [Bit 23] L2 Not Present (RO) 1. = L2 Present 2. = L2 Not Present.
377 UINT32 L2NotPresent
:1;
382 /// All bit fields as a 32-bit value
386 /// All bit fields as a 64-bit value
389 } MSR_ATOM_BBL_CR_CTL3_REGISTER
;
395 @param ECX MSR_ATOM_PERF_STATUS (0x00000198)
396 @param EAX Lower 32-bits of MSR value.
397 Described by the type MSR_ATOM_PERF_STATUS_REGISTER.
398 @param EDX Upper 32-bits of MSR value.
399 Described by the type MSR_ATOM_PERF_STATUS_REGISTER.
403 MSR_ATOM_PERF_STATUS_REGISTER Msr;
405 Msr.Uint64 = AsmReadMsr64 (MSR_ATOM_PERF_STATUS);
406 AsmWriteMsr64 (MSR_ATOM_PERF_STATUS, Msr.Uint64);
408 @note MSR_ATOM_PERF_STATUS is defined as MSR_PERF_STATUS in SDM.
410 #define MSR_ATOM_PERF_STATUS 0x00000198
413 MSR information returned for MSR index #MSR_ATOM_PERF_STATUS
417 /// Individual bit fields
421 /// [Bits 15:0] Current Performance State Value.
423 UINT32 CurrentPerformanceStateValue
:16;
427 /// [Bits 44:40] Maximum Bus Ratio (R/O) Indicates maximum bus ratio
428 /// configured for the processor.
430 UINT32 MaximumBusRatio
:5;
434 /// All bit fields as a 64-bit value
437 } MSR_ATOM_PERF_STATUS_REGISTER
;
443 @param ECX MSR_ATOM_THERM2_CTL (0x0000019D)
444 @param EAX Lower 32-bits of MSR value.
445 Described by the type MSR_ATOM_THERM2_CTL_REGISTER.
446 @param EDX Upper 32-bits of MSR value.
447 Described by the type MSR_ATOM_THERM2_CTL_REGISTER.
451 MSR_ATOM_THERM2_CTL_REGISTER Msr;
453 Msr.Uint64 = AsmReadMsr64 (MSR_ATOM_THERM2_CTL);
454 AsmWriteMsr64 (MSR_ATOM_THERM2_CTL, Msr.Uint64);
456 @note MSR_ATOM_THERM2_CTL is defined as MSR_THERM2_CTL in SDM.
458 #define MSR_ATOM_THERM2_CTL 0x0000019D
461 MSR information returned for MSR index #MSR_ATOM_THERM2_CTL
465 /// Individual bit fields
470 /// [Bit 16] TM_SELECT (R/W) Mode of automatic thermal monitor: 1. =
471 /// Thermal Monitor 1 (thermally-initiated on-die modulation of the
472 /// stop-clock duty cycle) 2. = Thermal Monitor 2 (thermally-initiated
473 /// frequency transitions) If bit 3 of the IA32_MISC_ENABLE register is
474 /// cleared, TM_SELECT has no effect. Neither TM1 nor TM2 are enabled.
481 /// All bit fields as a 32-bit value
485 /// All bit fields as a 64-bit value
488 } MSR_ATOM_THERM2_CTL_REGISTER
;
492 Unique. Enable Misc. Processor Features (R/W) Allows a variety of processor
493 functions to be enabled and disabled.
495 @param ECX MSR_ATOM_IA32_MISC_ENABLE (0x000001A0)
496 @param EAX Lower 32-bits of MSR value.
497 Described by the type MSR_ATOM_IA32_MISC_ENABLE_REGISTER.
498 @param EDX Upper 32-bits of MSR value.
499 Described by the type MSR_ATOM_IA32_MISC_ENABLE_REGISTER.
503 MSR_ATOM_IA32_MISC_ENABLE_REGISTER Msr;
505 Msr.Uint64 = AsmReadMsr64 (MSR_ATOM_IA32_MISC_ENABLE);
506 AsmWriteMsr64 (MSR_ATOM_IA32_MISC_ENABLE, Msr.Uint64);
508 @note MSR_ATOM_IA32_MISC_ENABLE is defined as IA32_MISC_ENABLE in SDM.
510 #define MSR_ATOM_IA32_MISC_ENABLE 0x000001A0
513 MSR information returned for MSR index #MSR_ATOM_IA32_MISC_ENABLE
517 /// Individual bit fields
521 /// [Bit 0] Fast-Strings Enable See Table 2-2.
523 UINT32 FastStrings
:1;
526 /// [Bit 3] Unique. Automatic Thermal Control Circuit Enable (R/W) See
527 /// Table 2-2. Default value is 0.
529 UINT32 AutomaticThermalControlCircuit
:1;
532 /// [Bit 7] Shared. Performance Monitoring Available (R) See Table 2-2.
534 UINT32 PerformanceMonitoring
:1;
538 /// [Bit 10] Shared. FERR# Multiplexing Enable (R/W) 1 = FERR# asserted by
539 /// the processor to indicate a pending break event within the processor 0
540 /// = Indicates compatible FERR# signaling behavior This bit must be set
541 /// to 1 to support XAPIC interrupt model usage.
545 /// [Bit 11] Shared. Branch Trace Storage Unavailable (RO) See Table 2-2.
549 /// [Bit 12] Shared. Processor Event Based Sampling Unavailable (RO) See
554 /// [Bit 13] Shared. TM2 Enable (R/W) When this bit is set (1) and the
555 /// thermal sensor indicates that the die temperature is at the
556 /// pre-determined threshold, the Thermal Monitor 2 mechanism is engaged.
557 /// TM2 will reduce the bus to core ratio and voltage according to the
558 /// value last written to MSR_THERM2_CTL bits 15:0.
559 /// When this bit is clear (0, default), the processor does not change
560 /// the VID signals or the bus to core ratio when the processor enters a
561 /// thermally managed state. The BIOS must enable this feature if the
562 /// TM2 feature flag (CPUID.1:ECX[8]) is set; if the TM2 feature flag is
563 /// not set, this feature is not supported and BIOS must not alter the
564 /// contents of the TM2 bit location. The processor is operating out of
565 /// specification if both this bit and the TM1 bit are set to 0.
570 /// [Bit 16] Shared. Enhanced Intel SpeedStep Technology Enable (R/W) See
576 /// [Bit 18] Shared. ENABLE MONITOR FSM (R/W) See Table 2-2.
581 /// [Bit 20] Shared. Enhanced Intel SpeedStep Technology Select Lock
582 /// (R/WO) When set, this bit causes the following bits to become
583 /// read-only: - Enhanced Intel SpeedStep Technology Select Lock (this
584 /// bit), - Enhanced Intel SpeedStep Technology Enable bit. The bit must
585 /// be set before an Enhanced Intel SpeedStep Technology transition is
586 /// requested. This bit is cleared on reset.
591 /// [Bit 22] Unique. Limit CPUID Maxval (R/W) See Table 2-2.
593 UINT32 LimitCpuidMaxval
:1;
595 /// [Bit 23] Shared. xTPR Message Disable (R/W) See Table 2-2.
597 UINT32 xTPR_Message_Disable
:1;
601 /// [Bit 34] Unique. XD Bit Disable (R/W) See Table 2-2.
604 UINT32 Reserved11
:29;
607 /// All bit fields as a 64-bit value
610 } MSR_ATOM_IA32_MISC_ENABLE_REGISTER
;
614 Unique. Last Branch Record Stack TOS (R/W) Contains an index (bits 0-2)
615 that points to the MSR containing the most recent branch record. See
616 MSR_LASTBRANCH_0_FROM_IP (at 40H).
618 @param ECX MSR_ATOM_LASTBRANCH_TOS (0x000001C9)
619 @param EAX Lower 32-bits of MSR value.
620 @param EDX Upper 32-bits of MSR value.
626 Msr = AsmReadMsr64 (MSR_ATOM_LASTBRANCH_TOS);
627 AsmWriteMsr64 (MSR_ATOM_LASTBRANCH_TOS, Msr);
629 @note MSR_ATOM_LASTBRANCH_TOS is defined as MSR_LASTBRANCH_TOS in SDM.
631 #define MSR_ATOM_LASTBRANCH_TOS 0x000001C9
635 Unique. Last Exception Record From Linear IP (R) Contains a pointer to the
636 last branch instruction that the processor executed prior to the last
637 exception that was generated or the last interrupt that was handled.
639 @param ECX MSR_ATOM_LER_FROM_LIP (0x000001DD)
640 @param EAX Lower 32-bits of MSR value.
641 @param EDX Upper 32-bits of MSR value.
647 Msr = AsmReadMsr64 (MSR_ATOM_LER_FROM_LIP);
649 @note MSR_ATOM_LER_FROM_LIP is defined as MSR_LER_FROM_LIP in SDM.
651 #define MSR_ATOM_LER_FROM_LIP 0x000001DD
655 Unique. Last Exception Record To Linear IP (R) This area contains a pointer
656 to the target of the last branch instruction that the processor executed
657 prior to the last exception that was generated or the last interrupt that
660 @param ECX MSR_ATOM_LER_TO_LIP (0x000001DE)
661 @param EAX Lower 32-bits of MSR value.
662 @param EDX Upper 32-bits of MSR value.
668 Msr = AsmReadMsr64 (MSR_ATOM_LER_TO_LIP);
670 @note MSR_ATOM_LER_TO_LIP is defined as MSR_LER_TO_LIP in SDM.
672 #define MSR_ATOM_LER_TO_LIP 0x000001DE
676 Unique. See Table 2-2. See Section 18.6.2.4, "Processor Event Based Sampling
679 @param ECX MSR_ATOM_PEBS_ENABLE (0x000003F1)
680 @param EAX Lower 32-bits of MSR value.
681 Described by the type MSR_ATOM_PEBS_ENABLE_REGISTER.
682 @param EDX Upper 32-bits of MSR value.
683 Described by the type MSR_ATOM_PEBS_ENABLE_REGISTER.
687 MSR_ATOM_PEBS_ENABLE_REGISTER Msr;
689 Msr.Uint64 = AsmReadMsr64 (MSR_ATOM_PEBS_ENABLE);
690 AsmWriteMsr64 (MSR_ATOM_PEBS_ENABLE, Msr.Uint64);
692 @note MSR_ATOM_PEBS_ENABLE is defined as MSR_PEBS_ENABLE in SDM.
694 #define MSR_ATOM_PEBS_ENABLE 0x000003F1
697 MSR information returned for MSR index #MSR_ATOM_PEBS_ENABLE
701 /// Individual bit fields
705 /// [Bit 0] Enable PEBS on IA32_PMC0. (R/W).
712 /// All bit fields as a 32-bit value
716 /// All bit fields as a 64-bit value
719 } MSR_ATOM_PEBS_ENABLE_REGISTER
;
723 Package. Package C2 Residency Note: C-state values are processor specific
724 C-state code names, unrelated to MWAIT extension C-state parameters or ACPI
725 C-States. Package. Package C2 Residency Counter. (R/O) Time that this
726 package is in processor-specific C2 states since last reset. Counts at 1 Mhz
729 @param ECX MSR_ATOM_PKG_C2_RESIDENCY (0x000003F8)
730 @param EAX Lower 32-bits of MSR value.
731 @param EDX Upper 32-bits of MSR value.
737 Msr = AsmReadMsr64 (MSR_ATOM_PKG_C2_RESIDENCY);
738 AsmWriteMsr64 (MSR_ATOM_PKG_C2_RESIDENCY, Msr);
740 @note MSR_ATOM_PKG_C2_RESIDENCY is defined as MSR_PKG_C2_RESIDENCY in SDM.
742 #define MSR_ATOM_PKG_C2_RESIDENCY 0x000003F8
746 Package. Package C4 Residency Note: C-state values are processor specific
747 C-state code names, unrelated to MWAIT extension C-state parameters or ACPI
748 C-States. Package. Package C4 Residency Counter. (R/O) Time that this
749 package is in processor-specific C4 states since last reset. Counts at 1 Mhz
752 @param ECX MSR_ATOM_PKG_C4_RESIDENCY (0x000003F9)
753 @param EAX Lower 32-bits of MSR value.
754 @param EDX Upper 32-bits of MSR value.
760 Msr = AsmReadMsr64 (MSR_ATOM_PKG_C4_RESIDENCY);
761 AsmWriteMsr64 (MSR_ATOM_PKG_C4_RESIDENCY, Msr);
763 @note MSR_ATOM_PKG_C4_RESIDENCY is defined as MSR_PKG_C4_RESIDENCY in SDM.
765 #define MSR_ATOM_PKG_C4_RESIDENCY 0x000003F9
769 Package. Package C6 Residency Note: C-state values are processor specific
770 C-state code names, unrelated to MWAIT extension C-state parameters or ACPI
771 C-States. Package. Package C6 Residency Counter. (R/O) Time that this
772 package is in processor-specific C6 states since last reset. Counts at 1 Mhz
775 @param ECX MSR_ATOM_PKG_C6_RESIDENCY (0x000003FA)
776 @param EAX Lower 32-bits of MSR value.
777 @param EDX Upper 32-bits of MSR value.
783 Msr = AsmReadMsr64 (MSR_ATOM_PKG_C6_RESIDENCY);
784 AsmWriteMsr64 (MSR_ATOM_PKG_C6_RESIDENCY, Msr);
786 @note MSR_ATOM_PKG_C6_RESIDENCY is defined as MSR_PKG_C6_RESIDENCY in SDM.
788 #define MSR_ATOM_PKG_C6_RESIDENCY 0x000003FA