score: Use processor mask in _SMP_Multicast_action

Processor_mask is the internal data type to deal with processor sets.
This commit is contained in:
Sebastian Huber
2019-04-09 10:58:35 +02:00
parent e97b7c9a7a
commit df8d7bd76f
9 changed files with 403 additions and 66 deletions

View File

@@ -329,7 +329,7 @@ rtems_cache_invalidate_multiple_instruction_lines(
#if defined(RTEMS_SMP) && defined(CPU_CACHE_NO_INSTRUCTION_CACHE_SNOOPING)
smp_cache_area area = { i_addr, n_bytes };
_SMP_Multicast_action( 0, NULL, smp_cache_inst_inv, &area );
_SMP_Multicast_action( NULL, smp_cache_inst_inv, &area );
#else
_CPU_cache_invalidate_instruction_range( i_addr, n_bytes );
#endif
@@ -345,7 +345,7 @@ 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 );
_SMP_Multicast_action( NULL, smp_cache_inst_inv_all, NULL );
#else
_CPU_cache_invalidate_entire_instruction();
#endif