Page MenuHomeFreeBSD

D54691.diff
No OneTemporary

D54691.diff

diff --git a/sys/riscv/include/acpica_machdep.h b/sys/riscv/include/acpica_machdep.h
new file mode 100644
--- /dev/null
+++ b/sys/riscv/include/acpica_machdep.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) 2026 Bjoern A. Zeeb
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#ifndef __ACPICA_MACHDEP_H__
+#define __ACPICA_MACHDEP_H__
+
+/*
+ * This is a placeholder until full ACPI support for RISC-V emerges.
+ * With is we can include acpi.h from LinuxKPI and avoid (major) local changes
+ * to compile drivers otherwise fine on RISC-V.
+ */
+
+#endif /* __ACPICA_MACHDEP_H__ */

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 15, 4:16 AM (7 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27641388
Default Alt Text
D54691.diff (581 B)

Event Timeline