summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/specialreg.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2007-08-15 19:26:03 +0000
committerdes <des@FreeBSD.org>2007-08-15 19:26:03 +0000
commitfcec3dfa481cd41cfe77025d8ad114e7bc6ddd87 (patch)
tree363a48e98760864eda4f25ebb9027fb0f1e54983 /sys/amd64/include/specialreg.h
parent316803b0b8a51bdb521cdc211dec0fb22db6c605 (diff)
downloadFreeBSD-src-fcec3dfa481cd41cfe77025d8ad114e7bc6ddd87.zip
FreeBSD-src-fcec3dfa481cd41cfe77025d8ad114e7bc6ddd87.tar.gz
Add a driver for the on-die digital thermal sensor found on Intel Core
and newer CPUs (including Core 2 and Core / Core 2 based Xeons). The driver attaches to each cpu device and creates a sysctl node in that device's sysctl context (dev.cpu.N.temperature). When invoked, the handler binds to the appropriate CPU to ensure a correct reading. Submitted by: Rui Paulo <rpaulo@fnop.net> Sponsored by: Google Summer of Code 2007 Tested by: des, marcus, Constantine A. Murenin, Ian FREISLICH Approved by: re (kensmith) MFC after: 3 weeks
Diffstat (limited to 'sys/amd64/include/specialreg.h')
-rw-r--r--sys/amd64/include/specialreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h
index 143026b..76297be3 100644
--- a/sys/amd64/include/specialreg.h
+++ b/sys/amd64/include/specialreg.h
@@ -179,6 +179,7 @@
#define MSR_BIOS_SIGN 0x08b
#define MSR_PERFCTR0 0x0c1
#define MSR_PERFCTR1 0x0c2
+#define MSR_IA32_EXT_CONFIG 0x0ee /* Undocumented. Core Solo/Duo only */
#define MSR_MTRRcap 0x0fe
#define MSR_BBL_CR_ADDR 0x116
#define MSR_BBL_CR_DECC 0x118
OpenPOWER on IntegriCloud