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 #define TEMPERATURE_SENSOR_ID 0 /* PECI */
7 
8 /* Power level to set when EC requests throttle */
9 #define EC_THROTTLE_POWER_LIMIT 12 /* 12W */
10 
11 /* Temperature which OS will shutdown at */
12 #define CRITICAL_TEMPERATURE 99
13 
14 /* Temperature which OS will throttle CPU */
15 #define PASSIVE_TEMPERATURE 95
16 
17 /* Tj_max value for calculating PECI CPU temperature */
18 #define MAX_TEMPERATURE 100
19 
20 #endif