summaryrefslogtreecommitdiff
path: root/src/include/acpi/acpi_gnvs.h
blob: cc0c4710ae1b4156abd8ee3442ccaf743f6cd84b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ACPI_GNVS_H__
#define __ACPI_GNVS_H__

#include <types.h>

void *acpi_get_gnvs(void);
void *gnvs_get_or_create(void);
void acpi_inject_nvsa(void);

void gnvs_assign_chromeos(void);

/* Platform code must implement these. */
size_t gnvs_size_of_array(void);
uint32_t *gnvs_cbmc_ptr(void);
void *gnvs_chromeos_ptr(void);

#endif