From 503dc05890731954e899d63a8baecabac573e22b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 3 Jul 1996 14:20:03 +0000 Subject: switched from "STATIC INLINE" to "RTEMS_INLINE_ROUTINE" --- c/src/exec/rtems/inline/asr.inl | 10 +++++----- c/src/exec/rtems/inline/attr.inl | 16 ++++++++-------- c/src/exec/rtems/inline/dpmem.inl | 8 ++++---- c/src/exec/rtems/inline/eventset.inl | 8 ++++---- c/src/exec/rtems/inline/message.inl | 6 +++--- c/src/exec/rtems/inline/modes.inl | 14 +++++++------- c/src/exec/rtems/inline/options.inl | 4 ++-- c/src/exec/rtems/inline/part.inl | 18 +++++++++--------- c/src/exec/rtems/inline/ratemon.inl | 14 +++++++------- c/src/exec/rtems/inline/region.inl | 12 ++++++------ c/src/exec/rtems/inline/rtems/rtems/asr.inl | 10 +++++----- c/src/exec/rtems/inline/rtems/rtems/attr.inl | 16 ++++++++-------- c/src/exec/rtems/inline/rtems/rtems/dpmem.inl | 8 ++++---- c/src/exec/rtems/inline/rtems/rtems/eventset.inl | 8 ++++---- c/src/exec/rtems/inline/rtems/rtems/message.inl | 6 +++--- c/src/exec/rtems/inline/rtems/rtems/modes.inl | 14 +++++++------- c/src/exec/rtems/inline/rtems/rtems/options.inl | 4 ++-- c/src/exec/rtems/inline/rtems/rtems/part.inl | 18 +++++++++--------- c/src/exec/rtems/inline/rtems/rtems/ratemon.inl | 14 +++++++------- c/src/exec/rtems/inline/rtems/rtems/region.inl | 12 ++++++------ c/src/exec/rtems/inline/rtems/rtems/sem.inl | 8 ++++---- c/src/exec/rtems/inline/rtems/rtems/status.inl | 4 ++-- c/src/exec/rtems/inline/rtems/rtems/support.inl | 4 ++-- c/src/exec/rtems/inline/rtems/rtems/tasks.inl | 8 ++++---- c/src/exec/rtems/inline/rtems/rtems/timer.inl | 14 +++++++------- c/src/exec/rtems/inline/sem.inl | 8 ++++---- c/src/exec/rtems/inline/status.inl | 4 ++-- c/src/exec/rtems/inline/support.inl | 4 ++-- c/src/exec/rtems/inline/tasks.inl | 8 ++++---- c/src/exec/rtems/inline/timer.inl | 14 +++++++------- 30 files changed, 148 insertions(+), 148 deletions(-) (limited to 'c/src/exec/rtems') diff --git a/c/src/exec/rtems/inline/asr.inl b/c/src/exec/rtems/inline/asr.inl index fc52778875..4a0ac6146b 100644 --- a/c/src/exec/rtems/inline/asr.inl +++ b/c/src/exec/rtems/inline/asr.inl @@ -28,7 +28,7 @@ * This routine initializes the given RTEMS_ASR information record. */ -STATIC INLINE void _ASR_Initialize ( +RTEMS_INLINE_ROUTINE void _ASR_Initialize ( ASR_Information *information ) { @@ -51,7 +51,7 @@ STATIC INLINE void _ASR_Initialize ( * way that the RTEMS_ASR disable/enable flag changes. */ -STATIC INLINE void _ASR_Swap_signals ( +RTEMS_INLINE_ROUTINE void _ASR_Swap_signals ( ASR_Information *information ) { @@ -75,7 +75,7 @@ STATIC INLINE void _ASR_Swap_signals ( * FALSE otherwise. */ -STATIC INLINE boolean _ASR_Is_null_handler ( +RTEMS_INLINE_ROUTINE boolean _ASR_Is_null_handler ( rtems_asr_entry asr_handler ) { @@ -92,7 +92,7 @@ STATIC INLINE boolean _ASR_Is_null_handler ( * given RTEMS_ASR information record and FALSE otherwise. */ -STATIC INLINE boolean _ASR_Are_signals_pending ( +RTEMS_INLINE_ROUTINE boolean _ASR_Are_signals_pending ( ASR_Information *information ) { @@ -111,7 +111,7 @@ STATIC INLINE boolean _ASR_Are_signals_pending ( * NOTE: This must be implemented as a macro. */ -STATIC INLINE void _ASR_Post_signals( +RTEMS_INLINE_ROUTINE void _ASR_Post_signals( rtems_signal_set signals, rtems_signal_set *signal_set ) diff --git a/c/src/exec/rtems/inline/attr.inl b/c/src/exec/rtems/inline/attr.inl index 53c613382f..06c7e796db 100644 --- a/c/src/exec/rtems/inline/attr.inl +++ b/c/src/exec/rtems/inline/attr.inl @@ -27,7 +27,7 @@ * passed in. The result is returned to the user. */ -STATIC INLINE rtems_attribute _Attributes_Set ( +RTEMS_INLINE_ROUTINE rtems_attribute _Attributes_Set ( rtems_attribute new_attributes, rtems_attribute attribute_set ) @@ -45,7 +45,7 @@ STATIC INLINE rtems_attribute _Attributes_Set ( * passed in. The result is returned to the user. */ -STATIC INLINE rtems_attribute _Attributes_Clear ( +RTEMS_INLINE_ROUTINE rtems_attribute _Attributes_Clear ( rtems_attribute attribute_set, rtems_attribute mask ) @@ -63,7 +63,7 @@ STATIC INLINE rtems_attribute _Attributes_Clear ( * enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_floating_point( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_floating_point( rtems_attribute attribute_set ) { @@ -80,7 +80,7 @@ STATIC INLINE boolean _Attributes_Is_floating_point( * enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_global( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_global( rtems_attribute attribute_set ) { @@ -97,7 +97,7 @@ STATIC INLINE boolean _Attributes_Is_global( * enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_priority( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_priority( rtems_attribute attribute_set ) { @@ -114,7 +114,7 @@ STATIC INLINE boolean _Attributes_Is_priority( * enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_binary_semaphore( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_binary_semaphore( rtems_attribute attribute_set ) { @@ -131,7 +131,7 @@ STATIC INLINE boolean _Attributes_Is_binary_semaphore( * is enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_inherit_priority( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_inherit_priority( rtems_attribute attribute_set ) { @@ -148,7 +148,7 @@ STATIC INLINE boolean _Attributes_Is_inherit_priority( * is enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_priority_ceiling( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_priority_ceiling( rtems_attribute attribute_set ) { diff --git a/c/src/exec/rtems/inline/dpmem.inl b/c/src/exec/rtems/inline/dpmem.inl index 4bd13bcd80..8bc76879a0 100644 --- a/c/src/exec/rtems/inline/dpmem.inl +++ b/c/src/exec/rtems/inline/dpmem.inl @@ -28,7 +28,7 @@ * of free port control blocks. */ -STATIC INLINE Dual_ported_memory_Control +RTEMS_INLINE_ROUTINE Dual_ported_memory_Control *_Dual_ported_memory_Allocate ( void ) { return (Dual_ported_memory_Control *) @@ -45,7 +45,7 @@ STATIC INLINE Dual_ported_memory_Control * of free port control blocks. */ -STATIC INLINE void _Dual_ported_memory_Free ( +RTEMS_INLINE_ROUTINE void _Dual_ported_memory_Free ( Dual_ported_memory_Control *the_port ) { @@ -66,7 +66,7 @@ STATIC INLINE void _Dual_ported_memory_Free ( * undefined. */ -STATIC INLINE Dual_ported_memory_Control *_Dual_ported_memory_Get ( +RTEMS_INLINE_ROUTINE Dual_ported_memory_Control *_Dual_ported_memory_Get ( Objects_Id id, Objects_Locations *location ) @@ -84,7 +84,7 @@ STATIC INLINE Dual_ported_memory_Control *_Dual_ported_memory_Get ( * This function returns TRUE if the_port is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Dual_ported_memory_Is_null( +RTEMS_INLINE_ROUTINE boolean _Dual_ported_memory_Is_null( Dual_ported_memory_Control *the_port ) { diff --git a/c/src/exec/rtems/inline/eventset.inl b/c/src/exec/rtems/inline/eventset.inl index ec0789b207..887e2c1ac3 100644 --- a/c/src/exec/rtems/inline/eventset.inl +++ b/c/src/exec/rtems/inline/eventset.inl @@ -26,7 +26,7 @@ * and FALSE otherwise. */ -STATIC INLINE boolean _Event_sets_Is_empty( +RTEMS_INLINE_ROUTINE boolean _Event_sets_Is_empty( rtems_event_set the_event_set ) { @@ -43,7 +43,7 @@ STATIC INLINE boolean _Event_sets_Is_empty( * passed in. The result is returned to the user in event_set. */ -STATIC INLINE void _Event_sets_Post( +RTEMS_INLINE_ROUTINE void _Event_sets_Post( rtems_event_set the_new_events, rtems_event_set *the_event_set ) @@ -61,7 +61,7 @@ STATIC INLINE void _Event_sets_Post( * set in event_set. */ -STATIC INLINE rtems_event_set _Event_sets_Get( +RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Get( rtems_event_set the_event_set, rtems_event_set the_event_condition ) @@ -79,7 +79,7 @@ STATIC INLINE rtems_event_set _Event_sets_Get( * passed in. The result is returned to the user in event_set. */ -STATIC INLINE rtems_event_set _Event_sets_Clear( +RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear( rtems_event_set the_event_set, rtems_event_set the_mask ) diff --git a/c/src/exec/rtems/inline/message.inl b/c/src/exec/rtems/inline/message.inl index c34ad5082a..3db2d3a6c3 100644 --- a/c/src/exec/rtems/inline/message.inl +++ b/c/src/exec/rtems/inline/message.inl @@ -29,7 +29,7 @@ * messages on the_message_queue. */ -STATIC INLINE boolean _Message_queue_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Message_queue_Is_null ( Message_queue_Control *the_message_queue ) { @@ -47,7 +47,7 @@ STATIC INLINE boolean _Message_queue_Is_null ( * the inactive chain of free message queue control blocks. */ -STATIC INLINE void _Message_queue_Free ( +RTEMS_INLINE_ROUTINE void _Message_queue_Free ( Message_queue_Control *the_message_queue ) { @@ -70,7 +70,7 @@ STATIC INLINE void _Message_queue_Free ( * the_message_queue is undefined. */ -STATIC INLINE Message_queue_Control *_Message_queue_Get ( +RTEMS_INLINE_ROUTINE Message_queue_Control *_Message_queue_Get ( Objects_Id id, Objects_Locations *location ) diff --git a/c/src/exec/rtems/inline/modes.inl b/c/src/exec/rtems/inline/modes.inl index 803febd49a..7811646910 100644 --- a/c/src/exec/rtems/inline/modes.inl +++ b/c/src/exec/rtems/inline/modes.inl @@ -27,7 +27,7 @@ * are set in mode_set, and FALSE otherwise. */ -STATIC INLINE boolean _Modes_Mask_changed ( +RTEMS_INLINE_ROUTINE boolean _Modes_Mask_changed ( Modes_Control mode_set, Modes_Control masks ) @@ -45,7 +45,7 @@ STATIC INLINE boolean _Modes_Mask_changed ( * Signal Processing is disabled, and FALSE otherwise. */ -STATIC INLINE boolean _Modes_Is_asr_disabled ( +RTEMS_INLINE_ROUTINE boolean _Modes_Is_asr_disabled ( Modes_Control mode_set ) { @@ -62,7 +62,7 @@ STATIC INLINE boolean _Modes_Is_asr_disabled ( * is enabled, and FALSE otherwise. */ -STATIC INLINE boolean _Modes_Is_preempt ( +RTEMS_INLINE_ROUTINE boolean _Modes_Is_preempt ( Modes_Control mode_set ) { @@ -79,7 +79,7 @@ STATIC INLINE boolean _Modes_Is_preempt ( * is enabled, and FALSE otherwise. */ -STATIC INLINE boolean _Modes_Is_timeslice ( +RTEMS_INLINE_ROUTINE boolean _Modes_Is_timeslice ( Modes_Control mode_set ) { @@ -95,7 +95,7 @@ STATIC INLINE boolean _Modes_Is_timeslice ( * This function returns the interrupt level portion of the mode_set. */ -STATIC INLINE ISR_Level _Modes_Get_interrupt_level ( +RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level ( Modes_Control mode_set ) { @@ -112,7 +112,7 @@ STATIC INLINE ISR_Level _Modes_Get_interrupt_level ( * in the mode_set. */ -STATIC INLINE void _Modes_Set_interrupt_level ( +RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level ( Modes_Control mode_set ) { @@ -131,7 +131,7 @@ STATIC INLINE void _Modes_Set_interrupt_level ( * is returned in changed. */ -STATIC INLINE void _Modes_Change ( +RTEMS_INLINE_ROUTINE void _Modes_Change ( Modes_Control old_mode_set, Modes_Control new_mode_set, Modes_Control mask, diff --git a/c/src/exec/rtems/inline/options.inl b/c/src/exec/rtems/inline/options.inl index 9dba30e895..621f39bf1e 100644 --- a/c/src/exec/rtems/inline/options.inl +++ b/c/src/exec/rtems/inline/options.inl @@ -27,7 +27,7 @@ * option_set, and FALSE otherwise. */ -STATIC INLINE boolean _Options_Is_no_wait ( +RTEMS_INLINE_ROUTINE boolean _Options_Is_no_wait ( rtems_option option_set ) { @@ -44,7 +44,7 @@ STATIC INLINE boolean _Options_Is_no_wait ( * OPTION_SET, and FALSE otherwise. */ -STATIC INLINE boolean _Options_Is_any ( +RTEMS_INLINE_ROUTINE boolean _Options_Is_any ( rtems_option option_set ) { diff --git a/c/src/exec/rtems/inline/part.inl b/c/src/exec/rtems/inline/part.inl index 9088755aa7..b3fcf94038 100644 --- a/c/src/exec/rtems/inline/part.inl +++ b/c/src/exec/rtems/inline/part.inl @@ -28,7 +28,7 @@ * Otherwise, it returns NULL. */ -STATIC INLINE void *_Partition_Allocate_buffer ( +RTEMS_INLINE_ROUTINE void *_Partition_Allocate_buffer ( Partition_Control *the_partition ) { @@ -44,7 +44,7 @@ STATIC INLINE void *_Partition_Allocate_buffer ( * This routine frees the_buffer to the_partition. */ -STATIC INLINE void _Partition_Free_buffer ( +RTEMS_INLINE_ROUTINE void _Partition_Free_buffer ( Partition_Control *the_partition, Chain_Node *the_buffer ) @@ -62,7 +62,7 @@ STATIC INLINE void _Partition_Free_buffer ( * boundary for the_partition, and FALSE otherwise. */ -STATIC INLINE boolean _Partition_Is_buffer_on_boundary ( +RTEMS_INLINE_ROUTINE boolean _Partition_Is_buffer_on_boundary ( void *the_buffer, Partition_Control *the_partition ) @@ -87,7 +87,7 @@ STATIC INLINE boolean _Partition_Is_buffer_on_boundary ( * the_partition, otherwise FALSE is returned. */ -STATIC INLINE boolean _Partition_Is_buffer_valid ( +RTEMS_INLINE_ROUTINE boolean _Partition_Is_buffer_valid ( Chain_Node *the_buffer, Partition_Control *the_partition ) @@ -115,7 +115,7 @@ STATIC INLINE boolean _Partition_Is_buffer_valid ( * properly aligned, and FALSE otherwise. */ -STATIC INLINE boolean _Partition_Is_buffer_size_aligned ( +RTEMS_INLINE_ROUTINE boolean _Partition_Is_buffer_size_aligned ( unsigned32 buffer_size ) { @@ -132,7 +132,7 @@ STATIC INLINE boolean _Partition_Is_buffer_size_aligned ( * the inactive chain of free partition control blocks. */ -STATIC INLINE Partition_Control *_Partition_Allocate ( void ) +RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Allocate ( void ) { return (Partition_Control *) _Objects_Allocate( &_Partition_Information ); } @@ -147,7 +147,7 @@ STATIC INLINE Partition_Control *_Partition_Allocate ( void ) * inactive chain of free partition control blocks. */ -STATIC INLINE void _Partition_Free ( +RTEMS_INLINE_ROUTINE void _Partition_Free ( Partition_Control *the_partition ) { @@ -169,7 +169,7 @@ STATIC INLINE void _Partition_Free ( * to OBJECTS_ERROR and the_partition is undefined. */ -STATIC INLINE Partition_Control *_Partition_Get ( +RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get ( Objects_Id id, Objects_Locations *location ) @@ -188,7 +188,7 @@ STATIC INLINE Partition_Control *_Partition_Get ( * and FALSE otherwise. */ -STATIC INLINE boolean _Partition_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Partition_Is_null ( Partition_Control *the_partition ) { diff --git a/c/src/exec/rtems/inline/ratemon.inl b/c/src/exec/rtems/inline/ratemon.inl index 0450988329..e47ccf81c8 100644 --- a/c/src/exec/rtems/inline/ratemon.inl +++ b/c/src/exec/rtems/inline/ratemon.inl @@ -27,7 +27,7 @@ * the inactive chain of free period control blocks. */ -STATIC INLINE Rate_monotonic_Control *_Rate_monotonic_Allocate( void ) +RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Allocate( void ) { return (Rate_monotonic_Control *) _Objects_Allocate( &_Rate_monotonic_Information ); @@ -43,7 +43,7 @@ STATIC INLINE Rate_monotonic_Control *_Rate_monotonic_Allocate( void ) * the inactive chain of free period control blocks. */ -STATIC INLINE void _Rate_monotonic_Free ( +RTEMS_INLINE_ROUTINE void _Rate_monotonic_Free ( Rate_monotonic_Control *the_period ) { @@ -63,7 +63,7 @@ STATIC INLINE void _Rate_monotonic_Free ( * to OBJECTS_ERROR and the_period is undefined. */ -STATIC INLINE Rate_monotonic_Control *_Rate_monotonic_Get ( +RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Get ( Objects_Id id, Objects_Locations *location ) @@ -82,7 +82,7 @@ STATIC INLINE Rate_monotonic_Control *_Rate_monotonic_Get ( * and FALSE otherwise. */ -STATIC INLINE boolean _Rate_monotonic_Is_active ( +RTEMS_INLINE_ROUTINE boolean _Rate_monotonic_Is_active ( Rate_monotonic_Control *the_period ) { @@ -99,7 +99,7 @@ STATIC INLINE boolean _Rate_monotonic_Is_active ( * and FALSE otherwise. */ -STATIC INLINE boolean _Rate_monotonic_Is_inactive ( +RTEMS_INLINE_ROUTINE boolean _Rate_monotonic_Is_inactive ( Rate_monotonic_Control *the_period ) { @@ -116,7 +116,7 @@ STATIC INLINE boolean _Rate_monotonic_Is_inactive ( * and FALSE otherwise. */ -STATIC INLINE boolean _Rate_monotonic_Is_expired ( +RTEMS_INLINE_ROUTINE boolean _Rate_monotonic_Is_expired ( Rate_monotonic_Control *the_period ) { @@ -132,7 +132,7 @@ STATIC INLINE boolean _Rate_monotonic_Is_expired ( * This function returns TRUE if the_period is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Rate_monotonic_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Rate_monotonic_Is_null ( Rate_monotonic_Control *the_period ) { diff --git a/c/src/exec/rtems/inline/region.inl b/c/src/exec/rtems/inline/region.inl index aae042bed4..2e01385b20 100644 --- a/c/src/exec/rtems/inline/region.inl +++ b/c/src/exec/rtems/inline/region.inl @@ -27,7 +27,7 @@ * the inactive chain of free region control blocks. */ -STATIC INLINE Region_Control *_Region_Allocate( void ) +RTEMS_INLINE_ROUTINE Region_Control *_Region_Allocate( void ) { return (Region_Control *) _Objects_Allocate( &_Region_Information ); } @@ -42,7 +42,7 @@ STATIC INLINE Region_Control *_Region_Allocate( void ) * inactive chain of free region control blocks. */ -STATIC INLINE void _Region_Free ( +RTEMS_INLINE_ROUTINE void _Region_Free ( Region_Control *the_region ) { @@ -62,7 +62,7 @@ STATIC INLINE void _Region_Free ( * to OBJECTS_ERROR and the_region is undefined. */ -STATIC INLINE Region_Control *_Region_Get ( +RTEMS_INLINE_ROUTINE Region_Control *_Region_Get ( Objects_Id id, Objects_Locations *location ) @@ -82,7 +82,7 @@ STATIC INLINE Region_Control *_Region_Get ( * Otherwise, it returns NULL. */ -STATIC INLINE void *_Region_Allocate_segment ( +RTEMS_INLINE_ROUTINE void *_Region_Allocate_segment ( Region_Control *the_region, unsigned32 size ) @@ -99,7 +99,7 @@ STATIC INLINE void *_Region_Allocate_segment ( * This function frees the_segment to the_region. */ -STATIC INLINE boolean _Region_Free_segment ( +RTEMS_INLINE_ROUTINE boolean _Region_Free_segment ( Region_Control *the_region, void *the_segment ) @@ -116,7 +116,7 @@ STATIC INLINE boolean _Region_Free_segment ( * This function returns TRUE if the_region is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Region_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Region_Is_null ( Region_Control *the_region ) { diff --git a/c/src/exec/rtems/inline/rtems/rtems/asr.inl b/c/src/exec/rtems/inline/rtems/rtems/asr.inl index fc52778875..4a0ac6146b 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/asr.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/asr.inl @@ -28,7 +28,7 @@ * This routine initializes the given RTEMS_ASR information record. */ -STATIC INLINE void _ASR_Initialize ( +RTEMS_INLINE_ROUTINE void _ASR_Initialize ( ASR_Information *information ) { @@ -51,7 +51,7 @@ STATIC INLINE void _ASR_Initialize ( * way that the RTEMS_ASR disable/enable flag changes. */ -STATIC INLINE void _ASR_Swap_signals ( +RTEMS_INLINE_ROUTINE void _ASR_Swap_signals ( ASR_Information *information ) { @@ -75,7 +75,7 @@ STATIC INLINE void _ASR_Swap_signals ( * FALSE otherwise. */ -STATIC INLINE boolean _ASR_Is_null_handler ( +RTEMS_INLINE_ROUTINE boolean _ASR_Is_null_handler ( rtems_asr_entry asr_handler ) { @@ -92,7 +92,7 @@ STATIC INLINE boolean _ASR_Is_null_handler ( * given RTEMS_ASR information record and FALSE otherwise. */ -STATIC INLINE boolean _ASR_Are_signals_pending ( +RTEMS_INLINE_ROUTINE boolean _ASR_Are_signals_pending ( ASR_Information *information ) { @@ -111,7 +111,7 @@ STATIC INLINE boolean _ASR_Are_signals_pending ( * NOTE: This must be implemented as a macro. */ -STATIC INLINE void _ASR_Post_signals( +RTEMS_INLINE_ROUTINE void _ASR_Post_signals( rtems_signal_set signals, rtems_signal_set *signal_set ) diff --git a/c/src/exec/rtems/inline/rtems/rtems/attr.inl b/c/src/exec/rtems/inline/rtems/rtems/attr.inl index 53c613382f..06c7e796db 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/attr.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/attr.inl @@ -27,7 +27,7 @@ * passed in. The result is returned to the user. */ -STATIC INLINE rtems_attribute _Attributes_Set ( +RTEMS_INLINE_ROUTINE rtems_attribute _Attributes_Set ( rtems_attribute new_attributes, rtems_attribute attribute_set ) @@ -45,7 +45,7 @@ STATIC INLINE rtems_attribute _Attributes_Set ( * passed in. The result is returned to the user. */ -STATIC INLINE rtems_attribute _Attributes_Clear ( +RTEMS_INLINE_ROUTINE rtems_attribute _Attributes_Clear ( rtems_attribute attribute_set, rtems_attribute mask ) @@ -63,7 +63,7 @@ STATIC INLINE rtems_attribute _Attributes_Clear ( * enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_floating_point( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_floating_point( rtems_attribute attribute_set ) { @@ -80,7 +80,7 @@ STATIC INLINE boolean _Attributes_Is_floating_point( * enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_global( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_global( rtems_attribute attribute_set ) { @@ -97,7 +97,7 @@ STATIC INLINE boolean _Attributes_Is_global( * enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_priority( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_priority( rtems_attribute attribute_set ) { @@ -114,7 +114,7 @@ STATIC INLINE boolean _Attributes_Is_priority( * enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_binary_semaphore( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_binary_semaphore( rtems_attribute attribute_set ) { @@ -131,7 +131,7 @@ STATIC INLINE boolean _Attributes_Is_binary_semaphore( * is enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_inherit_priority( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_inherit_priority( rtems_attribute attribute_set ) { @@ -148,7 +148,7 @@ STATIC INLINE boolean _Attributes_Is_inherit_priority( * is enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _Attributes_Is_priority_ceiling( +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_priority_ceiling( rtems_attribute attribute_set ) { diff --git a/c/src/exec/rtems/inline/rtems/rtems/dpmem.inl b/c/src/exec/rtems/inline/rtems/rtems/dpmem.inl index 4bd13bcd80..8bc76879a0 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/dpmem.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/dpmem.inl @@ -28,7 +28,7 @@ * of free port control blocks. */ -STATIC INLINE Dual_ported_memory_Control +RTEMS_INLINE_ROUTINE Dual_ported_memory_Control *_Dual_ported_memory_Allocate ( void ) { return (Dual_ported_memory_Control *) @@ -45,7 +45,7 @@ STATIC INLINE Dual_ported_memory_Control * of free port control blocks. */ -STATIC INLINE void _Dual_ported_memory_Free ( +RTEMS_INLINE_ROUTINE void _Dual_ported_memory_Free ( Dual_ported_memory_Control *the_port ) { @@ -66,7 +66,7 @@ STATIC INLINE void _Dual_ported_memory_Free ( * undefined. */ -STATIC INLINE Dual_ported_memory_Control *_Dual_ported_memory_Get ( +RTEMS_INLINE_ROUTINE Dual_ported_memory_Control *_Dual_ported_memory_Get ( Objects_Id id, Objects_Locations *location ) @@ -84,7 +84,7 @@ STATIC INLINE Dual_ported_memory_Control *_Dual_ported_memory_Get ( * This function returns TRUE if the_port is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Dual_ported_memory_Is_null( +RTEMS_INLINE_ROUTINE boolean _Dual_ported_memory_Is_null( Dual_ported_memory_Control *the_port ) { diff --git a/c/src/exec/rtems/inline/rtems/rtems/eventset.inl b/c/src/exec/rtems/inline/rtems/rtems/eventset.inl index ec0789b207..887e2c1ac3 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/eventset.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/eventset.inl @@ -26,7 +26,7 @@ * and FALSE otherwise. */ -STATIC INLINE boolean _Event_sets_Is_empty( +RTEMS_INLINE_ROUTINE boolean _Event_sets_Is_empty( rtems_event_set the_event_set ) { @@ -43,7 +43,7 @@ STATIC INLINE boolean _Event_sets_Is_empty( * passed in. The result is returned to the user in event_set. */ -STATIC INLINE void _Event_sets_Post( +RTEMS_INLINE_ROUTINE void _Event_sets_Post( rtems_event_set the_new_events, rtems_event_set *the_event_set ) @@ -61,7 +61,7 @@ STATIC INLINE void _Event_sets_Post( * set in event_set. */ -STATIC INLINE rtems_event_set _Event_sets_Get( +RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Get( rtems_event_set the_event_set, rtems_event_set the_event_condition ) @@ -79,7 +79,7 @@ STATIC INLINE rtems_event_set _Event_sets_Get( * passed in. The result is returned to the user in event_set. */ -STATIC INLINE rtems_event_set _Event_sets_Clear( +RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear( rtems_event_set the_event_set, rtems_event_set the_mask ) diff --git a/c/src/exec/rtems/inline/rtems/rtems/message.inl b/c/src/exec/rtems/inline/rtems/rtems/message.inl index c34ad5082a..3db2d3a6c3 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/message.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/message.inl @@ -29,7 +29,7 @@ * messages on the_message_queue. */ -STATIC INLINE boolean _Message_queue_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Message_queue_Is_null ( Message_queue_Control *the_message_queue ) { @@ -47,7 +47,7 @@ STATIC INLINE boolean _Message_queue_Is_null ( * the inactive chain of free message queue control blocks. */ -STATIC INLINE void _Message_queue_Free ( +RTEMS_INLINE_ROUTINE void _Message_queue_Free ( Message_queue_Control *the_message_queue ) { @@ -70,7 +70,7 @@ STATIC INLINE void _Message_queue_Free ( * the_message_queue is undefined. */ -STATIC INLINE Message_queue_Control *_Message_queue_Get ( +RTEMS_INLINE_ROUTINE Message_queue_Control *_Message_queue_Get ( Objects_Id id, Objects_Locations *location ) diff --git a/c/src/exec/rtems/inline/rtems/rtems/modes.inl b/c/src/exec/rtems/inline/rtems/rtems/modes.inl index 803febd49a..7811646910 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/modes.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/modes.inl @@ -27,7 +27,7 @@ * are set in mode_set, and FALSE otherwise. */ -STATIC INLINE boolean _Modes_Mask_changed ( +RTEMS_INLINE_ROUTINE boolean _Modes_Mask_changed ( Modes_Control mode_set, Modes_Control masks ) @@ -45,7 +45,7 @@ STATIC INLINE boolean _Modes_Mask_changed ( * Signal Processing is disabled, and FALSE otherwise. */ -STATIC INLINE boolean _Modes_Is_asr_disabled ( +RTEMS_INLINE_ROUTINE boolean _Modes_Is_asr_disabled ( Modes_Control mode_set ) { @@ -62,7 +62,7 @@ STATIC INLINE boolean _Modes_Is_asr_disabled ( * is enabled, and FALSE otherwise. */ -STATIC INLINE boolean _Modes_Is_preempt ( +RTEMS_INLINE_ROUTINE boolean _Modes_Is_preempt ( Modes_Control mode_set ) { @@ -79,7 +79,7 @@ STATIC INLINE boolean _Modes_Is_preempt ( * is enabled, and FALSE otherwise. */ -STATIC INLINE boolean _Modes_Is_timeslice ( +RTEMS_INLINE_ROUTINE boolean _Modes_Is_timeslice ( Modes_Control mode_set ) { @@ -95,7 +95,7 @@ STATIC INLINE boolean _Modes_Is_timeslice ( * This function returns the interrupt level portion of the mode_set. */ -STATIC INLINE ISR_Level _Modes_Get_interrupt_level ( +RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level ( Modes_Control mode_set ) { @@ -112,7 +112,7 @@ STATIC INLINE ISR_Level _Modes_Get_interrupt_level ( * in the mode_set. */ -STATIC INLINE void _Modes_Set_interrupt_level ( +RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level ( Modes_Control mode_set ) { @@ -131,7 +131,7 @@ STATIC INLINE void _Modes_Set_interrupt_level ( * is returned in changed. */ -STATIC INLINE void _Modes_Change ( +RTEMS_INLINE_ROUTINE void _Modes_Change ( Modes_Control old_mode_set, Modes_Control new_mode_set, Modes_Control mask, diff --git a/c/src/exec/rtems/inline/rtems/rtems/options.inl b/c/src/exec/rtems/inline/rtems/rtems/options.inl index 9dba30e895..621f39bf1e 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/options.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/options.inl @@ -27,7 +27,7 @@ * option_set, and FALSE otherwise. */ -STATIC INLINE boolean _Options_Is_no_wait ( +RTEMS_INLINE_ROUTINE boolean _Options_Is_no_wait ( rtems_option option_set ) { @@ -44,7 +44,7 @@ STATIC INLINE boolean _Options_Is_no_wait ( * OPTION_SET, and FALSE otherwise. */ -STATIC INLINE boolean _Options_Is_any ( +RTEMS_INLINE_ROUTINE boolean _Options_Is_any ( rtems_option option_set ) { diff --git a/c/src/exec/rtems/inline/rtems/rtems/part.inl b/c/src/exec/rtems/inline/rtems/rtems/part.inl index 9088755aa7..b3fcf94038 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/part.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/part.inl @@ -28,7 +28,7 @@ * Otherwise, it returns NULL. */ -STATIC INLINE void *_Partition_Allocate_buffer ( +RTEMS_INLINE_ROUTINE void *_Partition_Allocate_buffer ( Partition_Control *the_partition ) { @@ -44,7 +44,7 @@ STATIC INLINE void *_Partition_Allocate_buffer ( * This routine frees the_buffer to the_partition. */ -STATIC INLINE void _Partition_Free_buffer ( +RTEMS_INLINE_ROUTINE void _Partition_Free_buffer ( Partition_Control *the_partition, Chain_Node *the_buffer ) @@ -62,7 +62,7 @@ STATIC INLINE void _Partition_Free_buffer ( * boundary for the_partition, and FALSE otherwise. */ -STATIC INLINE boolean _Partition_Is_buffer_on_boundary ( +RTEMS_INLINE_ROUTINE boolean _Partition_Is_buffer_on_boundary ( void *the_buffer, Partition_Control *the_partition ) @@ -87,7 +87,7 @@ STATIC INLINE boolean _Partition_Is_buffer_on_boundary ( * the_partition, otherwise FALSE is returned. */ -STATIC INLINE boolean _Partition_Is_buffer_valid ( +RTEMS_INLINE_ROUTINE boolean _Partition_Is_buffer_valid ( Chain_Node *the_buffer, Partition_Control *the_partition ) @@ -115,7 +115,7 @@ STATIC INLINE boolean _Partition_Is_buffer_valid ( * properly aligned, and FALSE otherwise. */ -STATIC INLINE boolean _Partition_Is_buffer_size_aligned ( +RTEMS_INLINE_ROUTINE boolean _Partition_Is_buffer_size_aligned ( unsigned32 buffer_size ) { @@ -132,7 +132,7 @@ STATIC INLINE boolean _Partition_Is_buffer_size_aligned ( * the inactive chain of free partition control blocks. */ -STATIC INLINE Partition_Control *_Partition_Allocate ( void ) +RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Allocate ( void ) { return (Partition_Control *) _Objects_Allocate( &_Partition_Information ); } @@ -147,7 +147,7 @@ STATIC INLINE Partition_Control *_Partition_Allocate ( void ) * inactive chain of free partition control blocks. */ -STATIC INLINE void _Partition_Free ( +RTEMS_INLINE_ROUTINE void _Partition_Free ( Partition_Control *the_partition ) { @@ -169,7 +169,7 @@ STATIC INLINE void _Partition_Free ( * to OBJECTS_ERROR and the_partition is undefined. */ -STATIC INLINE Partition_Control *_Partition_Get ( +RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get ( Objects_Id id, Objects_Locations *location ) @@ -188,7 +188,7 @@ STATIC INLINE Partition_Control *_Partition_Get ( * and FALSE otherwise. */ -STATIC INLINE boolean _Partition_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Partition_Is_null ( Partition_Control *the_partition ) { diff --git a/c/src/exec/rtems/inline/rtems/rtems/ratemon.inl b/c/src/exec/rtems/inline/rtems/rtems/ratemon.inl index 0450988329..e47ccf81c8 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/ratemon.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/ratemon.inl @@ -27,7 +27,7 @@ * the inactive chain of free period control blocks. */ -STATIC INLINE Rate_monotonic_Control *_Rate_monotonic_Allocate( void ) +RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Allocate( void ) { return (Rate_monotonic_Control *) _Objects_Allocate( &_Rate_monotonic_Information ); @@ -43,7 +43,7 @@ STATIC INLINE Rate_monotonic_Control *_Rate_monotonic_Allocate( void ) * the inactive chain of free period control blocks. */ -STATIC INLINE void _Rate_monotonic_Free ( +RTEMS_INLINE_ROUTINE void _Rate_monotonic_Free ( Rate_monotonic_Control *the_period ) { @@ -63,7 +63,7 @@ STATIC INLINE void _Rate_monotonic_Free ( * to OBJECTS_ERROR and the_period is undefined. */ -STATIC INLINE Rate_monotonic_Control *_Rate_monotonic_Get ( +RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Get ( Objects_Id id, Objects_Locations *location ) @@ -82,7 +82,7 @@ STATIC INLINE Rate_monotonic_Control *_Rate_monotonic_Get ( * and FALSE otherwise. */ -STATIC INLINE boolean _Rate_monotonic_Is_active ( +RTEMS_INLINE_ROUTINE boolean _Rate_monotonic_Is_active ( Rate_monotonic_Control *the_period ) { @@ -99,7 +99,7 @@ STATIC INLINE boolean _Rate_monotonic_Is_active ( * and FALSE otherwise. */ -STATIC INLINE boolean _Rate_monotonic_Is_inactive ( +RTEMS_INLINE_ROUTINE boolean _Rate_monotonic_Is_inactive ( Rate_monotonic_Control *the_period ) { @@ -116,7 +116,7 @@ STATIC INLINE boolean _Rate_monotonic_Is_inactive ( * and FALSE otherwise. */ -STATIC INLINE boolean _Rate_monotonic_Is_expired ( +RTEMS_INLINE_ROUTINE boolean _Rate_monotonic_Is_expired ( Rate_monotonic_Control *the_period ) { @@ -132,7 +132,7 @@ STATIC INLINE boolean _Rate_monotonic_Is_expired ( * This function returns TRUE if the_period is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Rate_monotonic_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Rate_monotonic_Is_null ( Rate_monotonic_Control *the_period ) { diff --git a/c/src/exec/rtems/inline/rtems/rtems/region.inl b/c/src/exec/rtems/inline/rtems/rtems/region.inl index aae042bed4..2e01385b20 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/region.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/region.inl @@ -27,7 +27,7 @@ * the inactive chain of free region control blocks. */ -STATIC INLINE Region_Control *_Region_Allocate( void ) +RTEMS_INLINE_ROUTINE Region_Control *_Region_Allocate( void ) { return (Region_Control *) _Objects_Allocate( &_Region_Information ); } @@ -42,7 +42,7 @@ STATIC INLINE Region_Control *_Region_Allocate( void ) * inactive chain of free region control blocks. */ -STATIC INLINE void _Region_Free ( +RTEMS_INLINE_ROUTINE void _Region_Free ( Region_Control *the_region ) { @@ -62,7 +62,7 @@ STATIC INLINE void _Region_Free ( * to OBJECTS_ERROR and the_region is undefined. */ -STATIC INLINE Region_Control *_Region_Get ( +RTEMS_INLINE_ROUTINE Region_Control *_Region_Get ( Objects_Id id, Objects_Locations *location ) @@ -82,7 +82,7 @@ STATIC INLINE Region_Control *_Region_Get ( * Otherwise, it returns NULL. */ -STATIC INLINE void *_Region_Allocate_segment ( +RTEMS_INLINE_ROUTINE void *_Region_Allocate_segment ( Region_Control *the_region, unsigned32 size ) @@ -99,7 +99,7 @@ STATIC INLINE void *_Region_Allocate_segment ( * This function frees the_segment to the_region. */ -STATIC INLINE boolean _Region_Free_segment ( +RTEMS_INLINE_ROUTINE boolean _Region_Free_segment ( Region_Control *the_region, void *the_segment ) @@ -116,7 +116,7 @@ STATIC INLINE boolean _Region_Free_segment ( * This function returns TRUE if the_region is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Region_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Region_Is_null ( Region_Control *the_region ) { diff --git a/c/src/exec/rtems/inline/rtems/rtems/sem.inl b/c/src/exec/rtems/inline/rtems/rtems/sem.inl index c80431f9b1..bed24e4acf 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/sem.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/sem.inl @@ -27,7 +27,7 @@ * the inactive chain of free semaphore control blocks. */ -STATIC INLINE Semaphore_Control *_Semaphore_Allocate( void ) +RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Allocate( void ) { return (Semaphore_Control *) _Objects_Allocate( &_Semaphore_Information ); } @@ -42,7 +42,7 @@ STATIC INLINE Semaphore_Control *_Semaphore_Allocate( void ) * inactive chain of free semaphore control blocks. */ -STATIC INLINE void _Semaphore_Free ( +RTEMS_INLINE_ROUTINE void _Semaphore_Free ( Semaphore_Control *the_semaphore ) { @@ -64,7 +64,7 @@ STATIC INLINE void _Semaphore_Free ( * to OBJECTS_ERROR and the_semaphore is undefined. */ -STATIC INLINE Semaphore_Control *_Semaphore_Get ( +RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get ( Objects_Id id, Objects_Locations *location ) @@ -82,7 +82,7 @@ STATIC INLINE Semaphore_Control *_Semaphore_Get ( * This function returns TRUE if the_semaphore is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Semaphore_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Semaphore_Is_null ( Semaphore_Control *the_semaphore ) { diff --git a/c/src/exec/rtems/inline/rtems/rtems/status.inl b/c/src/exec/rtems/inline/rtems/rtems/status.inl index f85b4c6d0b..a8accfc0d6 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/status.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/status.inl @@ -27,7 +27,7 @@ * and FALSE otherwise. */ -STATIC INLINE boolean rtems_is_status_successful( +RTEMS_INLINE_ROUTINE boolean rtems_is_status_successful( rtems_status_code code ) { @@ -44,7 +44,7 @@ STATIC INLINE boolean rtems_is_status_successful( * and FALSE otherwise. */ -STATIC INLINE boolean rtems_are_statuses_equal( +RTEMS_INLINE_ROUTINE boolean rtems_are_statuses_equal( rtems_status_code code1, rtems_status_code code2 ) diff --git a/c/src/exec/rtems/inline/rtems/rtems/support.inl b/c/src/exec/rtems/inline/rtems/rtems/support.inl index 856b24e7f9..df2482c9e8 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/support.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/support.inl @@ -26,7 +26,7 @@ * This function returns TRUE if the name is valid, and FALSE otherwise. */ -STATIC INLINE rtems_boolean rtems_is_name_valid ( +RTEMS_INLINE_ROUTINE rtems_boolean rtems_is_name_valid ( rtems_name name ) { @@ -43,7 +43,7 @@ STATIC INLINE rtems_boolean rtems_is_name_valid ( * characters C1, C2, C3, and C4. */ -STATIC INLINE void rtems_name_to_characters( +RTEMS_INLINE_ROUTINE void rtems_name_to_characters( rtems_name name, char *c1, char *c2, diff --git a/c/src/exec/rtems/inline/rtems/rtems/tasks.inl b/c/src/exec/rtems/inline/rtems/rtems/tasks.inl index 6caa34ea80..ed1f5cd9f0 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/tasks.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/tasks.inl @@ -27,7 +27,7 @@ * the inactive chain of free task control blocks. */ -STATIC INLINE Thread_Control *_RTEMS_tasks_Allocate( void ) +RTEMS_INLINE_ROUTINE Thread_Control *_RTEMS_tasks_Allocate( void ) { return (Thread_Control *) _Objects_Allocate( &_RTEMS_tasks_Information ); } @@ -42,7 +42,7 @@ STATIC INLINE Thread_Control *_RTEMS_tasks_Allocate( void ) * inactive chain of free task control blocks. */ -STATIC INLINE void _RTEMS_tasks_Free ( +RTEMS_INLINE_ROUTINE void _RTEMS_tasks_Free ( Thread_Control *the_task ) { @@ -61,7 +61,7 @@ STATIC INLINE void _RTEMS_tasks_Free ( * This function converts an RTEMS API priority into a core priority. */ -STATIC INLINE Priority_Control _RTEMS_tasks_Priority_to_Core( +RTEMS_INLINE_ROUTINE Priority_Control _RTEMS_tasks_Priority_to_Core( rtems_task_priority priority ) { @@ -78,7 +78,7 @@ STATIC INLINE Priority_Control _RTEMS_tasks_Priority_to_Core( * and FALSE otherwise. */ -STATIC INLINE boolean _RTEMS_tasks_Priority_is_valid ( +RTEMS_INLINE_ROUTINE boolean _RTEMS_tasks_Priority_is_valid ( rtems_task_priority the_priority ) { diff --git a/c/src/exec/rtems/inline/rtems/rtems/timer.inl b/c/src/exec/rtems/inline/rtems/rtems/timer.inl index dedcdffa36..ce87668ac3 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/timer.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/timer.inl @@ -27,7 +27,7 @@ * the inactive chain of free timer control blocks. */ -STATIC INLINE Timer_Control *_Timer_Allocate( void ) +RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Allocate( void ) { return (Timer_Control *) _Objects_Allocate( &_Timer_Information ); } @@ -42,7 +42,7 @@ STATIC INLINE Timer_Control *_Timer_Allocate( void ) * inactive chain of free timer control blocks. */ -STATIC INLINE void _Timer_Free ( +RTEMS_INLINE_ROUTINE void _Timer_Free ( Timer_Control *the_timer ) { @@ -62,7 +62,7 @@ STATIC INLINE void _Timer_Free ( * to OBJECTS_ERROR and the returned value is undefined. */ -STATIC INLINE Timer_Control *_Timer_Get ( +RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get ( Objects_Id id, Objects_Locations *location ) @@ -81,7 +81,7 @@ STATIC INLINE Timer_Control *_Timer_Get ( * timer, and FALSE otherwise. */ -STATIC INLINE boolean _Timer_Is_interval_class ( +RTEMS_INLINE_ROUTINE boolean _Timer_Is_interval_class ( Timer_Classes the_class ) { @@ -98,7 +98,7 @@ STATIC INLINE boolean _Timer_Is_interval_class ( * timer, and FALSE otherwise. */ -STATIC INLINE boolean _Timer_Is_timer_of_day_class ( +RTEMS_INLINE_ROUTINE boolean _Timer_Is_timer_of_day_class ( Timer_Classes the_class ) { @@ -115,7 +115,7 @@ STATIC INLINE boolean _Timer_Is_timer_of_day_class ( * timer, and FALSE otherwise. */ -STATIC INLINE boolean _Timer_Is_dormant_class ( +RTEMS_INLINE_ROUTINE boolean _Timer_Is_dormant_class ( Timer_Classes the_class ) { @@ -131,7 +131,7 @@ STATIC INLINE boolean _Timer_Is_dormant_class ( * This function returns TRUE if the_timer is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Timer_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Timer_Is_null ( Timer_Control *the_timer ) { diff --git a/c/src/exec/rtems/inline/sem.inl b/c/src/exec/rtems/inline/sem.inl index c80431f9b1..bed24e4acf 100644 --- a/c/src/exec/rtems/inline/sem.inl +++ b/c/src/exec/rtems/inline/sem.inl @@ -27,7 +27,7 @@ * the inactive chain of free semaphore control blocks. */ -STATIC INLINE Semaphore_Control *_Semaphore_Allocate( void ) +RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Allocate( void ) { return (Semaphore_Control *) _Objects_Allocate( &_Semaphore_Information ); } @@ -42,7 +42,7 @@ STATIC INLINE Semaphore_Control *_Semaphore_Allocate( void ) * inactive chain of free semaphore control blocks. */ -STATIC INLINE void _Semaphore_Free ( +RTEMS_INLINE_ROUTINE void _Semaphore_Free ( Semaphore_Control *the_semaphore ) { @@ -64,7 +64,7 @@ STATIC INLINE void _Semaphore_Free ( * to OBJECTS_ERROR and the_semaphore is undefined. */ -STATIC INLINE Semaphore_Control *_Semaphore_Get ( +RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get ( Objects_Id id, Objects_Locations *location ) @@ -82,7 +82,7 @@ STATIC INLINE Semaphore_Control *_Semaphore_Get ( * This function returns TRUE if the_semaphore is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Semaphore_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Semaphore_Is_null ( Semaphore_Control *the_semaphore ) { diff --git a/c/src/exec/rtems/inline/status.inl b/c/src/exec/rtems/inline/status.inl index f85b4c6d0b..a8accfc0d6 100644 --- a/c/src/exec/rtems/inline/status.inl +++ b/c/src/exec/rtems/inline/status.inl @@ -27,7 +27,7 @@ * and FALSE otherwise. */ -STATIC INLINE boolean rtems_is_status_successful( +RTEMS_INLINE_ROUTINE boolean rtems_is_status_successful( rtems_status_code code ) { @@ -44,7 +44,7 @@ STATIC INLINE boolean rtems_is_status_successful( * and FALSE otherwise. */ -STATIC INLINE boolean rtems_are_statuses_equal( +RTEMS_INLINE_ROUTINE boolean rtems_are_statuses_equal( rtems_status_code code1, rtems_status_code code2 ) diff --git a/c/src/exec/rtems/inline/support.inl b/c/src/exec/rtems/inline/support.inl index 856b24e7f9..df2482c9e8 100644 --- a/c/src/exec/rtems/inline/support.inl +++ b/c/src/exec/rtems/inline/support.inl @@ -26,7 +26,7 @@ * This function returns TRUE if the name is valid, and FALSE otherwise. */ -STATIC INLINE rtems_boolean rtems_is_name_valid ( +RTEMS_INLINE_ROUTINE rtems_boolean rtems_is_name_valid ( rtems_name name ) { @@ -43,7 +43,7 @@ STATIC INLINE rtems_boolean rtems_is_name_valid ( * characters C1, C2, C3, and C4. */ -STATIC INLINE void rtems_name_to_characters( +RTEMS_INLINE_ROUTINE void rtems_name_to_characters( rtems_name name, char *c1, char *c2, diff --git a/c/src/exec/rtems/inline/tasks.inl b/c/src/exec/rtems/inline/tasks.inl index 6caa34ea80..ed1f5cd9f0 100644 --- a/c/src/exec/rtems/inline/tasks.inl +++ b/c/src/exec/rtems/inline/tasks.inl @@ -27,7 +27,7 @@ * the inactive chain of free task control blocks. */ -STATIC INLINE Thread_Control *_RTEMS_tasks_Allocate( void ) +RTEMS_INLINE_ROUTINE Thread_Control *_RTEMS_tasks_Allocate( void ) { return (Thread_Control *) _Objects_Allocate( &_RTEMS_tasks_Information ); } @@ -42,7 +42,7 @@ STATIC INLINE Thread_Control *_RTEMS_tasks_Allocate( void ) * inactive chain of free task control blocks. */ -STATIC INLINE void _RTEMS_tasks_Free ( +RTEMS_INLINE_ROUTINE void _RTEMS_tasks_Free ( Thread_Control *the_task ) { @@ -61,7 +61,7 @@ STATIC INLINE void _RTEMS_tasks_Free ( * This function converts an RTEMS API priority into a core priority. */ -STATIC INLINE Priority_Control _RTEMS_tasks_Priority_to_Core( +RTEMS_INLINE_ROUTINE Priority_Control _RTEMS_tasks_Priority_to_Core( rtems_task_priority priority ) { @@ -78,7 +78,7 @@ STATIC INLINE Priority_Control _RTEMS_tasks_Priority_to_Core( * and FALSE otherwise. */ -STATIC INLINE boolean _RTEMS_tasks_Priority_is_valid ( +RTEMS_INLINE_ROUTINE boolean _RTEMS_tasks_Priority_is_valid ( rtems_task_priority the_priority ) { diff --git a/c/src/exec/rtems/inline/timer.inl b/c/src/exec/rtems/inline/timer.inl index dedcdffa36..ce87668ac3 100644 --- a/c/src/exec/rtems/inline/timer.inl +++ b/c/src/exec/rtems/inline/timer.inl @@ -27,7 +27,7 @@ * the inactive chain of free timer control blocks. */ -STATIC INLINE Timer_Control *_Timer_Allocate( void ) +RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Allocate( void ) { return (Timer_Control *) _Objects_Allocate( &_Timer_Information ); } @@ -42,7 +42,7 @@ STATIC INLINE Timer_Control *_Timer_Allocate( void ) * inactive chain of free timer control blocks. */ -STATIC INLINE void _Timer_Free ( +RTEMS_INLINE_ROUTINE void _Timer_Free ( Timer_Control *the_timer ) { @@ -62,7 +62,7 @@ STATIC INLINE void _Timer_Free ( * to OBJECTS_ERROR and the returned value is undefined. */ -STATIC INLINE Timer_Control *_Timer_Get ( +RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get ( Objects_Id id, Objects_Locations *location ) @@ -81,7 +81,7 @@ STATIC INLINE Timer_Control *_Timer_Get ( * timer, and FALSE otherwise. */ -STATIC INLINE boolean _Timer_Is_interval_class ( +RTEMS_INLINE_ROUTINE boolean _Timer_Is_interval_class ( Timer_Classes the_class ) { @@ -98,7 +98,7 @@ STATIC INLINE boolean _Timer_Is_interval_class ( * timer, and FALSE otherwise. */ -STATIC INLINE boolean _Timer_Is_timer_of_day_class ( +RTEMS_INLINE_ROUTINE boolean _Timer_Is_timer_of_day_class ( Timer_Classes the_class ) { @@ -115,7 +115,7 @@ STATIC INLINE boolean _Timer_Is_timer_of_day_class ( * timer, and FALSE otherwise. */ -STATIC INLINE boolean _Timer_Is_dormant_class ( +RTEMS_INLINE_ROUTINE boolean _Timer_Is_dormant_class ( Timer_Classes the_class ) { @@ -131,7 +131,7 @@ STATIC INLINE boolean _Timer_Is_dormant_class ( * This function returns TRUE if the_timer is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Timer_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Timer_Is_null ( Timer_Control *the_timer ) { -- cgit v1.2.3