2010-05-29 Joel Sherrill <joel.sherrill@oarcorp.com>

PR 1537/libcpu
	* shared/cache/cache.c: Removed.
This commit is contained in:
Joel Sherrill
2010-05-29 23:28:46 +00:00
parent 3b19e814a9
commit d53b814018
3 changed files with 6 additions and 68 deletions

View File

@@ -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.

View File

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

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