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.
This commit is contained in:
Joel Sherrill
2010-05-29 23:27:32 +00:00
parent 700b9116a8
commit 3b19e814a9
3 changed files with 7 additions and 68 deletions

View File

@@ -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> 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add RTEMS_AMPOLISH3. * configure.ac: Add RTEMS_AMPOLISH3.

View File

@@ -16,7 +16,7 @@ include_libcpudir = $(includedir)/libcpu
## shared/cache ## shared/cache
include_libcpu_HEADERS = ../shared/include/cache.h include_libcpu_HEADERS = ../shared/include/cache.h
noinst_PROGRAMS += shared/cache.rel 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_aligned_malloc.c \
../shared/src/cache_manager.c ../shared/src/cache_manager.c
shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache

View File

@@ -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 */