summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/shared/src/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/powerpc/shared/src/cache.c')
-rw-r--r--c/src/lib/libcpu/powerpc/shared/src/cache.c69
1 files changed, 69 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/shared/src/cache.c b/c/src/lib/libcpu/powerpc/shared/src/cache.c
index ec3e175ded..9099cda251 100644
--- a/c/src/lib/libcpu/powerpc/shared/src/cache.c
+++ b/c/src/lib/libcpu/powerpc/shared/src/cache.c
@@ -1,3 +1,11 @@
+/**
+ * @file
+ *
+ * #ingroup powerpc_shared
+ *
+ * @brief Source file for the Cache Manager PowerPC support.
+ */
+
/*
* Cache Management Support Routines for the MC68040
* Modified for MPC8260 Andy Dachs <a.dachs@sstl.co.uk>
@@ -194,6 +202,67 @@ void _CPU_cache_disable_instruction ( void )
mtspr( 560, r1 );
isync;
}
+
+#else
+
+#warning Most cache functions are not implemented
+
+void _CPU_cache_flush_entire_data()
+{
+ /* Void */
+}
+
+void _CPU_cache_invalidate_entire_data()
+{
+ /* Void */
+}
+
+void _CPU_cache_freeze_data()
+{
+ /* Void */
+}
+
+void _CPU_cache_unfreeze_data()
+{
+ /* Void */
+}
+
+void _CPU_cache_enable_data()
+{
+ /* Void */
+}
+
+void _CPU_cache_disable_data()
+{
+ /* Void */
+}
+
+void _CPU_cache_invalidate_entire_instruction()
+{
+ /* Void */
+}
+
+void _CPU_cache_freeze_instruction()
+{
+ /* Void */
+}
+
+void _CPU_cache_unfreeze_instruction()
+{
+ /* Void */
+}
+
+
+void _CPU_cache_enable_instruction()
+{
+ /* Void */
+}
+
+void _CPU_cache_disable_instruction()
+{
+ /* Void */
+}
+
#endif
void _CPU_cache_invalidate_1_data_line(