summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-05-29 23:28:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-05-29 23:28:46 +0000
commitd53b814018c3035a34dcb98adbc74c6ad6f1272c (patch)
tree9e00573f8669166dc4de30acd17791c870d31bef /c
parent2010-05-29 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-d53b814018c3035a34dcb98adbc74c6ad6f1272c.tar.bz2
2010-05-29 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1537/libcpu * shared/cache/cache.c: Removed.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libcpu/lm32/ChangeLog5
-rw-r--r--c/src/lib/libcpu/lm32/Makefile.am2
-rw-r--r--c/src/lib/libcpu/lm32/shared/cache/cache.c67
3 files changed, 6 insertions, 68 deletions
diff --git a/c/src/lib/libcpu/lm32/ChangeLog b/c/src/lib/libcpu/lm32/ChangeLog
index 67488e356f..cb8cbf252f 100644
--- a/c/src/lib/libcpu/lm32/ChangeLog
+++ b/c/src/lib/libcpu/lm32/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-29 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ PR 1537/libcpu
+ * shared/cache/cache.c: Removed.
+
2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore: New file.
diff --git a/c/src/lib/libcpu/lm32/Makefile.am b/c/src/lib/libcpu/lm32/Makefile.am
index a4c7803e58..7c096c3885 100644
--- a/c/src/lib/libcpu/lm32/Makefile.am
+++ b/c/src/lib/libcpu/lm32/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/lm32/shared/cache/cache.c b/c/src/lib/libcpu/lm32/shared/cache/cache.c
deleted file mode 100644
index 25802a3999..0000000000
--- a/c/src/lib/libcpu/lm32/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 */