Ejemplo n.º 1
0
/*
 * This function is responsible for performing an instruction cache
 * invalidate. It invalidates the entire cache.
 */
void
rtems_cache_invalidate_entire_instruction( void )
{
#if defined(CPU_INSTRUCTION_CACHE_ALIGNMENT)
#if defined(RTEMS_SMP) && defined(CPU_CACHE_NO_INSTRUCTION_CACHE_SNOOPING)
  _SMP_Multicast_action( 0, NULL, smp_cache_inst_inv_all, NULL );
#else
 _CPU_cache_invalidate_entire_instruction();
#endif
#endif
}
Ejemplo n.º 2
0
/*
 * This function is responsible for performing an instruction cache
 * invalidate. It invalidates the entire cache.
 */
void
rtems_cache_invalidate_entire_instruction( void )
{
#if defined(CPU_INSTRUCTION_CACHE_ALIGNMENT)
 /*
  * Call the CPU-specific routine
  */

 _CPU_cache_invalidate_entire_instruction();
#endif
}
Ejemplo n.º 3
0
static void smp_cache_inst_inv_all(void *arg)
{
  _CPU_cache_invalidate_entire_instruction();
}
Ejemplo n.º 4
0
Archivo: bspsmp.c Proyecto: AoLaD/rtems
void _CPU_SMP_Prepare_start_multitasking( void )
{
  _CPU_cache_invalidate_entire_instruction();
}
Ejemplo n.º 5
0
void _CPU_cache_invalidate_entire_data(void)
{
    _CPU_cache_invalidate_entire_instruction();
}