summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2004-01-18 21:18:00 +0000
committersobomax <sobomax@FreeBSD.org>2004-01-18 21:18:00 +0000
commit64a7af666e2e9e1ef947b8792eb7e246bf66a7b2 (patch)
tree1cc4e45bff646b2290c1d081d8bd51bb7e6e1ac4 /sys/i386/include
parent9b2b699a8fb552eba62fd0727edb13222390107d (diff)
downloadFreeBSD-src-64a7af666e2e9e1ef947b8792eb7e246bf66a7b2.zip
FreeBSD-src-64a7af666e2e9e1ef947b8792eb7e246bf66a7b2.tar.gz
Add new CPU_ENABLE_TCC option, from NOTES:
CPU_ENABLE_TCC enables Thermal Control Circuitry (TCC) found in some Pentium(tm) 4 and (possibly) later CPUs. When enabled and detected, TCC allows to restrict power consumption by using machdep.cpuperf* sysctls. This operates independently of SpeedStep and is useful on systems where other mechanisms such as apm(4) or acpi(4) don't work. Given the fact that many, even modern, notebooks don't work properly with Intel ACPI, this is indeed very useful option for notebook owners. Obtained from: OpenBSD MFC after: 2 weeks
Diffstat (limited to 'sys/i386/include')
-rw-r--r--sys/i386/include/specialreg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/include/specialreg.h b/sys/i386/include/specialreg.h
index 71c43b3..c4442da 100644
--- a/sys/i386/include/specialreg.h
+++ b/sys/i386/include/specialreg.h
@@ -154,6 +154,9 @@
#define MSR_MCG_CTL 0x17b
#define MSR_EVNTSEL0 0x186
#define MSR_EVNTSEL1 0x187
+#define MSR_THERM_CONTROL 0x19a
+#define MSR_THERM_INTERRUPT 0x19b
+#define MSR_THERM_STATUS 0x19c
#define MSR_DEBUGCTLMSR 0x1d9
#define MSR_LASTBRANCHFROMIP 0x1db
#define MSR_LASTBRANCHTOIP 0x1dc
OpenPOWER on IntegriCloud