Hardware/CPU/IntelCPU.cs
changeset 315 158ec57434e8
parent 306 e9127c00ada1
child 317 1ccf99e620a9
     1.1 --- a/Hardware/CPU/IntelCPU.cs	Sun Jul 24 22:12:01 2011 +0000
     1.2 +++ b/Hardware/CPU/IntelCPU.cs	Sun Jul 24 22:16:28 2011 +0000
     1.3 @@ -293,7 +293,7 @@
     1.4        if (packageTemperature != null) {
     1.5          uint eax, edx;
     1.6          if (Ring0.RdmsrTx(
     1.7 -          IA32_THERM_STATUS_MSR, out eax, out edx,
     1.8 +          IA32_PACKAGE_THERM_STATUS, out eax, out edx,
     1.9              1UL << cpuid[0][0].Thread)) {
    1.10            // get the dist from tjMax from bits 22:16
    1.11            float deltaT = ((eax & 0x007F0000) >> 16);