coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpi_tables.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <acpi/acpi_gnvs.h>
4 #include <soc/nvs.h>
5 
7 {
8  /* Temperature at which OS will shutdown */
9  gnvs->tcrt = 100;
10  /* Temperature at which OS will throttle CPU */
11  gnvs->tpsv = 90;
12 }
void mainboard_fill_gnvs(struct global_nvs *gnvs)
Definition: acpi_tables.c:8
struct global_nvs * gnvs
Definition: nvs.h:14
uint8_t tcrt
Definition: nvs.h:23
uint8_t tpsv
Definition: nvs.h:24