18#ifndef __CORE2_MSR_H__
19#define __CORE2_MSR_H__
32#define IS_CORE2_PROCESSOR(DisplayFamily, DisplayModel) \
33 (DisplayFamily == 0x06 && \
35 DisplayModel == 0x0F || \
36 DisplayModel == 0x17 \
57#define MSR_CORE2_PLATFORM_ID 0x00000017
72 UINT32 Reserved2 : 19;
73 UINT32 Reserved3 : 18;
78 UINT32 Reserved4 : 11;
105#define MSR_CORE2_EBL_CR_POWERON 0x0000002A
115 UINT32 Reserved1 : 1;
136 UINT32 Reserved2 : 1;
137 UINT32 Reserved3 : 1;
163 UINT32 Reserved4 : 1;
168 UINT32 Reserved5 : 1;
178 UINT32 Reserved6 : 1;
187 UINT32 Reserved7 : 5;
188 UINT32 Reserved8 : 32;
218#define MSR_CORE2_FEATURE_CONTROL 0x0000003A
228 UINT32 Reserved1 : 3;
235 UINT32 Reserved2 : 28;
236 UINT32 Reserved3 : 32;
271#define MSR_CORE2_LASTBRANCH_0_FROM_IP 0x00000040
272#define MSR_CORE2_LASTBRANCH_1_FROM_IP 0x00000041
273#define MSR_CORE2_LASTBRANCH_2_FROM_IP 0x00000042
274#define MSR_CORE2_LASTBRANCH_3_FROM_IP 0x00000043
299#define MSR_CORE2_LASTBRANCH_0_TO_IP 0x00000060
300#define MSR_CORE2_LASTBRANCH_1_TO_IP 0x00000061
301#define MSR_CORE2_LASTBRANCH_2_TO_IP 0x00000062
302#define MSR_CORE2_LASTBRANCH_3_TO_IP 0x00000063
325#define MSR_CORE2_SMRR_PHYSBASE 0x000000A0
335 UINT32 Reserved1 : 12;
340 UINT32 Reserved2 : 32;
372#define MSR_CORE2_SMRR_PHYSMASK 0x000000A1
382 UINT32 Reserved1 : 11;
391 UINT32 Reserved2 : 32;
421#define MSR_CORE2_FSB_FREQ 0x000000CD
448 UINT32 Reserved1 : 29;
449 UINT32 Reserved2 : 32;
479#define MSR_CORE2_PERF_STATUS 0x00000198
493 UINT32 Reserved1 : 15;
499 UINT32 Reserved2 : 8;
505 UINT32 Reserved3 : 1;
512 UINT32 Reserved4 : 17;
538#define MSR_CORE2_THERM2_CTL 0x0000019D
548 UINT32 Reserved1 : 16;
557 UINT32 Reserved2 : 15;
558 UINT32 Reserved3 : 32;
589#define MSR_CORE2_IA32_MISC_ENABLE 0x000001A0
603 UINT32 Reserved1 : 2;
609 UINT32 Reserved2 : 3;
614 UINT32 Reserved3 : 1;
653 UINT32 Reserved4 : 2;
659 UINT32 Reserved5 : 1;
684 UINT32 Reserved6 : 1;
693 UINT32 Reserved7 : 8;
694 UINT32 Reserved8 : 2;
699 UINT32 Reserved9 : 2;
730 UINT32 Reserved10 : 24;
756#define MSR_CORE2_LASTBRANCH_TOS 0x000001C9
775#define MSR_CORE2_LER_FROM_LIP 0x000001DD
795#define MSR_CORE2_LER_TO_LIP 0x000001DE
816#define MSR_CORE2_PERF_FIXED_CTR0 0x00000309
817#define MSR_CORE2_PERF_FIXED_CTR1 0x0000030A
818#define MSR_CORE2_PERF_FIXED_CTR2 0x0000030B
840#define MSR_CORE2_PERF_CAPABILITIES 0x00000345
862 UINT32 Reserved1 : 24;
863 UINT32 Reserved2 : 32;
891#define MSR_CORE2_PERF_FIXED_CTR_CTRL 0x0000038D
909#define MSR_CORE2_PERF_GLOBAL_STATUS 0x0000038E
927#define MSR_CORE2_PERF_GLOBAL_CTRL 0x0000038F
945#define MSR_CORE2_PERF_GLOBAL_OVF_CTRL 0x00000390
966#define MSR_CORE2_PEBS_ENABLE 0x000003F1
980 UINT32 Reserved1 : 31;
981 UINT32 Reserved2 : 32;
1018#define MSR_CORE2_EMON_L3_CTR_CTL0 0x000107CC
1019#define MSR_CORE2_EMON_L3_CTR_CTL1 0x000107CD
1020#define MSR_CORE2_EMON_L3_CTR_CTL2 0x000107CE
1021#define MSR_CORE2_EMON_L3_CTR_CTL3 0x000107CF
1022#define MSR_CORE2_EMON_L3_CTR_CTL4 0x000107D0
1023#define MSR_CORE2_EMON_L3_CTR_CTL5 0x000107D1
1024#define MSR_CORE2_EMON_L3_CTR_CTL6 0x000107D2
1025#define MSR_CORE2_EMON_L3_CTR_CTL7 0x000107D3
1045#define MSR_CORE2_EMON_L3_GL_CTL 0x000107D8
UINT32 DataErrorCheckingEnable
UINT32 NonIntegerBusRatio
UINT32 SymmetricArbitrationID
UINT32 OutputTriStateEnable
UINT32 BINIT_ObservationEnabled
UINT32 IntelTXTCapableChipset
UINT32 AddressParityEnable
UINT32 BINIT_DriverEnable
UINT32 IntegerBusFrequencyRatio
UINT32 MCERR_ObservationEnabled
UINT32 ResponseErrorCheckingEnable
UINT32 AdjacentCacheLinePrefetchDisable
UINT32 AutomaticThermalControlCircuit
UINT32 IPPrefetcherDisable
UINT32 xTPR_Message_Disable
UINT32 HardwarePrefetcherDisable
UINT32 PerformanceMonitoring
UINT32 DCUPrefetcherDisable
UINT32 NonIntegerBusRatio
UINT32 CurrentPerformanceStateValue
UINT32 MaximumQualifiedRatio