summaryrefslogtreecommitdiff
path: root/include/libcpu/cache_.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcpu/cache_.h')
-rw-r--r--include/libcpu/cache_.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/libcpu/cache_.h b/include/libcpu/cache_.h
new file mode 100644
index 0000000000..f51275ebfc
--- /dev/null
+++ b/include/libcpu/cache_.h
@@ -0,0 +1,14 @@
+#if defined(HEADER_WARNING)
+#warning "This header should not be included directly."
+#endif
+
+
+#if defined(__rtems_arm_raspberrypi__)
+# include <arm/raspberrypi/libcpu/cache_.h>
+#elif defined(__rtems_arm_raspberrypi2__)
+# include <arm/raspberrypi2/libcpu/cache_.h>
+#elif defined(__rtems_or1k_generic_or1k__)
+# include <or1k/generic_or1k/libcpu/cache_.h>
+#else
+# error "__rtems_<arch>_<bsp>__ must be defined, for example: __rtems_sparc_erc32__"
+#endif