Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142016158
D54691.id169725.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
691 B
Referenced Files
None
Subscribers
None
D54691.id169725.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 11:26 PM (7 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27653688
Default Alt Text
D54691.id169725.diff (691 B)
Attached To
Mode
D54691: riscv: add (a dummy) acpica_machdep.h
Attached
Detach File
Event Timeline
Log In to Comment