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
6
void
mainboard_fill_gnvs
(
struct
global_nvs
*
gnvs
)
7
{
8
/* The lid is open by default */
9
gnvs
->
lids
= 1;
10
11
/* Temperature at which OS will shutdown */
12
gnvs
->
tcrt
= 100;
13
/* Temperature at which OS will throttle CPU */
14
gnvs
->
tpsv
= 90;
15
}
acpi_gnvs.h
mainboard_fill_gnvs
void mainboard_fill_gnvs(struct global_nvs *gnvs)
Definition:
acpi_tables.c:8
gnvs
struct global_nvs * gnvs
Definition:
smm_module_handler.c:100
global_nvs
Definition:
nvs.h:14
global_nvs::lids
uint8_t lids
Definition:
nvs.h:17
global_nvs::tcrt
uint8_t tcrt
Definition:
nvs.h:23
global_nvs::tpsv
uint8_t tpsv
Definition:
nvs.h:24
src
mainboard
lenovo
x230
acpi_tables.c
Generated by
1.9.1