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:
Till Straumann
2007-11-28 20:56:21 +00:00
parent b8596d80e1
commit 54444d5faa
2 changed files with 5 additions and 21 deletions

View File

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

View File

@@ -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 ) {}