2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
17 External (\PPKG, MethodObj)
19 #define HAVE_THERMALZONE
27 // Thermal zone polling frequency: 10 seconds
30 // Thermal sampling period for passive cooling: 2 seconds
33 // Convert from Degrees C to 1/10 Kelvin for ACPI
36 Multiply (Arg0, 10, Local0)
39 Add (Local0, 2732, Local0)
44 // Threshold for OS to shutdown
45 Method (_CRT, 0, Serialized)
50 // Threshold for passive cooling
51 Method (_PSV, 0, Serialized)
56 // Processors used for passive cooling
57 Method (_PSL, 0, Serialized)
62 Method (_TMP, 0, Serialized)
64 // Return CPU Temperature from EC
65 Return (\_SB.PCI0.LPCB.EC0.PM1.CTK ())
68 // The EC does all fan control. There is no Active Cooling Fan control (_ACx).