Page MenuHomeFreeBSD

D54691.id.diff
No OneTemporary

D54691.id.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,19 @@
+/*
+ * Copyright (c) 2026 The FreeBSD Foundation
+ *
+ * This software was developed by Björn Zeeb
+ * under sponsorship from the FreeBSD Foundation.
+ *
+ * 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, 11:12 PM (17 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27653688
Default Alt Text
D54691.id.diff (691 B)

Event Timeline