summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-05-29 23:27:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-05-29 23:27:32 +0000
commit3b19e814a9f4aebdf7bf6fd5e6c17803243ce0f6 (patch)
tree56d4887345dcb3195e859fbb4fc15effba7c97c8 /c
parent2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-3b19e814a9f4aebdf7bf6fd5e6c17803243ce0f6.tar.bz2
2010-05-29 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1538/libcpu * Makefile.am: Use shared stub implementation of cache.c (no_cache.c). * shared/cache/cache.c: Removed.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libcpu/nios2/ChangeLog6
-rw-r--r--c/src/lib/libcpu/nios2/Makefile.am2
-rw-r--r--c/src/lib/libcpu/nios2/shared/cache/cache.c67
3 files changed, 7 insertions, 68 deletions
diff --git a/c/src/lib/libcpu/nios2/ChangeLog b/c/src/lib/libcpu/nios2/ChangeLog
index 8b753b20d8..8ed0dfa535 100644
--- a/c/src/lib/libcpu/nios2/ChangeLog
+++ b/c/src/lib/libcpu/nios2/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-29 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ PR 1538/libcpu
+ * Makefile.am: Use shared stub implementation of cache.c (no_cache.c).
+ * shared/cache/cache.c: Removed.
+
2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add RTEMS_AMPOLISH3.
diff --git a/c/src/lib/libcpu/nios2/Makefile.am b/c/src/lib/libcpu/nios2/Makefile.am
index 25283a4d4f..129376c138 100644
--- a/c/src/lib/libcpu/nios2/Makefile.am
+++ b/c/src/lib/libcpu/nios2/Makefile.am
@@ -16,7 +16,7 @@ include_libcpudir = $(includedir)/libcpu
## shared/cache
include_libcpu_HEADERS = ../shared/include/cache.h
noinst_PROGRAMS += shared/cache.rel
-shared_cache_rel_SOURCES = shared/cache/cache.c shared/cache/cache_.h \
+shared_cache_rel_SOURCES = ../shared/cache/no_cache.c shared/cache/cache_.h \
../shared/src/cache_aligned_malloc.c \
../shared/src/cache_manager.c
shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
diff --git a/c/src/lib/libcpu/nios2/shared/cache/cache.c b/c/src/lib/libcpu/nios2/shared/cache/cache.c
deleted file mode 100644
index 25802a3999..0000000000
--- a/c/src/lib/libcpu/nios2/shared/cache/cache.c
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Cache Management Support Routines for the MC68040
- *
- * $Id$
- */
-
-#include <rtems.h>
-#include "cache_.h"
-
-/*
- * CACHE MANAGER: The following functions are CPU-specific.
- * They provide the basic implementation for the rtems_* cache
- * management routines. If a given function has no meaning for the CPU,
- * it does nothing by default.
- */
-
-void _CPU_cache_freeze_data ( void ) {}
-void _CPU_cache_unfreeze_data ( void ) {}
-void _CPU_cache_freeze_instruction ( void ) {}
-void _CPU_cache_unfreeze_instruction ( void ) {}
-
-void _CPU_cache_flush_1_data_line (
- const void * d_addr )
-{
- void * p_address = (void *) _CPU_virtual_to_physical( d_addr );
-}
-
-void _CPU_cache_invalidate_1_data_line (
- const void * d_addr )
-{
- void * p_address = (void *) _CPU_virtual_to_physical( d_addr );
-}
-
-void _CPU_cache_flush_entire_data ( void )
-{
-}
-
-void _CPU_cache_invalidate_entire_data ( void )
-{
-}
-
-void _CPU_cache_enable_data ( void )
-{
-}
-
-void _CPU_cache_disable_data ( void )
-{
-}
-
-void _CPU_cache_invalidate_1_instruction_line (
- const void * i_addr )
-{
- void * p_address = (void *) _CPU_virtual_to_physical( i_addr );
-}
-
-void _CPU_cache_invalidate_entire_instruction ( void )
-{
-}
-
-void _CPU_cache_enable_instruction ( void )
-{
-}
-
-void _CPU_cache_disable_instruction ( void )
-{
-}
-/* end of file */