coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
thermal.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef THERMAL_H
4 #define THERMAL_H
5 
6 /* Control TDP Settings */
7 #define CTL_TDP_SENSOR_ID 0 /* PECI */
8 #define CTL_TDP_POWER_LIMIT 12 /* 12W */
9 #define CTL_TDP_THRESHILD_NORMAL 0 /*Normal TDP Threshold*/
10 #define CTL_TDP_THRESHOLD_OFF 85 /* Normal at 85C */
11 #define CTL_TDP_THRESHOLD_ON 90 /* Limited at 90C */
12 
13 /* Temperature which OS will shutdown at */
14 #define CRITICAL_TEMPERATURE 104
15 
16 /* Temperature which OS will throttle CPU */
17 #define PASSIVE_TEMPERATURE 95
18 
19 /* Tj_max value for calculating PECI CPU temperature */
20 #define MAX_TEMPERATURE 105
21 
22 #endif