forked from Imagelibrary/rtems
smp: Rename _CPU_Processor_event_receive()
Rename to _CPU_SMP_Processor_event_receive().
This commit is contained in:
@@ -485,7 +485,7 @@ void _CPU_Context_validate( uintptr_t pattern );
|
|||||||
_ARM_Send_event();
|
_ARM_Send_event();
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void _CPU_Processor_event_receive( void )
|
static inline void _CPU_SMP_Processor_event_receive( void )
|
||||||
{
|
{
|
||||||
_ARM_Wait_for_event();
|
_ARM_Wait_for_event();
|
||||||
_ARM_Data_memory_barrier();
|
_ARM_Data_memory_barrier();
|
||||||
|
|||||||
@@ -464,7 +464,7 @@ uint32_t _CPU_ISR_Get_level( void );
|
|||||||
__asm__ volatile ( "" : : : "memory" );
|
__asm__ volatile ( "" : : : "memory" );
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void _CPU_Processor_event_receive( void )
|
static inline void _CPU_SMP_Processor_event_receive( void )
|
||||||
{
|
{
|
||||||
__asm__ volatile ( "" : : : "memory" );
|
__asm__ volatile ( "" : : : "memory" );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1435,7 +1435,7 @@ static inline uint32_t CPU_swap_u32(
|
|||||||
* transactions. This function must ensure that preceding store operations
|
* transactions. This function must ensure that preceding store operations
|
||||||
* can be observed by other processors.
|
* can be observed by other processors.
|
||||||
*
|
*
|
||||||
* @see _CPU_Processor_event_receive().
|
* @see _CPU_SMP_Processor_event_receive().
|
||||||
*/
|
*/
|
||||||
static inline void _CPU_SMP_Processor_event_broadcast( void )
|
static inline void _CPU_SMP_Processor_event_broadcast( void )
|
||||||
{
|
{
|
||||||
@@ -1450,7 +1450,7 @@ static inline uint32_t CPU_swap_u32(
|
|||||||
*
|
*
|
||||||
* @see _CPU_SMP_Processor_event_broadcast().
|
* @see _CPU_SMP_Processor_event_broadcast().
|
||||||
*/
|
*/
|
||||||
static inline void _CPU_Processor_event_receive( void )
|
static inline void _CPU_SMP_Processor_event_receive( void )
|
||||||
{
|
{
|
||||||
__asm__ volatile ( "" : : : "memory" );
|
__asm__ volatile ( "" : : : "memory" );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1021,7 +1021,7 @@ void _CPU_Context_validate( uintptr_t pattern );
|
|||||||
__asm__ volatile ( "" : : : "memory" );
|
__asm__ volatile ( "" : : : "memory" );
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void _CPU_Processor_event_receive( void )
|
static inline void _CPU_SMP_Processor_event_receive( void )
|
||||||
{
|
{
|
||||||
__asm__ volatile ( "" : : : "memory" );
|
__asm__ volatile ( "" : : : "memory" );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1195,7 +1195,7 @@ void _CPU_Context_restore(
|
|||||||
__asm__ volatile ( "" : : : "memory" );
|
__asm__ volatile ( "" : : : "memory" );
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void _CPU_Processor_event_receive( void )
|
static inline void _CPU_SMP_Processor_event_receive( void )
|
||||||
{
|
{
|
||||||
__asm__ volatile ( "" : : : "memory" );
|
__asm__ volatile ( "" : : : "memory" );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
while ( per_cpu->state != desired_state ) {
|
while ( per_cpu->state != desired_state ) {
|
||||||
_CPU_Processor_event_receive();
|
_CPU_SMP_Processor_event_receive();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user