coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
nvs.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
/*
4
* NOTE: The layout of the global_nvs structure below must match the layout
5
* in soc/soc/amd/picasso/acpi/globalnvs.asl !!!
6
*
7
*/
8
9
#ifndef AMD_PICASSO_NVS_H
10
#define AMD_PICASSO_NVS_H
11
12
#include <
stdint.h
>
13
#include <soc/southbridge.h>
14
15
struct
__packed
global_nvs
{
16
/* Miscellaneous */
17
uint8_t
unused_was_pcnt;
/* 0x00 - Processor Count */
18
uint8_t
lids;
/* 0x01 - LID State */
19
uint8_t
unused_was_pwrs;
/* 0x02 - AC Power State */
20
uint32_t
cbmc;
/* 0x03 - 0x06 - coreboot Memory Console */
21
uint64_t
pm1i;
/* 0x07 - 0x0e - System Wake Source - PM1 Index */
22
uint64_t
gpei;
/* 0x0f - 0x16 - GPE Wake Source */
23
uint8_t
tmps;
/* 0x17 - Temperature Sensor ID */
24
uint8_t
tcrt;
/* 0x18 - Critical Threshold */
25
uint8_t
tpsv;
/* 0x19 - Passive Threshold */
26
};
27
28
#endif
/* AMD_PICASSO_NVS_H */
stdint.h
uint32_t
unsigned int uint32_t
Definition:
stdint.h:14
uint64_t
unsigned long long uint64_t
Definition:
stdint.h:17
uint8_t
unsigned char uint8_t
Definition:
stdint.h:8
__packed
Definition:
x86.c:23
global_nvs
Definition:
nvs.h:14
src
soc
amd
picasso
include
soc
nvs.h
Generated by
1.9.1