Пример #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
}
Пример #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
}
Пример #3
0
static void smp_cache_inst_inv_all(void *arg)
{
  _CPU_cache_invalidate_entire_instruction();
}
Пример #4
0
void _CPU_SMP_Prepare_start_multitasking( void )
{
  _CPU_cache_invalidate_entire_instruction();
}
Пример #5
0
void _CPU_cache_invalidate_entire_data(void)
{
    _CPU_cache_invalidate_entire_instruction();
}