summaryrefslogtreecommitdiff
path: root/src/include/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/acpi')
-rw-r--r--src/include/acpi/acpi_gnvs.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/acpi/acpi_gnvs.h b/src/include/acpi/acpi_gnvs.h
new file mode 100644
index 0000000000..cc0c4710ae
--- /dev/null
+++ b/src/include/acpi/acpi_gnvs.h
@@ -0,0 +1,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