Fixed the Intel CPU package temperature sensor MSR.

This commit is contained in:
Michael Möller
2011-07-24 22:16:28 +00:00
parent acbae6c98d
commit b056694bcb

View File

@@ -293,7 +293,7 @@ namespace OpenHardwareMonitor.Hardware.CPU {
if (packageTemperature != null) {
uint eax, edx;
if (Ring0.RdmsrTx(
IA32_THERM_STATUS_MSR, out eax, out edx,
IA32_PACKAGE_THERM_STATUS, out eax, out edx,
1UL << cpuid[0][0].Thread)) {
// get the dist from tjMax from bits 22:16
float deltaT = ((eax & 0x007F0000) >> 16);