From b056694bcb7cc7b066665cd94faebc76eda051a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=B6ller?= Date: Sun, 24 Jul 2011 22:16:28 +0000 Subject: [PATCH] Fixed the Intel CPU package temperature sensor MSR. --- Hardware/CPU/IntelCPU.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hardware/CPU/IntelCPU.cs b/Hardware/CPU/IntelCPU.cs index 8b2e1ee..45a72c0 100644 --- a/Hardware/CPU/IntelCPU.cs +++ b/Hardware/CPU/IntelCPU.cs @@ -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);