summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/opensil/opensil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/amd/opensil/opensil.h')
-rw-r--r--src/vendorcode/amd/opensil/opensil.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/vendorcode/amd/opensil/opensil.h b/src/vendorcode/amd/opensil/opensil.h
new file mode 100644
index 0000000000..1aa2f06423
--- /dev/null
+++ b/src/vendorcode/amd/opensil/opensil.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef _OPENSIL_H_
+#define _OPENSIL_H_
+
+#include <acpi/acpi.h>
+#include <device/device.h>
+
+void SIL_STATUS_report(const char *function, const int status);
+// Add the memory map to dev, starting at index idx, returns last use idx
+void add_opensil_memmap(struct device *dev, unsigned long *idx);
+// Fill in FADT from openSIL
+void opensil_fill_fadt_io_ports(acpi_fadt_t *fadt);
+
+void configure_mpio(void);
+
+void setup_opensil(void);
+void opensil_xSIM_timepoint_1(void);
+void opensil_xSIM_timepoint_2(void);
+void opensil_xSIM_timepoint_3(void);
+
+#endif