# HG changeset patch # User moel.mich # Date 1311545788 0 # Node ID 158ec57434e88556c1251e44248bfa97dd8d5b05 # Parent d19c6b4d625e965870884935ae00a9cf04024ba2 Fixed the Intel CPU package temperature sensor MSR. diff -r d19c6b4d625e -r 158ec57434e8 Hardware/CPU/IntelCPU.cs --- a/Hardware/CPU/IntelCPU.cs Sun Jul 24 22:12:01 2011 +0000 +++ b/Hardware/CPU/IntelCPU.cs Sun Jul 24 22:16:28 2011 +0000 @@ -293,7 +293,7 @@ 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);