2 MSR Definitions for P6 Family Processors.
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.21.
27 #include <Register/ArchitecturalMsr.h>
30 See Section 35.22, "MSRs in Pentium Processors.".
32 @param ECX MSR_P6_P5_MC_ADDR (0x00000000)
33 @param EAX Lower 32-bits of MSR value.
34 @param EDX Upper 32-bits of MSR value.
40 Msr = AsmReadMsr64 (MSR_P6_P5_MC_ADDR);
41 AsmWriteMsr64 (MSR_P6_P5_MC_ADDR, Msr);
43 @note MSR_P6_P5_MC_ADDR is defined as P5_MC_ADDR in SDM.
45 #define MSR_P6_P5_MC_ADDR 0x00000000
49 See Section 35.22, "MSRs in Pentium Processors.".
51 @param ECX MSR_P6_P5_MC_TYPE (0x00000001)
52 @param EAX Lower 32-bits of MSR value.
53 @param EDX Upper 32-bits of MSR value.
59 Msr = AsmReadMsr64 (MSR_P6_P5_MC_TYPE);
60 AsmWriteMsr64 (MSR_P6_P5_MC_TYPE, Msr);
62 @note MSR_P6_P5_MC_TYPE is defined as P5_MC_TYPE in SDM.
64 #define MSR_P6_P5_MC_TYPE 0x00000001
68 See Section 17.14, "Time-Stamp Counter.".
70 @param ECX MSR_P6_TSC (0x00000010)
71 @param EAX Lower 32-bits of MSR value.
72 @param EDX Upper 32-bits of MSR value.
78 Msr = AsmReadMsr64 (MSR_P6_TSC);
79 AsmWriteMsr64 (MSR_P6_TSC, Msr);
81 @note MSR_P6_TSC is defined as TSC in SDM.
83 #define MSR_P6_TSC 0x00000010
87 Platform ID (R) The operating system can use this MSR to determine "slot"
88 information for the processor and the proper microcode update to load.
90 @param ECX MSR_P6_IA32_PLATFORM_ID (0x00000017)
91 @param EAX Lower 32-bits of MSR value.
92 Described by the type MSR_P6_IA32_PLATFORM_ID_REGISTER.
93 @param EDX Upper 32-bits of MSR value.
94 Described by the type MSR_P6_IA32_PLATFORM_ID_REGISTER.
98 MSR_P6_IA32_PLATFORM_ID_REGISTER Msr;
100 Msr.Uint64 = AsmReadMsr64 (MSR_P6_IA32_PLATFORM_ID);
102 @note MSR_P6_IA32_PLATFORM_ID is defined as IA32_PLATFORM_ID in SDM.
104 #define MSR_P6_IA32_PLATFORM_ID 0x00000017
107 MSR information returned for MSR index #MSR_P6_IA32_PLATFORM_ID
111 /// Individual bit fields
117 /// [Bits 52:50] Platform Id (R) Contains information concerning the
118 /// intended platform for the processor.
121 /// 0 0 0 Processor Flag 0.
122 /// 0 0 1 Processor Flag 1
123 /// 0 1 0 Processor Flag 2
124 /// 0 1 1 Processor Flag 3
125 /// 1 0 0 Processor Flag 4
126 /// 1 0 1 Processor Flag 5
127 /// 1 1 0 Processor Flag 6
128 /// 1 1 1 Processor Flag 7
132 /// [Bits 56:53] L2 Cache Latency Read.
134 UINT32 L2CacheLatencyRead
:4;
137 /// [Bit 60] Clock Frequency Ratio Read.
139 UINT32 ClockFrequencyRatioRead
:1;
143 /// All bit fields as a 64-bit value
146 } MSR_P6_IA32_PLATFORM_ID_REGISTER
;
150 Section 10.4.4, "Local APIC Status and Location.".
152 @param ECX MSR_P6_APIC_BASE (0x0000001B)
153 @param EAX Lower 32-bits of MSR value.
154 Described by the type MSR_P6_APIC_BASE_REGISTER.
155 @param EDX Upper 32-bits of MSR value.
156 Described by the type MSR_P6_APIC_BASE_REGISTER.
160 MSR_P6_APIC_BASE_REGISTER Msr;
162 Msr.Uint64 = AsmReadMsr64 (MSR_P6_APIC_BASE);
163 AsmWriteMsr64 (MSR_P6_APIC_BASE, Msr.Uint64);
165 @note MSR_P6_APIC_BASE is defined as APIC_BASE in SDM.
167 #define MSR_P6_APIC_BASE 0x0000001B
170 MSR information returned for MSR index #MSR_P6_APIC_BASE
174 /// Individual bit fields
179 /// [Bit 8] Boot Strap Processor indicator Bit 1 = BSP.
184 /// [Bit 11] APIC Global Enable Bit - Permanent till reset 1 = Enabled 0 =
189 /// [Bits 31:12] APIC Base Address.
195 /// All bit fields as a 32-bit value
199 /// All bit fields as a 64-bit value
202 } MSR_P6_APIC_BASE_REGISTER
;
206 Processor Hard Power-On Configuration (R/W) Enables and disables processor
207 features; (R) indicates current processor configuration.
209 @param ECX MSR_P6_EBL_CR_POWERON (0x0000002A)
210 @param EAX Lower 32-bits of MSR value.
211 Described by the type MSR_P6_EBL_CR_POWERON_REGISTER.
212 @param EDX Upper 32-bits of MSR value.
213 Described by the type MSR_P6_EBL_CR_POWERON_REGISTER.
217 MSR_P6_EBL_CR_POWERON_REGISTER Msr;
219 Msr.Uint64 = AsmReadMsr64 (MSR_P6_EBL_CR_POWERON);
220 AsmWriteMsr64 (MSR_P6_EBL_CR_POWERON, Msr.Uint64);
222 @note MSR_P6_EBL_CR_POWERON is defined as EBL_CR_POWERON in SDM.
224 #define MSR_P6_EBL_CR_POWERON 0x0000002A
227 MSR information returned for MSR index #MSR_P6_EBL_CR_POWERON
231 /// Individual bit fields
236 /// [Bit 1] Data Error Checking Enable (R/W) 1 = Enabled 0 = Disabled.
238 UINT32 DataErrorCheckingEnable
:1;
240 /// [Bit 2] Response Error Checking Enable FRCERR Observation Enable (R/W)
241 /// 1 = Enabled 0 = Disabled.
243 UINT32 ResponseErrorCheckingEnable
:1;
245 /// [Bit 3] AERR# Drive Enable (R/W) 1 = Enabled 0 = Disabled.
247 UINT32 AERR_DriveEnable
:1;
249 /// [Bit 4] BERR# Enable for Initiator Bus Requests (R/W) 1 = Enabled 0 =
252 UINT32 BERR_Enable
:1;
255 /// [Bit 6] BERR# Driver Enable for Initiator Internal Errors (R/W) 1 =
256 /// Enabled 0 = Disabled.
258 UINT32 BERR_DriverEnable
:1;
260 /// [Bit 7] BINIT# Driver Enable (R/W) 1 = Enabled 0 = Disabled.
262 UINT32 BINIT_DriverEnable
:1;
264 /// [Bit 8] Output Tri-state Enabled (R) 1 = Enabled 0 = Disabled.
266 UINT32 OutputTriStateEnable
:1;
268 /// [Bit 9] Execute BIST (R) 1 = Enabled 0 = Disabled.
270 UINT32 ExecuteBIST
:1;
272 /// [Bit 10] AERR# Observation Enabled (R) 1 = Enabled 0 = Disabled.
274 UINT32 AERR_ObservationEnabled
:1;
277 /// [Bit 12] BINIT# Observation Enabled (R) 1 = Enabled 0 = Disabled.
279 UINT32 BINIT_ObservationEnabled
:1;
281 /// [Bit 13] In Order Queue Depth (R) 1 = 1 0 = 8.
283 UINT32 InOrderQueueDepth
:1;
285 /// [Bit 14] 1-MByte Power on Reset Vector (R) 1 = 1MByte 0 = 4GBytes.
287 UINT32 ResetVector
:1;
289 /// [Bit 15] FRC Mode Enable (R) 1 = Enabled 0 = Disabled.
291 UINT32 FRCModeEnable
:1;
293 /// [Bits 17:16] APIC Cluster ID (R).
295 UINT32 APICClusterID
:2;
297 /// [Bits 19:18] System Bus Frequency (R) 00 = 66MHz 10 = 100Mhz 01 =
298 /// 133MHz 11 = Reserved.
300 UINT32 SystemBusFrequency
:2;
302 /// [Bits 21:20] Symmetric Arbitration ID (R).
304 UINT32 SymmetricArbitrationID
:2;
306 /// [Bits 25:22] Clock Frequency Ratio (R).
308 UINT32 ClockFrequencyRatio
:4;
310 /// [Bit 26] Low Power Mode Enable (R/W).
312 UINT32 LowPowerModeEnable
:1;
314 /// [Bit 27] Clock Frequency Ratio.
316 UINT32 ClockFrequencyRatio1
:1;
321 /// All bit fields as a 32-bit value
325 /// All bit fields as a 64-bit value
328 } MSR_P6_EBL_CR_POWERON_REGISTER
;
332 Test Control Register.
334 @param ECX MSR_P6_TEST_CTL (0x00000033)
335 @param EAX Lower 32-bits of MSR value.
336 Described by the type MSR_P6_TEST_CTL_REGISTER.
337 @param EDX Upper 32-bits of MSR value.
338 Described by the type MSR_P6_TEST_CTL_REGISTER.
342 MSR_P6_TEST_CTL_REGISTER Msr;
344 Msr.Uint64 = AsmReadMsr64 (MSR_P6_TEST_CTL);
345 AsmWriteMsr64 (MSR_P6_TEST_CTL, Msr.Uint64);
347 @note MSR_P6_TEST_CTL is defined as TEST_CTL in SDM.
349 #define MSR_P6_TEST_CTL 0x00000033
352 MSR information returned for MSR index #MSR_P6_TEST_CTL
356 /// Individual bit fields
361 /// [Bit 30] Streaming Buffer Disable.
363 UINT32 StreamingBufferDisable
:1;
365 /// [Bit 31] Disable LOCK# Assertion for split locked access.
367 UINT32 Disable_LOCK
:1;
371 /// All bit fields as a 32-bit value
375 /// All bit fields as a 64-bit value
378 } MSR_P6_TEST_CTL_REGISTER
;
382 BIOS Update Trigger Register.
384 @param ECX MSR_P6_BIOS_UPDT_TRIG (0x00000079)
385 @param EAX Lower 32-bits of MSR value.
386 @param EDX Upper 32-bits of MSR value.
392 Msr = AsmReadMsr64 (MSR_P6_BIOS_UPDT_TRIG);
393 AsmWriteMsr64 (MSR_P6_BIOS_UPDT_TRIG, Msr);
395 @note MSR_P6_BIOS_UPDT_TRIG is defined as BIOS_UPDT_TRIG in SDM.
397 #define MSR_P6_BIOS_UPDT_TRIG 0x00000079
401 Chunk n data register D[63:0]: used to write to and read from the L2.
403 @param ECX MSR_P6_BBL_CR_Dn
404 @param EAX Lower 32-bits of MSR value.
405 @param EDX Upper 32-bits of MSR value.
411 Msr = AsmReadMsr64 (MSR_P6_BBL_CR_D0);
412 AsmWriteMsr64 (MSR_P6_BBL_CR_D0, Msr);
414 @note MSR_P6_BBL_CR_D0 is defined as BBL_CR_D0 in SDM.
415 MSR_P6_BBL_CR_D1 is defined as BBL_CR_D1 in SDM.
416 MSR_P6_BBL_CR_D2 is defined as BBL_CR_D2 in SDM.
419 #define MSR_P6_BBL_CR_D0 0x00000088
420 #define MSR_P6_BBL_CR_D1 0x00000089
421 #define MSR_P6_BBL_CR_D2 0x0000008A
426 BIOS Update Signature Register or Chunk 3 data register D[63:0] Used to
427 write to and read from the L2 depending on the usage model.
429 @param ECX MSR_P6_BIOS_SIGN (0x0000008B)
430 @param EAX Lower 32-bits of MSR value.
431 @param EDX Upper 32-bits of MSR value.
437 Msr = AsmReadMsr64 (MSR_P6_BIOS_SIGN);
438 AsmWriteMsr64 (MSR_P6_BIOS_SIGN, Msr);
440 @note MSR_P6_BIOS_SIGN is defined as BIOS_SIGN in SDM.
442 #define MSR_P6_BIOS_SIGN 0x0000008B
448 @param ECX MSR_P6_PERFCTR0 (0x000000C1)
449 @param EAX Lower 32-bits of MSR value.
450 @param EDX Upper 32-bits of MSR value.
456 Msr = AsmReadMsr64 (MSR_P6_PERFCTR0);
457 AsmWriteMsr64 (MSR_P6_PERFCTR0, Msr);
459 @note MSR_P6_PERFCTR0 is defined as PERFCTR0 in SDM.
460 MSR_P6_PERFCTR1 is defined as PERFCTR1 in SDM.
463 #define MSR_P6_PERFCTR0 0x000000C1
464 #define MSR_P6_PERFCTR1 0x000000C2
471 @param ECX MSR_P6_MTRRCAP (0x000000FE)
472 @param EAX Lower 32-bits of MSR value.
473 @param EDX Upper 32-bits of MSR value.
479 Msr = AsmReadMsr64 (MSR_P6_MTRRCAP);
480 AsmWriteMsr64 (MSR_P6_MTRRCAP, Msr);
482 @note MSR_P6_MTRRCAP is defined as MTRRCAP in SDM.
484 #define MSR_P6_MTRRCAP 0x000000FE
488 Address register: used to send specified address (A31-A3) to L2 during cache
489 initialization accesses.
491 @param ECX MSR_P6_BBL_CR_ADDR (0x00000116)
492 @param EAX Lower 32-bits of MSR value.
493 Described by the type MSR_P6_BBL_CR_ADDR_REGISTER.
494 @param EDX Upper 32-bits of MSR value.
495 Described by the type MSR_P6_BBL_CR_ADDR_REGISTER.
499 MSR_P6_BBL_CR_ADDR_REGISTER Msr;
501 Msr.Uint64 = AsmReadMsr64 (MSR_P6_BBL_CR_ADDR);
502 AsmWriteMsr64 (MSR_P6_BBL_CR_ADDR, Msr.Uint64);
504 @note MSR_P6_BBL_CR_ADDR is defined as BBL_CR_ADDR in SDM.
506 #define MSR_P6_BBL_CR_ADDR 0x00000116
509 MSR information returned for MSR index #MSR_P6_BBL_CR_ADDR
513 /// Individual bit fields
518 /// [Bits 31:3] Address bits
524 /// All bit fields as a 32-bit value
528 /// All bit fields as a 64-bit value
531 } MSR_P6_BBL_CR_ADDR_REGISTER
;
535 Data ECC register D[7:0]: used to write ECC and read ECC to/from L2.
537 @param ECX MSR_P6_BBL_CR_DECC (0x00000118)
538 @param EAX Lower 32-bits of MSR value.
539 @param EDX Upper 32-bits of MSR value.
545 Msr = AsmReadMsr64 (MSR_P6_BBL_CR_DECC);
546 AsmWriteMsr64 (MSR_P6_BBL_CR_DECC, Msr);
548 @note MSR_P6_BBL_CR_DECC is defined as BBL_CR_DECC in SDM.
550 #define MSR_P6_BBL_CR_DECC 0x00000118
554 Control register: used to program L2 commands to be issued via cache
555 configuration accesses mechanism. Also receives L2 lookup response.
557 @param ECX MSR_P6_BBL_CR_CTL (0x00000119)
558 @param EAX Lower 32-bits of MSR value.
559 Described by the type MSR_P6_BBL_CR_CTL_REGISTER.
560 @param EDX Upper 32-bits of MSR value.
561 Described by the type MSR_P6_BBL_CR_CTL_REGISTER.
565 MSR_P6_BBL_CR_CTL_REGISTER Msr;
567 Msr.Uint64 = AsmReadMsr64 (MSR_P6_BBL_CR_CTL);
568 AsmWriteMsr64 (MSR_P6_BBL_CR_CTL, Msr.Uint64);
570 @note MSR_P6_BBL_CR_CTL is defined as BBL_CR_CTL in SDM.
572 #define MSR_P6_BBL_CR_CTL 0x00000119
575 MSR information returned for MSR index #MSR_P6_BBL_CR_CTL
579 /// Individual bit fields
583 /// [Bits 4:0] L2 Command
584 /// Data Read w/ LRU update (RLU)
585 /// Tag Read w/ Data Read (TRR)
587 /// L2 Control Register Read (CR)
588 /// L2 Control Register Write (CW)
589 /// Tag Write w/ Data Read (TWR)
590 /// Tag Write w/ Data Write (TWW)
595 /// [Bits 6:5] State to L2
600 /// [Bits 9:8] Way to L2.
604 /// [Bits 11:10] Way 0 - 00, Way 1 - 01, Way 2 - 10, Way 3 - 11.
608 /// [Bits 13:12] Modified - 11,Exclusive - 10, Shared - 01, Invalid - 00.
612 /// [Bits 15:14] State from L2.
614 UINT32 StateFromL2
:2;
622 /// [Bits 20:19] User supplied ECC.
626 /// [Bit 21] Processor number Disable = 1 Enable = 0 Reserved.
628 UINT32 ProcessorNumber
:1;
633 /// All bit fields as a 32-bit value
637 /// All bit fields as a 64-bit value
640 } MSR_P6_BBL_CR_CTL_REGISTER
;
644 Trigger register: used to initiate a cache configuration accesses access,
645 Write only with Data = 0.
647 @param ECX MSR_P6_BBL_CR_TRIG (0x0000011A)
648 @param EAX Lower 32-bits of MSR value.
649 @param EDX Upper 32-bits of MSR value.
655 Msr = AsmReadMsr64 (MSR_P6_BBL_CR_TRIG);
656 AsmWriteMsr64 (MSR_P6_BBL_CR_TRIG, Msr);
658 @note MSR_P6_BBL_CR_TRIG is defined as BBL_CR_TRIG in SDM.
660 #define MSR_P6_BBL_CR_TRIG 0x0000011A
664 Busy register: indicates when a cache configuration accesses L2 command is
665 in progress. D[0] = 1 = BUSY.
667 @param ECX MSR_P6_BBL_CR_BUSY (0x0000011B)
668 @param EAX Lower 32-bits of MSR value.
669 @param EDX Upper 32-bits of MSR value.
675 Msr = AsmReadMsr64 (MSR_P6_BBL_CR_BUSY);
676 AsmWriteMsr64 (MSR_P6_BBL_CR_BUSY, Msr);
678 @note MSR_P6_BBL_CR_BUSY is defined as BBL_CR_BUSY in SDM.
680 #define MSR_P6_BBL_CR_BUSY 0x0000011B
684 Control register 3: used to configure the L2 Cache.
686 @param ECX MSR_P6_BBL_CR_CTL3 (0x0000011E)
687 @param EAX Lower 32-bits of MSR value.
688 Described by the type MSR_P6_BBL_CR_CTL3_REGISTER.
689 @param EDX Upper 32-bits of MSR value.
690 Described by the type MSR_P6_BBL_CR_CTL3_REGISTER.
694 MSR_P6_BBL_CR_CTL3_REGISTER Msr;
696 Msr.Uint64 = AsmReadMsr64 (MSR_P6_BBL_CR_CTL3);
697 AsmWriteMsr64 (MSR_P6_BBL_CR_CTL3, Msr.Uint64);
699 @note MSR_P6_BBL_CR_CTL3 is defined as BBL_CR_CTL3 in SDM.
701 #define MSR_P6_BBL_CR_CTL3 0x0000011E
704 MSR information returned for MSR index #MSR_P6_BBL_CR_CTL3
708 /// Individual bit fields
712 /// [Bit 0] L2 Configured (read/write ).
714 UINT32 L2Configured
:1;
716 /// [Bits 4:1] L2 Cache Latency (read/write).
718 UINT32 L2CacheLatency
:4;
720 /// [Bit 5] ECC Check Enable (read/write).
722 UINT32 ECCCheckEnable
:1;
724 /// [Bit 6] Address Parity Check Enable (read/write).
726 UINT32 AddressParityCheckEnable
:1;
728 /// [Bit 7] CRTN Parity Check Enable (read/write).
730 UINT32 CRTNParityCheckEnable
:1;
732 /// [Bit 8] L2 Enabled (read/write).
736 /// [Bits 10:9] L2 Associativity (read only) Direct Mapped 2 Way 4 Way
739 UINT32 L2Associativity
:2;
741 /// [Bits 12:11] Number of L2 banks (read only).
745 /// [Bits 17:13] Cache size per bank (read/write) 256KBytes 512KBytes
746 /// 1MByte 2MByte 4MBytes.
748 UINT32 CacheSizePerBank
:5;
750 /// [Bit 18] Cache State error checking enable (read/write).
752 UINT32 CacheStateErrorEnable
:1;
755 /// [Bits 22:20] L2 Physical Address Range support 64GBytes 32GBytes
756 /// 16GBytes 8GBytes 4GBytes 2GBytes 1GBytes 512MBytes.
758 UINT32 L2AddressRange
:3;
760 /// [Bit 23] L2 Hardware Disable (read only).
762 UINT32 L2HardwareDisable
:1;
765 /// [Bit 25] Cache bus fraction (read only).
767 UINT32 CacheBusFraction
:1;
772 /// All bit fields as a 32-bit value
776 /// All bit fields as a 64-bit value
779 } MSR_P6_BBL_CR_CTL3_REGISTER
;
783 CS register target for CPL 0 code.
785 @param ECX MSR_P6_SYSENTER_CS_MSR (0x00000174)
786 @param EAX Lower 32-bits of MSR value.
787 @param EDX Upper 32-bits of MSR value.
793 Msr = AsmReadMsr64 (MSR_P6_SYSENTER_CS_MSR);
794 AsmWriteMsr64 (MSR_P6_SYSENTER_CS_MSR, Msr);
796 @note MSR_P6_SYSENTER_CS_MSR is defined as SYSENTER_CS_MSR in SDM.
798 #define MSR_P6_SYSENTER_CS_MSR 0x00000174
802 Stack pointer for CPL 0 stack.
804 @param ECX MSR_P6_SYSENTER_ESP_MSR (0x00000175)
805 @param EAX Lower 32-bits of MSR value.
806 @param EDX Upper 32-bits of MSR value.
812 Msr = AsmReadMsr64 (MSR_P6_SYSENTER_ESP_MSR);
813 AsmWriteMsr64 (MSR_P6_SYSENTER_ESP_MSR, Msr);
815 @note MSR_P6_SYSENTER_ESP_MSR is defined as SYSENTER_ESP_MSR in SDM.
817 #define MSR_P6_SYSENTER_ESP_MSR 0x00000175
821 CPL 0 code entry point.
823 @param ECX MSR_P6_SYSENTER_EIP_MSR (0x00000176)
824 @param EAX Lower 32-bits of MSR value.
825 @param EDX Upper 32-bits of MSR value.
831 Msr = AsmReadMsr64 (MSR_P6_SYSENTER_EIP_MSR);
832 AsmWriteMsr64 (MSR_P6_SYSENTER_EIP_MSR, Msr);
834 @note MSR_P6_SYSENTER_EIP_MSR is defined as SYSENTER_EIP_MSR in SDM.
836 #define MSR_P6_SYSENTER_EIP_MSR 0x00000176
842 @param ECX MSR_P6_MCG_CAP (0x00000179)
843 @param EAX Lower 32-bits of MSR value.
844 @param EDX Upper 32-bits of MSR value.
850 Msr = AsmReadMsr64 (MSR_P6_MCG_CAP);
851 AsmWriteMsr64 (MSR_P6_MCG_CAP, Msr);
853 @note MSR_P6_MCG_CAP is defined as MCG_CAP in SDM.
855 #define MSR_P6_MCG_CAP 0x00000179
861 @param ECX MSR_P6_MCG_STATUS (0x0000017A)
862 @param EAX Lower 32-bits of MSR value.
863 @param EDX Upper 32-bits of MSR value.
869 Msr = AsmReadMsr64 (MSR_P6_MCG_STATUS);
870 AsmWriteMsr64 (MSR_P6_MCG_STATUS, Msr);
872 @note MSR_P6_MCG_STATUS is defined as MCG_STATUS in SDM.
874 #define MSR_P6_MCG_STATUS 0x0000017A
880 @param ECX MSR_P6_MCG_CTL (0x0000017B)
881 @param EAX Lower 32-bits of MSR value.
882 @param EDX Upper 32-bits of MSR value.
888 Msr = AsmReadMsr64 (MSR_P6_MCG_CTL);
889 AsmWriteMsr64 (MSR_P6_MCG_CTL, Msr);
891 @note MSR_P6_MCG_CTL is defined as MCG_CTL in SDM.
893 #define MSR_P6_MCG_CTL 0x0000017B
899 @param ECX MSR_P6_PERFEVTSELn
900 @param EAX Lower 32-bits of MSR value.
901 Described by the type MSR_P6_PERFEVTSEL_REGISTER.
902 @param EDX Upper 32-bits of MSR value.
903 Described by the type MSR_P6_PERFEVTSEL_REGISTER.
907 MSR_P6_PERFEVTSEL_REGISTER Msr;
909 Msr.Uint64 = AsmReadMsr64 (MSR_P6_PERFEVTSEL0);
910 AsmWriteMsr64 (MSR_P6_PERFEVTSEL0, Msr.Uint64);
912 @note MSR_P6_PERFEVTSEL0 is defined as PERFEVTSEL0 in SDM.
913 MSR_P6_PERFEVTSEL1 is defined as PERFEVTSEL1 in SDM.
916 #define MSR_P6_PERFEVTSEL0 0x00000186
917 #define MSR_P6_PERFEVTSEL1 0x00000187
921 MSR information returned for MSR indexes #MSR_P6_PERFEVTSEL0 and
926 /// Individual bit fields
930 /// [Bits 7:0] Event Select Refer to Performance Counter section for a
931 /// list of event encodings.
933 UINT32 EventSelect
:8;
935 /// [Bits 15:8] UMASK (Unit Mask) Unit mask register set to 0 to enable
936 /// all count options.
940 /// [Bit 16] USER Controls the counting of events at Privilege levels of
945 /// [Bit 17] OS Controls the counting of events at Privilege level of 0.
949 /// [Bit 18] E Occurrence/Duration Mode Select 1 = Occurrence 0 = Duration.
953 /// [Bit 19] PC Enabled the signaling of performance counter overflow via
958 /// [Bit 20] INT Enables the signaling of counter overflow via input to
959 /// APIC 1 = Enable 0 = Disable.
964 /// [Bit 22] ENABLE Enables the counting of performance events in both
965 /// counters 1 = Enable 0 = Disable.
969 /// [Bit 23] INV Inverts the result of the CMASK condition 1 = Inverted 0
974 /// [Bits 31:24] CMASK (Counter Mask).
980 /// All bit fields as a 32-bit value
984 /// All bit fields as a 64-bit value
987 } MSR_P6_PERFEVTSEL_REGISTER
;
993 @param ECX MSR_P6_DEBUGCTLMSR (0x000001D9)
994 @param EAX Lower 32-bits of MSR value.
995 Described by the type MSR_P6_DEBUGCTLMSR_REGISTER.
996 @param EDX Upper 32-bits of MSR value.
997 Described by the type MSR_P6_DEBUGCTLMSR_REGISTER.
1001 MSR_P6_DEBUGCTLMSR_REGISTER Msr;
1003 Msr.Uint64 = AsmReadMsr64 (MSR_P6_DEBUGCTLMSR);
1004 AsmWriteMsr64 (MSR_P6_DEBUGCTLMSR, Msr.Uint64);
1006 @note MSR_P6_DEBUGCTLMSR is defined as DEBUGCTLMSR in SDM.
1008 #define MSR_P6_DEBUGCTLMSR 0x000001D9
1011 MSR information returned for MSR index #MSR_P6_DEBUGCTLMSR
1015 /// Individual bit fields
1019 /// [Bit 0] Enable/Disable Last Branch Records.
1023 /// [Bit 1] Branch Trap Flag.
1027 /// [Bit 2] Performance Monitoring/Break Point Pins.
1031 /// [Bit 3] Performance Monitoring/Break Point Pins.
1035 /// [Bit 4] Performance Monitoring/Break Point Pins.
1039 /// [Bit 5] Performance Monitoring/Break Point Pins.
1043 /// [Bit 6] Enable/Disable Execution Trace Messages.
1046 UINT32 Reserved1
:25;
1047 UINT32 Reserved2
:32;
1050 /// All bit fields as a 32-bit value
1054 /// All bit fields as a 64-bit value
1057 } MSR_P6_DEBUGCTLMSR_REGISTER
;
1063 @param ECX MSR_P6_LASTBRANCHFROMIP (0x000001DB)
1064 @param EAX Lower 32-bits of MSR value.
1065 @param EDX Upper 32-bits of MSR value.
1067 <b>Example usage</b>
1071 Msr = AsmReadMsr64 (MSR_P6_LASTBRANCHFROMIP);
1072 AsmWriteMsr64 (MSR_P6_LASTBRANCHFROMIP, Msr);
1074 @note MSR_P6_LASTBRANCHFROMIP is defined as LASTBRANCHFROMIP in SDM.
1076 #define MSR_P6_LASTBRANCHFROMIP 0x000001DB
1082 @param ECX MSR_P6_LASTBRANCHTOIP (0x000001DC)
1083 @param EAX Lower 32-bits of MSR value.
1084 @param EDX Upper 32-bits of MSR value.
1086 <b>Example usage</b>
1090 Msr = AsmReadMsr64 (MSR_P6_LASTBRANCHTOIP);
1091 AsmWriteMsr64 (MSR_P6_LASTBRANCHTOIP, Msr);
1093 @note MSR_P6_LASTBRANCHTOIP is defined as LASTBRANCHTOIP in SDM.
1095 #define MSR_P6_LASTBRANCHTOIP 0x000001DC
1101 @param ECX MSR_P6_LASTINTFROMIP (0x000001DD)
1102 @param EAX Lower 32-bits of MSR value.
1103 @param EDX Upper 32-bits of MSR value.
1105 <b>Example usage</b>
1109 Msr = AsmReadMsr64 (MSR_P6_LASTINTFROMIP);
1110 AsmWriteMsr64 (MSR_P6_LASTINTFROMIP, Msr);
1112 @note MSR_P6_LASTINTFROMIP is defined as LASTINTFROMIP in SDM.
1114 #define MSR_P6_LASTINTFROMIP 0x000001DD
1120 @param ECX MSR_P6_LASTINTTOIP (0x000001DE)
1121 @param EAX Lower 32-bits of MSR value.
1122 @param EDX Upper 32-bits of MSR value.
1124 <b>Example usage</b>
1128 Msr = AsmReadMsr64 (MSR_P6_LASTINTTOIP);
1129 AsmWriteMsr64 (MSR_P6_LASTINTTOIP, Msr);
1131 @note MSR_P6_LASTINTTOIP is defined as LASTINTTOIP in SDM.
1133 #define MSR_P6_LASTINTTOIP 0x000001DE
1139 @param ECX MSR_P6_ROB_CR_BKUPTMPDR6 (0x000001E0)
1140 @param EAX Lower 32-bits of MSR value.
1141 Described by the type MSR_P6_ROB_CR_BKUPTMPDR6_REGISTER.
1142 @param EDX Upper 32-bits of MSR value.
1143 Described by the type MSR_P6_ROB_CR_BKUPTMPDR6_REGISTER.
1145 <b>Example usage</b>
1147 MSR_P6_ROB_CR_BKUPTMPDR6_REGISTER Msr;
1149 Msr.Uint64 = AsmReadMsr64 (MSR_P6_ROB_CR_BKUPTMPDR6);
1150 AsmWriteMsr64 (MSR_P6_ROB_CR_BKUPTMPDR6, Msr.Uint64);
1152 @note MSR_P6_ROB_CR_BKUPTMPDR6 is defined as ROB_CR_BKUPTMPDR6 in SDM.
1154 #define MSR_P6_ROB_CR_BKUPTMPDR6 0x000001E0
1157 MSR information returned for MSR index #MSR_P6_ROB_CR_BKUPTMPDR6
1161 /// Individual bit fields
1166 /// [Bit 2] Fast Strings Enable bit. Default is enabled.
1168 UINT32 FastStrings
:1;
1169 UINT32 Reserved2
:29;
1170 UINT32 Reserved3
:32;
1173 /// All bit fields as a 32-bit value
1177 /// All bit fields as a 64-bit value
1180 } MSR_P6_ROB_CR_BKUPTMPDR6_REGISTER
;
1186 @param ECX MSR_P6_MTRRPHYSBASEn
1187 @param EAX Lower 32-bits of MSR value.
1188 @param EDX Upper 32-bits of MSR value.
1190 <b>Example usage</b>
1194 Msr = AsmReadMsr64 (MSR_P6_MTRRPHYSBASE0);
1195 AsmWriteMsr64 (MSR_P6_MTRRPHYSBASE0, Msr);
1197 @note MSR_P6_MTRRPHYSBASE0 is defined as MTRRPHYSBASE0 in SDM.
1198 MSR_P6_MTRRPHYSBASE1 is defined as MTRRPHYSBASE1 in SDM.
1199 MSR_P6_MTRRPHYSBASE2 is defined as MTRRPHYSBASE2 in SDM.
1200 MSR_P6_MTRRPHYSBASE3 is defined as MTRRPHYSBASE3 in SDM.
1201 MSR_P6_MTRRPHYSBASE4 is defined as MTRRPHYSBASE4 in SDM.
1202 MSR_P6_MTRRPHYSBASE5 is defined as MTRRPHYSBASE5 in SDM.
1203 MSR_P6_MTRRPHYSBASE6 is defined as MTRRPHYSBASE6 in SDM.
1204 MSR_P6_MTRRPHYSBASE7 is defined as MTRRPHYSBASE7 in SDM.
1207 #define MSR_P6_MTRRPHYSBASE0 0x00000200
1208 #define MSR_P6_MTRRPHYSBASE1 0x00000202
1209 #define MSR_P6_MTRRPHYSBASE2 0x00000204
1210 #define MSR_P6_MTRRPHYSBASE3 0x00000206
1211 #define MSR_P6_MTRRPHYSBASE4 0x00000208
1212 #define MSR_P6_MTRRPHYSBASE5 0x0000020A
1213 #define MSR_P6_MTRRPHYSBASE6 0x0000020C
1214 #define MSR_P6_MTRRPHYSBASE7 0x0000020E
1221 @param ECX MSR_P6_MTRRPHYSMASKn
1222 @param EAX Lower 32-bits of MSR value.
1223 @param EDX Upper 32-bits of MSR value.
1225 <b>Example usage</b>
1229 Msr = AsmReadMsr64 (MSR_P6_MTRRPHYSMASK0);
1230 AsmWriteMsr64 (MSR_P6_MTRRPHYSMASK0, Msr);
1232 @note MSR_P6_MTRRPHYSMASK0 is defined as MTRRPHYSMASK0 in SDM.
1233 MSR_P6_MTRRPHYSMASK1 is defined as MTRRPHYSMASK1 in SDM.
1234 MSR_P6_MTRRPHYSMASK2 is defined as MTRRPHYSMASK2 in SDM.
1235 MSR_P6_MTRRPHYSMASK3 is defined as MTRRPHYSMASK3 in SDM.
1236 MSR_P6_MTRRPHYSMASK4 is defined as MTRRPHYSMASK4 in SDM.
1237 MSR_P6_MTRRPHYSMASK5 is defined as MTRRPHYSMASK5 in SDM.
1238 MSR_P6_MTRRPHYSMASK6 is defined as MTRRPHYSMASK6 in SDM.
1239 MSR_P6_MTRRPHYSMASK7 is defined as MTRRPHYSMASK7 in SDM.
1242 #define MSR_P6_MTRRPHYSMASK0 0x00000201
1243 #define MSR_P6_MTRRPHYSMASK1 0x00000203
1244 #define MSR_P6_MTRRPHYSMASK2 0x00000205
1245 #define MSR_P6_MTRRPHYSMASK3 0x00000207
1246 #define MSR_P6_MTRRPHYSMASK4 0x00000209
1247 #define MSR_P6_MTRRPHYSMASK5 0x0000020B
1248 #define MSR_P6_MTRRPHYSMASK6 0x0000020D
1249 #define MSR_P6_MTRRPHYSMASK7 0x0000020F
1256 @param ECX MSR_P6_MTRRFIX64K_00000 (0x00000250)
1257 @param EAX Lower 32-bits of MSR value.
1258 @param EDX Upper 32-bits of MSR value.
1260 <b>Example usage</b>
1264 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX64K_00000);
1265 AsmWriteMsr64 (MSR_P6_MTRRFIX64K_00000, Msr);
1267 @note MSR_P6_MTRRFIX64K_00000 is defined as MTRRFIX64K_00000 in SDM.
1269 #define MSR_P6_MTRRFIX64K_00000 0x00000250
1275 @param ECX MSR_P6_MTRRFIX16K_80000 (0x00000258)
1276 @param EAX Lower 32-bits of MSR value.
1277 @param EDX Upper 32-bits of MSR value.
1279 <b>Example usage</b>
1283 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX16K_80000);
1284 AsmWriteMsr64 (MSR_P6_MTRRFIX16K_80000, Msr);
1286 @note MSR_P6_MTRRFIX16K_80000 is defined as MTRRFIX16K_80000 in SDM.
1288 #define MSR_P6_MTRRFIX16K_80000 0x00000258
1294 @param ECX MSR_P6_MTRRFIX16K_A0000 (0x00000259)
1295 @param EAX Lower 32-bits of MSR value.
1296 @param EDX Upper 32-bits of MSR value.
1298 <b>Example usage</b>
1302 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX16K_A0000);
1303 AsmWriteMsr64 (MSR_P6_MTRRFIX16K_A0000, Msr);
1305 @note MSR_P6_MTRRFIX16K_A0000 is defined as MTRRFIX16K_A0000 in SDM.
1307 #define MSR_P6_MTRRFIX16K_A0000 0x00000259
1313 @param ECX MSR_P6_MTRRFIX4K_C0000 (0x00000268)
1314 @param EAX Lower 32-bits of MSR value.
1315 @param EDX Upper 32-bits of MSR value.
1317 <b>Example usage</b>
1321 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX4K_C0000);
1322 AsmWriteMsr64 (MSR_P6_MTRRFIX4K_C0000, Msr);
1324 @note MSR_P6_MTRRFIX4K_C0000 is defined as MTRRFIX4K_C0000 in SDM.
1326 #define MSR_P6_MTRRFIX4K_C0000 0x00000268
1332 @param ECX MSR_P6_MTRRFIX4K_C8000 (0x00000269)
1333 @param EAX Lower 32-bits of MSR value.
1334 @param EDX Upper 32-bits of MSR value.
1336 <b>Example usage</b>
1340 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX4K_C8000);
1341 AsmWriteMsr64 (MSR_P6_MTRRFIX4K_C8000, Msr);
1343 @note MSR_P6_MTRRFIX4K_C8000 is defined as MTRRFIX4K_C8000 in SDM.
1345 #define MSR_P6_MTRRFIX4K_C8000 0x00000269
1351 @param ECX MSR_P6_MTRRFIX4K_D0000 (0x0000026A)
1352 @param EAX Lower 32-bits of MSR value.
1353 @param EDX Upper 32-bits of MSR value.
1355 <b>Example usage</b>
1359 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX4K_D0000);
1360 AsmWriteMsr64 (MSR_P6_MTRRFIX4K_D0000, Msr);
1362 @note MSR_P6_MTRRFIX4K_D0000 is defined as MTRRFIX4K_D0000 in SDM.
1364 #define MSR_P6_MTRRFIX4K_D0000 0x0000026A
1370 @param ECX MSR_P6_MTRRFIX4K_D8000 (0x0000026B)
1371 @param EAX Lower 32-bits of MSR value.
1372 @param EDX Upper 32-bits of MSR value.
1374 <b>Example usage</b>
1378 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX4K_D8000);
1379 AsmWriteMsr64 (MSR_P6_MTRRFIX4K_D8000, Msr);
1381 @note MSR_P6_MTRRFIX4K_D8000 is defined as MTRRFIX4K_D8000 in SDM.
1383 #define MSR_P6_MTRRFIX4K_D8000 0x0000026B
1389 @param ECX MSR_P6_MTRRFIX4K_E0000 (0x0000026C)
1390 @param EAX Lower 32-bits of MSR value.
1391 @param EDX Upper 32-bits of MSR value.
1393 <b>Example usage</b>
1397 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX4K_E0000);
1398 AsmWriteMsr64 (MSR_P6_MTRRFIX4K_E0000, Msr);
1400 @note MSR_P6_MTRRFIX4K_E0000 is defined as MTRRFIX4K_E0000 in SDM.
1402 #define MSR_P6_MTRRFIX4K_E0000 0x0000026C
1408 @param ECX MSR_P6_MTRRFIX4K_E8000 (0x0000026D)
1409 @param EAX Lower 32-bits of MSR value.
1410 @param EDX Upper 32-bits of MSR value.
1412 <b>Example usage</b>
1416 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX4K_E8000);
1417 AsmWriteMsr64 (MSR_P6_MTRRFIX4K_E8000, Msr);
1419 @note MSR_P6_MTRRFIX4K_E8000 is defined as MTRRFIX4K_E8000 in SDM.
1421 #define MSR_P6_MTRRFIX4K_E8000 0x0000026D
1427 @param ECX MSR_P6_MTRRFIX4K_F0000 (0x0000026E)
1428 @param EAX Lower 32-bits of MSR value.
1429 @param EDX Upper 32-bits of MSR value.
1431 <b>Example usage</b>
1435 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX4K_F0000);
1436 AsmWriteMsr64 (MSR_P6_MTRRFIX4K_F0000, Msr);
1438 @note MSR_P6_MTRRFIX4K_F0000 is defined as MTRRFIX4K_F0000 in SDM.
1440 #define MSR_P6_MTRRFIX4K_F0000 0x0000026E
1446 @param ECX MSR_P6_MTRRFIX4K_F8000 (0x0000026F)
1447 @param EAX Lower 32-bits of MSR value.
1448 @param EDX Upper 32-bits of MSR value.
1450 <b>Example usage</b>
1454 Msr = AsmReadMsr64 (MSR_P6_MTRRFIX4K_F8000);
1455 AsmWriteMsr64 (MSR_P6_MTRRFIX4K_F8000, Msr);
1457 @note MSR_P6_MTRRFIX4K_F8000 is defined as MTRRFIX4K_F8000 in SDM.
1459 #define MSR_P6_MTRRFIX4K_F8000 0x0000026F
1465 @param ECX MSR_P6_MTRRDEFTYPE (0x000002FF)
1466 @param EAX Lower 32-bits of MSR value.
1467 Described by the type MSR_P6_MTRRDEFTYPE_REGISTER.
1468 @param EDX Upper 32-bits of MSR value.
1469 Described by the type MSR_P6_MTRRDEFTYPE_REGISTER.
1471 <b>Example usage</b>
1473 MSR_P6_MTRRDEFTYPE_REGISTER Msr;
1475 Msr.Uint64 = AsmReadMsr64 (MSR_P6_MTRRDEFTYPE);
1476 AsmWriteMsr64 (MSR_P6_MTRRDEFTYPE, Msr.Uint64);
1478 @note MSR_P6_MTRRDEFTYPE is defined as MTRRDEFTYPE in SDM.
1480 #define MSR_P6_MTRRDEFTYPE 0x000002FF
1483 MSR information returned for MSR index #MSR_P6_MTRRDEFTYPE
1487 /// Individual bit fields
1491 /// [Bits 2:0] Default memory type.
1496 /// [Bit 10] Fixed MTRR enable.
1500 /// [Bit 11] MTRR Enable.
1503 UINT32 Reserved2
:20;
1504 UINT32 Reserved3
:32;
1507 /// All bit fields as a 32-bit value
1511 /// All bit fields as a 64-bit value
1514 } MSR_P6_MTRRDEFTYPE_REGISTER
;
1520 @param ECX MSR_P6_MC0_CTL (0x00000400)
1521 @param EAX Lower 32-bits of MSR value.
1522 @param EDX Upper 32-bits of MSR value.
1524 <b>Example usage</b>
1528 Msr = AsmReadMsr64 (MSR_P6_MC0_CTL);
1529 AsmWriteMsr64 (MSR_P6_MC0_CTL, Msr);
1531 @note MSR_P6_MC0_CTL is defined as MC0_CTL in SDM.
1532 MSR_P6_MC1_CTL is defined as MC1_CTL in SDM.
1533 MSR_P6_MC2_CTL is defined as MC2_CTL in SDM.
1534 MSR_P6_MC3_CTL is defined as MC3_CTL in SDM.
1535 MSR_P6_MC4_CTL is defined as MC4_CTL in SDM.
1538 #define MSR_P6_MC0_CTL 0x00000400
1539 #define MSR_P6_MC1_CTL 0x00000404
1540 #define MSR_P6_MC2_CTL 0x00000408
1541 #define MSR_P6_MC3_CTL 0x00000410
1542 #define MSR_P6_MC4_CTL 0x0000040C
1548 Bit definitions for MSR_P6_MC4_STATUS are the same as MSR_P6_MC0_STATUS,
1549 except bits 0, 4, 57, and 61 are hardcoded to 1.
1551 @param ECX MSR_P6_MCn_STATUS
1552 @param EAX Lower 32-bits of MSR value.
1553 Described by the type MSR_P6_MC_STATUS_REGISTER.
1554 @param EDX Upper 32-bits of MSR value.
1555 Described by the type MSR_P6_MC_STATUS_REGISTER.
1557 <b>Example usage</b>
1559 MSR_P6_MC_STATUS_REGISTER Msr;
1561 Msr.Uint64 = AsmReadMsr64 (MSR_P6_MC0_STATUS);
1562 AsmWriteMsr64 (MSR_P6_MC0_STATUS, Msr.Uint64);
1564 @note MSR_P6_MC0_STATUS is defined as MC0_STATUS in SDM.
1565 MSR_P6_MC1_STATUS is defined as MC1_STATUS in SDM.
1566 MSR_P6_MC2_STATUS is defined as MC2_STATUS in SDM.
1567 MSR_P6_MC3_STATUS is defined as MC3_STATUS in SDM.
1568 MSR_P6_MC4_STATUS is defined as MC4_STATUS in SDM.
1571 #define MSR_P6_MC0_STATUS 0x00000401
1572 #define MSR_P6_MC1_STATUS 0x00000405
1573 #define MSR_P6_MC2_STATUS 0x00000409
1574 #define MSR_P6_MC3_STATUS 0x00000411
1575 #define MSR_P6_MC4_STATUS 0x0000040D
1579 MSR information returned for MSR index #MSR_P6_MC0_STATUS to
1584 /// Individual bit fields
1588 /// [Bits 15:0] MC_STATUS_MCACOD.
1590 UINT32 MC_STATUS_MCACOD
:16;
1592 /// [Bits 31:16] MC_STATUS_MSCOD.
1594 UINT32 MC_STATUS_MSCOD
:16;
1597 /// [Bit 57] MC_STATUS_DAM.
1599 UINT32 MC_STATUS_DAM
:1;
1601 /// [Bit 58] MC_STATUS_ADDRV.
1603 UINT32 MC_STATUS_ADDRV
:1;
1605 /// [Bit 59] MC_STATUS_MISCV.
1607 UINT32 MC_STATUS_MISCV
:1;
1609 /// [Bit 60] MC_STATUS_EN. (Note: For MC0_STATUS only, this bit is
1610 /// hardcoded to 1.).
1612 UINT32 MC_STATUS_EN
:1;
1614 /// [Bit 61] MC_STATUS_UC.
1616 UINT32 MC_STATUS_UC
:1;
1618 /// [Bit 62] MC_STATUS_O.
1620 UINT32 MC_STATUS_O
:1;
1622 /// [Bit 63] MC_STATUS_V.
1624 UINT32 MC_STATUS_V
:1;
1627 /// All bit fields as a 64-bit value
1630 } MSR_P6_MC_STATUS_REGISTER
;
1635 MSR_P6_MC4_ADDR is defined in MCA architecture but not implemented in P6 Family processors.
1637 @param ECX MSR_P6_MC0_ADDR (0x00000402)
1638 @param EAX Lower 32-bits of MSR value.
1639 @param EDX Upper 32-bits of MSR value.
1641 <b>Example usage</b>
1645 Msr = AsmReadMsr64 (MSR_P6_MC0_ADDR);
1646 AsmWriteMsr64 (MSR_P6_MC0_ADDR, Msr);
1648 @note MSR_P6_MC0_ADDR is defined as MC0_ADDR in SDM.
1649 MSR_P6_MC1_ADDR is defined as MC1_ADDR in SDM.
1650 MSR_P6_MC2_ADDR is defined as MC2_ADDR in SDM.
1651 MSR_P6_MC3_ADDR is defined as MC3_ADDR in SDM.
1652 MSR_P6_MC4_ADDR is defined as MC4_ADDR in SDM.
1655 #define MSR_P6_MC0_ADDR 0x00000402
1656 #define MSR_P6_MC1_ADDR 0x00000406
1657 #define MSR_P6_MC2_ADDR 0x0000040A
1658 #define MSR_P6_MC3_ADDR 0x00000412
1659 #define MSR_P6_MC4_ADDR 0x0000040E
1664 Defined in MCA architecture but not implemented in the P6 family processors.
1666 @param ECX MSR_P6_MC0_MISC (0x00000403)
1667 @param EAX Lower 32-bits of MSR value.
1668 @param EDX Upper 32-bits of MSR value.
1670 <b>Example usage</b>
1674 Msr = AsmReadMsr64 (MSR_P6_MC0_MISC);
1675 AsmWriteMsr64 (MSR_P6_MC0_MISC, Msr);
1677 @note MSR_P6_MC0_MISC is defined as MC0_MISC in SDM.
1678 MSR_P6_MC1_MISC is defined as MC1_MISC in SDM.
1679 MSR_P6_MC2_MISC is defined as MC2_MISC in SDM.
1680 MSR_P6_MC3_MISC is defined as MC3_MISC in SDM.
1681 MSR_P6_MC4_MISC is defined as MC4_MISC in SDM.
1684 #define MSR_P6_MC0_MISC 0x00000403
1685 #define MSR_P6_MC1_MISC 0x00000407
1686 #define MSR_P6_MC2_MISC 0x0000040B
1687 #define MSR_P6_MC3_MISC 0x00000413
1688 #define MSR_P6_MC4_MISC 0x0000040F