mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 14:25:16 +00:00
Fixed the Intel CPU package temperature sensor MSR.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user