Make use of an msr available on recent Intel processors to obtain the
authorjsg <jsg@openbsd.org>
Mon, 19 Jan 2015 16:01:43 +0000 (16:01 +0000)
committerjsg <jsg@openbsd.org>
Mon, 19 Jan 2015 16:01:43 +0000 (16:01 +0000)
commit7a17d89036f5acd55e5b8a36cdf825af51f9a7a9
treeb6bc101950cbeda18164e065d90270988b3b8098
parent2acd0c01e7b85267a08b3bdb65a4c56afcd1d831
Make use of an msr available on recent Intel processors to obtain the
maximum supported temperature, Tj(Max).  As the temperature values are
relative to this value this should make the sensor values more accurate.

From Simon Mages.
sys/arch/amd64/amd64/identcpu.c
sys/arch/amd64/include/specialreg.h
sys/arch/i386/i386/machdep.c
sys/arch/i386/include/specialreg.h