From 3b19e814a9f4aebdf7bf6fd5e6c17803243ce0f6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 29 May 2010 23:27:32 +0000 Subject: 2010-05-29 Joel Sherrill PR 1538/libcpu * Makefile.am: Use shared stub implementation of cache.c (no_cache.c). * shared/cache/cache.c: Removed. --- c/src/lib/libcpu/nios2/ChangeLog | 6 +++ c/src/lib/libcpu/nios2/Makefile.am | 2 +- c/src/lib/libcpu/nios2/shared/cache/cache.c | 67 ----------------------------- 3 files changed, 7 insertions(+), 68 deletions(-) delete mode 100644 c/src/lib/libcpu/nios2/shared/cache/cache.c (limited to 'c') 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 + + 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 * 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 -#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 */ -- cgit v1.2.3