forked from Imagelibrary/rtems
2007-11-28 Till Straumann <strauman@slac.stanford.edu>
* shared/src/cache.c: removed redundant mpc8xx versions of flush/invalidate 1 cache line routines.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-11-28 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* shared/src/cache.c: removed redundant mpc8xx versions
|
||||
of flush/invalidate 1 cache line routines.
|
||||
|
||||
2007-11-13 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* shared/src/cache.c: moved generic operations
|
||||
|
||||
@@ -154,20 +154,6 @@ void _CPU_cache_unfreeze_instruction (
|
||||
#define isync \
|
||||
__asm__ volatile ("isync\n"::)
|
||||
|
||||
void _CPU_cache_flush_1_data_line(
|
||||
const void * _address )
|
||||
{
|
||||
register const void *__address = _address;
|
||||
asm volatile ( "dcbf 0,%0" :: "r" (__address) : "memory" );
|
||||
}
|
||||
|
||||
void _CPU_cache_invalidate_1_data_line(
|
||||
const void * _address )
|
||||
{
|
||||
register const void *__address = _address;
|
||||
asm volatile ( "dcbi 0,%0" :: "r"(__address) : "memory" );
|
||||
}
|
||||
|
||||
void _CPU_cache_flush_entire_data ( void ) {}
|
||||
void _CPU_cache_invalidate_entire_data ( void ) {}
|
||||
void _CPU_cache_freeze_data ( void ) {}
|
||||
@@ -189,13 +175,6 @@ void _CPU_cache_disable_data ( void )
|
||||
isync;
|
||||
}
|
||||
|
||||
void _CPU_cache_invalidate_1_instruction_line(
|
||||
const void * _address )
|
||||
{
|
||||
register const void *__address = _address;
|
||||
asm volatile ( "icbi 0,%0" :: "r" (__address) : "memory");
|
||||
}
|
||||
|
||||
void _CPU_cache_invalidate_entire_instruction ( void ) {}
|
||||
void _CPU_cache_freeze_instruction ( void ) {}
|
||||
void _CPU_cache_unfreeze_instruction ( void ) {}
|
||||
|
||||
Reference in New Issue
Block a user