2 * This file is part of msrtool.
4 * Copyright (C) 2011 Anton Kochkov <anton.kochkov@gmail.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
22 int intel_pentium3_probe(const struct targetdef
*target
, const struct cpuid_t
*id
) {
23 return ((0x6 == id
->family
) && (
29 const struct msrdef intel_pentium3_msrs
[] = {
30 {0x10, MSRTYPE_RDWR
, MSR2(0,0), "IA32_TIME_STAMP_COUNTER", "", {
33 {0x17, MSRTYPE_RDWR
, MSR2(0,0), "IA32_PLATFORM_ID", "", {
36 {0x1b, MSRTYPE_RDWR
, MSR2(0,0), "IA32_APIC_BASE", "", {
39 {0x2a, MSRTYPE_RDWR
, MSR2(0,0), "EBL_CR_POWERON", "", {
42 {0x33, MSRTYPE_RDWR
, MSR2(0,0), "TEST_CTL", "", {
45 {0x3f, MSRTYPE_RDWR
, MSR2(0,0), "THERM_DIODE_OFFSET", "", {
48 {0x8b, MSRTYPE_RDWR
, MSR2(0,0), "IA32_BIOS_SIGN_ID", "", {
51 {0xc1, MSRTYPE_RDWR
, MSR2(0,0), "PERFCTR0", "", {
54 {0xc2, MSRTYPE_RDWR
, MSR2(0,0), "PERFCTR1", "", {
57 {0x11e, MSRTYPE_RDWR
, MSR2(0,0), "BBL_CR_CTL3", "", {
60 {0x179, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MCG_CAP", "", {
63 {0x17a, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MCG_STATUS", "", {
66 {0x198, MSRTYPE_RDWR
, MSR2(0,0), "IA32_PERF_STATUS", "", {
69 {0x199, MSRTYPE_RDWR
, MSR2(0,0), "IA32_PERF_CONTROL", "", {
72 {0x19a, MSRTYPE_RDWR
, MSR2(0,0), "IA32_CLOCK_MODULATION", "", {
75 {0x1a0, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MISC_ENABLES", "", {
78 {0x1d9, MSRTYPE_RDWR
, MSR2(0,0), "IA32_DEBUGCTL", "", {
81 {0x200, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSBASE0", "", {
84 {0x201, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSMASK0", "", {
87 {0x202, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSBASE1", "", {
90 {0x203, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSMASK1", "", {
93 {0x204, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSBASE2", "", {
96 {0x205, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSMASK2", "", {
99 {0x206, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSBASE3", "", {
102 {0x207, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSMASK3", "", {
105 {0x208, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSBASE4", "", {
108 {0x209, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSMASK4", "", {
111 {0x20a, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSBASE5", "", {
114 {0x20b, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSMASK5", "", {
117 {0x20c, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSBASE6", "", {
120 {0x20d, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSMASK6", "", {
123 {0x20e, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSBASE7", "", {
126 {0x20f, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_PHYSMASK7", "", {
129 {0x250, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX64K_00000", "", {
132 {0x258, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX16K_80000", "", {
135 {0x259, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX16K_A0000", "", {
138 {0x268, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX4K_C0000", "", {
141 {0x269, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX4K_C8000", "", {
144 {0x26a, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX4K_D0000", "", {
147 {0x26b, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX4K_D8000", "", {
150 {0x26c, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX4K_E0000", "", {
153 {0x26d, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX4K_E8000", "", {
156 {0x26e, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX4K_F0000", "", {
159 {0x26f, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_FIX4K_F8000", "", {
162 {0x2ff, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MTRR_DEF_TYPE", "", {
165 {0x400, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MC0_CTL", "", {
168 {0x401, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MC0_STATUS", "", {
171 {0x402, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MC0_ADDR", "", {
174 {0x40c, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MC4_CTL", "", {
177 {0x40d, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MC4_STATUS", "", {
180 {0x40e, MSRTYPE_RDWR
, MSR2(0,0), "IA32_MC4_ADDR", "", {