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" --- cpukit/score/inline/rtems/score/address.inl | 10 +++---- cpukit/score/inline/rtems/score/chain.inl | 38 ++++++++++++------------ cpukit/score/inline/rtems/score/coremsg.inl | 24 +++++++-------- cpukit/score/inline/rtems/score/coremutex.inl | 12 ++++---- cpukit/score/inline/rtems/score/coresem.inl | 4 +-- cpukit/score/inline/rtems/score/heap.inl | 28 +++++++++--------- cpukit/score/inline/rtems/score/isr.inl | 6 ++-- cpukit/score/inline/rtems/score/mppkt.inl | 4 +-- cpukit/score/inline/rtems/score/object.inl | 24 +++++++-------- cpukit/score/inline/rtems/score/objectmp.inl | 6 ++-- cpukit/score/inline/rtems/score/priority.inl | 22 +++++++------- cpukit/score/inline/rtems/score/stack.inl | 6 ++-- cpukit/score/inline/rtems/score/states.inl | 42 +++++++++++++-------------- cpukit/score/inline/rtems/score/sysstate.inl | 16 +++++----- cpukit/score/inline/rtems/score/thread.inl | 42 +++++++++++++-------------- cpukit/score/inline/rtems/score/threadmp.inl | 4 +-- cpukit/score/inline/rtems/score/tod.inl | 8 ++--- cpukit/score/inline/rtems/score/tqdata.inl | 8 ++--- cpukit/score/inline/rtems/score/userext.inl | 10 +++---- cpukit/score/inline/rtems/score/watchdog.inl | 30 +++++++++---------- cpukit/score/inline/rtems/score/wkspace.inl | 4 +-- 21 files changed, 174 insertions(+), 174 deletions(-) (limited to 'cpukit/score/inline/rtems/score') diff --git a/cpukit/score/inline/rtems/score/address.inl b/cpukit/score/inline/rtems/score/address.inl index 343123c981..149b570624 100644 --- a/cpukit/score/inline/rtems/score/address.inl +++ b/cpukit/score/inline/rtems/score/address.inl @@ -28,7 +28,7 @@ * converted to an access type before being used further. */ -STATIC INLINE void *_Addresses_Add_offset ( +RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset ( void *base, unsigned32 offset ) @@ -47,7 +47,7 @@ STATIC INLINE void *_Addresses_Add_offset ( * typically converted to an access type before being used further. */ -STATIC INLINE void *_Addresses_Subtract_offset ( +RTEMS_INLINE_ROUTINE void *_Addresses_Subtract_offset ( void *base, unsigned32 offset ) @@ -68,7 +68,7 @@ STATIC INLINE void *_Addresses_Subtract_offset ( * dependent on an addresses being thirty two bits. */ -STATIC INLINE unsigned32 _Addresses_Subtract ( +RTEMS_INLINE_ROUTINE unsigned32 _Addresses_Subtract ( void *left, void *right ) @@ -87,7 +87,7 @@ STATIC INLINE unsigned32 _Addresses_Subtract ( * is based on correctness and efficiency. */ -STATIC INLINE boolean _Addresses_Is_aligned ( +RTEMS_INLINE_ROUTINE boolean _Addresses_Is_aligned ( void *address ) { @@ -107,7 +107,7 @@ STATIC INLINE boolean _Addresses_Is_aligned ( * assumed to be lower than the limit address. */ -STATIC INLINE boolean _Addresses_Is_in_range ( +RTEMS_INLINE_ROUTINE boolean _Addresses_Is_in_range ( void *address, void *base, void *limit diff --git a/cpukit/score/inline/rtems/score/chain.inl b/cpukit/score/inline/rtems/score/chain.inl index 7fd3fef934..9283fa4c7e 100644 --- a/cpukit/score/inline/rtems/score/chain.inl +++ b/cpukit/score/inline/rtems/score/chain.inl @@ -31,7 +31,7 @@ * and FALSE otherwise. */ -STATIC INLINE boolean _Chain_Are_nodes_equal( +RTEMS_INLINE_ROUTINE boolean _Chain_Are_nodes_equal( Chain_Node *left, Chain_Node *right ) @@ -48,7 +48,7 @@ STATIC INLINE boolean _Chain_Are_nodes_equal( * This function returns TRUE if the_chain is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Chain_Is_null( +RTEMS_INLINE_ROUTINE boolean _Chain_Is_null( Chain_Control *the_chain ) { @@ -64,7 +64,7 @@ STATIC INLINE boolean _Chain_Is_null( * This function returns TRUE if the_node is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Chain_Is_null_node( +RTEMS_INLINE_ROUTINE boolean _Chain_Is_null_node( Chain_Node *the_node ) { @@ -80,7 +80,7 @@ STATIC INLINE boolean _Chain_Is_null_node( * This function returns a pointer to the first node on the chain. */ -STATIC INLINE Chain_Node *_Chain_Head( +RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head( Chain_Control *the_chain ) { @@ -96,7 +96,7 @@ STATIC INLINE Chain_Node *_Chain_Head( * This function returns a pointer to the last node on the chain. */ -STATIC INLINE Chain_Node *_Chain_Tail( +RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail( Chain_Control *the_chain ) { @@ -113,7 +113,7 @@ STATIC INLINE Chain_Node *_Chain_Tail( * FALSE otherwise. */ -STATIC INLINE boolean _Chain_Is_empty( +RTEMS_INLINE_ROUTINE boolean _Chain_Is_empty( Chain_Control *the_chain ) { @@ -130,7 +130,7 @@ STATIC INLINE boolean _Chain_Is_empty( * FALSE otherwise. */ -STATIC INLINE boolean _Chain_Is_first( +RTEMS_INLINE_ROUTINE boolean _Chain_Is_first( Chain_Node *the_node ) { @@ -147,7 +147,7 @@ STATIC INLINE boolean _Chain_Is_first( * FALSE otherwise. */ -STATIC INLINE boolean _Chain_Is_last( +RTEMS_INLINE_ROUTINE boolean _Chain_Is_last( Chain_Node *the_node ) { @@ -164,7 +164,7 @@ STATIC INLINE boolean _Chain_Is_last( * FALSE otherwise. */ -STATIC INLINE boolean _Chain_Has_only_one_node( +RTEMS_INLINE_ROUTINE boolean _Chain_Has_only_one_node( Chain_Control *the_chain ) { @@ -181,7 +181,7 @@ STATIC INLINE boolean _Chain_Has_only_one_node( * FALSE otherwise. */ -STATIC INLINE boolean _Chain_Is_head( +RTEMS_INLINE_ROUTINE boolean _Chain_Is_head( Chain_Control *the_chain, Chain_Node *the_node ) @@ -199,7 +199,7 @@ STATIC INLINE boolean _Chain_Is_head( * FALSE otherwise. */ -STATIC INLINE boolean _Chain_Is_tail( +RTEMS_INLINE_ROUTINE boolean _Chain_Is_tail( Chain_Control *the_chain, Chain_Node *the_node ) @@ -216,7 +216,7 @@ STATIC INLINE boolean _Chain_Is_tail( * This routine initializes the specified chain to contain zero nodes. */ -STATIC INLINE void _Chain_Initialize_empty( +RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty( Chain_Control *the_chain ) { @@ -236,7 +236,7 @@ STATIC INLINE void _Chain_Initialize_empty( * extract operation. */ -STATIC INLINE void _Chain_Extract_unprotected( +RTEMS_INLINE_ROUTINE void _Chain_Extract_unprotected( Chain_Node *the_node ) { @@ -260,7 +260,7 @@ STATIC INLINE void _Chain_Extract_unprotected( * the atomicity of the get operation. */ -STATIC INLINE Chain_Node *_Chain_Get_first_unprotected( +RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_first_unprotected( Chain_Control *the_chain ) { @@ -287,7 +287,7 @@ STATIC INLINE Chain_Node *_Chain_Get_first_unprotected( * get operation. */ -STATIC INLINE Chain_Node *_Chain_Get_unprotected( +RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected( Chain_Control *the_chain ) { @@ -308,7 +308,7 @@ STATIC INLINE Chain_Node *_Chain_Get_unprotected( * of the extract operation. */ -STATIC INLINE void _Chain_Insert_unprotected( +RTEMS_INLINE_ROUTINE void _Chain_Insert_unprotected( Chain_Node *after_node, Chain_Node *the_node ) @@ -333,7 +333,7 @@ STATIC INLINE void _Chain_Insert_unprotected( * append operation. */ -STATIC INLINE void _Chain_Append_unprotected( +RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected( Chain_Control *the_chain, Chain_Node *the_node ) @@ -358,7 +358,7 @@ STATIC INLINE void _Chain_Append_unprotected( * prepend operation. */ -STATIC INLINE void _Chain_Prepend_unprotected( +RTEMS_INLINE_ROUTINE void _Chain_Prepend_unprotected( Chain_Control *the_chain, Chain_Node *the_node ) @@ -378,7 +378,7 @@ STATIC INLINE void _Chain_Prepend_unprotected( * prepend operation. */ -STATIC INLINE void _Chain_Prepend( +RTEMS_INLINE_ROUTINE void _Chain_Prepend( Chain_Control *the_chain, Chain_Node *the_node ) diff --git a/cpukit/score/inline/rtems/score/coremsg.inl b/cpukit/score/inline/rtems/score/coremsg.inl index 84e7250aa7..1467f962c7 100644 --- a/cpukit/score/inline/rtems/score/coremsg.inl +++ b/cpukit/score/inline/rtems/score/coremsg.inl @@ -28,7 +28,7 @@ * This routine sends a message to the end of the specified message queue. */ -STATIC INLINE CORE_message_queue_Status _CORE_message_queue_Send( +RTEMS_INLINE_ROUTINE CORE_message_queue_Status _CORE_message_queue_Send( CORE_message_queue_Control *the_message_queue, void *buffer, unsigned32 size, @@ -55,7 +55,7 @@ STATIC INLINE CORE_message_queue_Status _CORE_message_queue_Send( * This routine sends a message to the front of the specified message queue. */ -STATIC INLINE CORE_message_queue_Status _CORE_message_queue_Urgent( +RTEMS_INLINE_ROUTINE CORE_message_queue_Status _CORE_message_queue_Urgent( CORE_message_queue_Control *the_message_queue, void *buffer, unsigned32 size, @@ -83,7 +83,7 @@ STATIC INLINE CORE_message_queue_Status _CORE_message_queue_Urgent( * to the destination message buffer. */ -STATIC INLINE void _CORE_message_queue_Copy_buffer ( +RTEMS_INLINE_ROUTINE void _CORE_message_queue_Copy_buffer ( void *source, void *destination, unsigned32 size @@ -102,7 +102,7 @@ STATIC INLINE void _CORE_message_queue_Copy_buffer ( * message buffer chain. */ -STATIC INLINE CORE_message_queue_Buffer_control * +RTEMS_INLINE_ROUTINE CORE_message_queue_Buffer_control * _CORE_message_queue_Allocate_message_buffer ( CORE_message_queue_Control *the_message_queue ) @@ -121,7 +121,7 @@ _CORE_message_queue_Allocate_message_buffer ( * message buffer chain. */ -STATIC INLINE void _CORE_message_queue_Free_message_buffer ( +RTEMS_INLINE_ROUTINE void _CORE_message_queue_Free_message_buffer ( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Buffer_control *the_message ) @@ -139,7 +139,7 @@ STATIC INLINE void _CORE_message_queue_Free_message_buffer ( * and returns a pointer to it. */ -STATIC INLINE +RTEMS_INLINE_ROUTINE CORE_message_queue_Buffer_control *_CORE_message_queue_Get_pending_message ( CORE_message_queue_Control *the_message_queue ) @@ -158,7 +158,7 @@ STATIC INLINE * enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _CORE_message_queue_Is_priority( +RTEMS_INLINE_ROUTINE boolean _CORE_message_queue_Is_priority( CORE_message_queue_Attributes *the_attribute ) { @@ -175,7 +175,7 @@ STATIC INLINE boolean _CORE_message_queue_Is_priority( * messages on the_message_queue. */ -STATIC INLINE void _CORE_message_queue_Append ( +RTEMS_INLINE_ROUTINE void _CORE_message_queue_Append ( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Buffer_control *the_message ) @@ -193,7 +193,7 @@ STATIC INLINE void _CORE_message_queue_Append ( * messages on the_message_queue. */ -STATIC INLINE void _CORE_message_queue_Prepend ( +RTEMS_INLINE_ROUTINE void _CORE_message_queue_Prepend ( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Buffer_control *the_message ) @@ -213,7 +213,7 @@ STATIC INLINE void _CORE_message_queue_Prepend ( * This function returns TRUE if the_message_queue is TRUE and FALSE otherwise. */ -STATIC INLINE boolean _CORE_message_queue_Is_null ( +RTEMS_INLINE_ROUTINE boolean _CORE_message_queue_Is_null ( CORE_message_queue_Control *the_message_queue ) { @@ -230,7 +230,7 @@ STATIC INLINE boolean _CORE_message_queue_Is_null ( * queue and FALSE otherwise. */ -STATIC INLINE boolean _CORE_message_queue_Is_notify_enabled ( +RTEMS_INLINE_ROUTINE boolean _CORE_message_queue_Is_notify_enabled ( CORE_message_queue_Control *the_message_queue ) { @@ -246,7 +246,7 @@ STATIC INLINE boolean _CORE_message_queue_Is_notify_enabled ( * This routine initializes the notification information for the_message_queue. */ -STATIC INLINE void _CORE_message_queue_Set_notify ( +RTEMS_INLINE_ROUTINE void _CORE_message_queue_Set_notify ( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Notify_Handler the_handler, void *the_argument diff --git a/cpukit/score/inline/rtems/score/coremutex.inl b/cpukit/score/inline/rtems/score/coremutex.inl index 537d6f7e5f..21d7a12c05 100644 --- a/cpukit/score/inline/rtems/score/coremutex.inl +++ b/cpukit/score/inline/rtems/score/coremutex.inl @@ -27,7 +27,7 @@ * otherwise. */ -STATIC INLINE boolean _CORE_mutex_Is_locked( +RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_locked( CORE_mutex_Control *the_mutex ) { @@ -44,7 +44,7 @@ STATIC INLINE boolean _CORE_mutex_Is_locked( * otherwise. */ -STATIC INLINE boolean _CORE_mutex_Is_fifo( +RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_fifo( CORE_mutex_Attributes *the_attribute ) { @@ -61,7 +61,7 @@ STATIC INLINE boolean _CORE_mutex_Is_fifo( * FALSE otherwise. */ -STATIC INLINE boolean _CORE_mutex_Is_priority( +RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_priority( CORE_mutex_Attributes *the_attribute ) { @@ -78,7 +78,7 @@ STATIC INLINE boolean _CORE_mutex_Is_priority( * INHERIT_PRIORITY and FALSE otherwise. */ -STATIC INLINE boolean _CORE_mutex_Is_inherit_priority( +RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_inherit_priority( CORE_mutex_Attributes *the_attribute ) { @@ -95,7 +95,7 @@ STATIC INLINE boolean _CORE_mutex_Is_inherit_priority( * PRIORITY_CEILING and FALSE otherwise. */ -STATIC INLINE boolean _CORE_mutex_Is_priority_ceiling( +RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_priority_ceiling( CORE_mutex_Attributes *the_attribute ) { @@ -112,7 +112,7 @@ STATIC INLINE boolean _CORE_mutex_Is_priority_ceiling( * semaphore more than once and nest. */ -STATIC INLINE boolean _CORE_mutex_Is_nesting_allowed( +RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_nesting_allowed( CORE_mutex_Attributes *the_attribute ) { diff --git a/cpukit/score/inline/rtems/score/coresem.inl b/cpukit/score/inline/rtems/score/coresem.inl index 6f82318d10..4f3a4e0834 100644 --- a/cpukit/score/inline/rtems/score/coresem.inl +++ b/cpukit/score/inline/rtems/score/coresem.inl @@ -27,7 +27,7 @@ * enabled in the attribute_set and FALSE otherwise. */ -STATIC INLINE boolean _CORE_semaphore_Is_priority( +RTEMS_INLINE_ROUTINE boolean _CORE_semaphore_Is_priority( CORE_semaphore_Attributes *the_attribute ) { @@ -43,7 +43,7 @@ STATIC INLINE boolean _CORE_semaphore_Is_priority( * This routine returns the current count associated with the semaphore. */ -STATIC INLINE unsigned32 _CORE_semaphore_Get_count( +RTEMS_INLINE_ROUTINE unsigned32 _CORE_semaphore_Get_count( CORE_semaphore_Control *the_semaphore ) { diff --git a/cpukit/score/inline/rtems/score/heap.inl b/cpukit/score/inline/rtems/score/heap.inl index 6b4b1af74e..a02991a39d 100644 --- a/cpukit/score/inline/rtems/score/heap.inl +++ b/cpukit/score/inline/rtems/score/heap.inl @@ -28,7 +28,7 @@ * This function returns the head of the specified heap. */ -STATIC INLINE Heap_Block *_Heap_Head ( +RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Head ( Heap_Control *the_heap ) { @@ -44,7 +44,7 @@ STATIC INLINE Heap_Block *_Heap_Head ( * This function returns the tail of the specified heap. */ -STATIC INLINE Heap_Block *_Heap_Tail ( +RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Tail ( Heap_Control *the_heap ) { @@ -61,7 +61,7 @@ STATIC INLINE Heap_Block *_Heap_Tail ( * precedes the_block in memory. */ -STATIC INLINE Heap_Block *_Heap_Previous_block ( +RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Previous_block ( Heap_Block *the_block ) { @@ -83,7 +83,7 @@ STATIC INLINE Heap_Block *_Heap_Previous_block ( * NOTE: Next_block assumes that the block is free. */ -STATIC INLINE Heap_Block *_Heap_Next_block ( +RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Next_block ( Heap_Block *the_block ) { @@ -103,7 +103,7 @@ STATIC INLINE Heap_Block *_Heap_Next_block ( * in the heap based upad a base address and an offset. */ -STATIC INLINE Heap_Block *_Heap_Block_at( +RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at( void *base, unsigned32 offset ) @@ -120,7 +120,7 @@ STATIC INLINE Heap_Block *_Heap_Block_at( * XXX */ -STATIC INLINE Heap_Block *_Heap_User_block_at( +RTEMS_INLINE_ROUTINE Heap_Block *_Heap_User_block_at( void *base ) { @@ -140,7 +140,7 @@ STATIC INLINE Heap_Block *_Heap_User_block_at( * is free, and FALSE otherwise. */ -STATIC INLINE boolean _Heap_Is_previous_block_free ( +RTEMS_INLINE_ROUTINE boolean _Heap_Is_previous_block_free ( Heap_Block *the_block ) { @@ -156,7 +156,7 @@ STATIC INLINE boolean _Heap_Is_previous_block_free ( * This function returns TRUE if the block is free, and FALSE otherwise. */ -STATIC INLINE boolean _Heap_Is_block_free ( +RTEMS_INLINE_ROUTINE boolean _Heap_Is_block_free ( Heap_Block *the_block ) { @@ -173,7 +173,7 @@ STATIC INLINE boolean _Heap_Is_block_free ( * and FALSE otherwise. */ -STATIC INLINE boolean _Heap_Is_block_used ( +RTEMS_INLINE_ROUTINE boolean _Heap_Is_block_used ( Heap_Block *the_block ) { @@ -189,7 +189,7 @@ STATIC INLINE boolean _Heap_Is_block_used ( * This function returns the size of the_block in bytes. */ -STATIC INLINE unsigned32 _Heap_Block_size ( +RTEMS_INLINE_ROUTINE unsigned32 _Heap_Block_size ( Heap_Block *the_block ) { @@ -206,7 +206,7 @@ STATIC INLINE unsigned32 _Heap_Block_size ( * which the user may access. */ -STATIC INLINE void *_Heap_Start_of_user_area ( +RTEMS_INLINE_ROUTINE void *_Heap_Start_of_user_area ( Heap_Block *the_block ) { @@ -223,7 +223,7 @@ STATIC INLINE void *_Heap_Start_of_user_area ( * managed by the_heap, and FALSE otherwise. */ -STATIC INLINE boolean _Heap_Is_block_in ( +RTEMS_INLINE_ROUTINE boolean _Heap_Is_block_in ( Heap_Control *the_heap, Heap_Block *the_block ) @@ -243,7 +243,7 @@ STATIC INLINE boolean _Heap_Is_block_in ( * returned. */ -STATIC INLINE boolean _Heap_Is_page_size_valid( +RTEMS_INLINE_ROUTINE boolean _Heap_Is_page_size_valid( unsigned32 page_size ) { @@ -262,7 +262,7 @@ STATIC INLINE boolean _Heap_Is_page_size_valid( * heap block. */ -STATIC INLINE unsigned32 _Heap_Build_flag ( +RTEMS_INLINE_ROUTINE unsigned32 _Heap_Build_flag ( unsigned32 size, unsigned32 in_use_flag ) diff --git a/cpukit/score/inline/rtems/score/isr.inl b/cpukit/score/inline/rtems/score/isr.inl index 2dd41315bc..a944711ff0 100644 --- a/cpukit/score/inline/rtems/score/isr.inl +++ b/cpukit/score/inline/rtems/score/isr.inl @@ -29,7 +29,7 @@ * directives available to an interrupt service routine are restricted. */ -STATIC INLINE boolean _ISR_Is_in_progress( void ) +RTEMS_INLINE_ROUTINE boolean _ISR_Is_in_progress( void ) { return (_ISR_Nest_level != 0); } @@ -44,7 +44,7 @@ STATIC INLINE boolean _ISR_Is_in_progress( void ) * for this processor and FALSE otherwise. */ -STATIC INLINE boolean _ISR_Is_vector_number_valid ( +RTEMS_INLINE_ROUTINE boolean _ISR_Is_vector_number_valid ( unsigned32 vector ) { @@ -62,7 +62,7 @@ STATIC INLINE boolean _ISR_Is_vector_number_valid ( * use interrupt service routine and FALSE otherwise. */ -STATIC INLINE boolean _ISR_Is_valid_user_handler ( +RTEMS_INLINE_ROUTINE boolean _ISR_Is_valid_user_handler ( void *handler ) { diff --git a/cpukit/score/inline/rtems/score/mppkt.inl b/cpukit/score/inline/rtems/score/mppkt.inl index c8b6ecd117..f6d4bdb52a 100644 --- a/cpukit/score/inline/rtems/score/mppkt.inl +++ b/cpukit/score/inline/rtems/score/mppkt.inl @@ -30,7 +30,7 @@ * because this enum starts at lower bound of zero. */ -STATIC INLINE boolean _Mp_packet_Is_valid_packet_class ( +RTEMS_INLINE_ROUTINE boolean _Mp_packet_Is_valid_packet_class ( MP_packet_Classes the_packet_class ) { @@ -47,7 +47,7 @@ STATIC INLINE boolean _Mp_packet_Is_valid_packet_class ( * and FALSE otherwise. */ -STATIC INLINE boolean _Mp_packet_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Mp_packet_Is_null ( MP_packet_Prefix *the_packet ) { diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl index 249814bacf..4277eb2f02 100644 --- a/cpukit/score/inline/rtems/score/object.inl +++ b/cpukit/score/inline/rtems/score/object.inl @@ -27,7 +27,7 @@ * values specified. */ -STATIC INLINE Objects_Id _Objects_Build_id( +RTEMS_INLINE_ROUTINE Objects_Id _Objects_Build_id( Objects_Classes the_class, unsigned32 node, unsigned32 index @@ -47,7 +47,7 @@ STATIC INLINE Objects_Id _Objects_Build_id( * This function returns the class portion of the ID. */ -STATIC INLINE Objects_Classes _Objects_Get_class( +RTEMS_INLINE_ROUTINE Objects_Classes _Objects_Get_class( Objects_Id id ) { @@ -65,7 +65,7 @@ STATIC INLINE Objects_Classes _Objects_Get_class( * This function returns the node portion of the ID. */ -STATIC INLINE unsigned32 _Objects_Get_node( +RTEMS_INLINE_ROUTINE unsigned32 _Objects_Get_node( Objects_Id id ) { @@ -81,7 +81,7 @@ STATIC INLINE unsigned32 _Objects_Get_node( * This function returns the index portion of the ID. */ -STATIC INLINE unsigned32 _Objects_Get_index( +RTEMS_INLINE_ROUTINE unsigned32 _Objects_Get_index( Objects_Id id ) { @@ -97,7 +97,7 @@ STATIC INLINE unsigned32 _Objects_Get_index( * This function returns TRUE if the class is valid. */ -STATIC INLINE boolean _Objects_Is_class_valid( +RTEMS_INLINE_ROUTINE boolean _Objects_Is_class_valid( Objects_Classes the_class ) { @@ -114,7 +114,7 @@ STATIC INLINE boolean _Objects_Is_class_valid( * FALSE otherwise. */ -STATIC INLINE boolean _Objects_Is_local_node( +RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_node( unsigned32 node ) { @@ -131,7 +131,7 @@ STATIC INLINE boolean _Objects_Is_local_node( * FALSE otherwise. */ -STATIC INLINE boolean _Objects_Is_local_id( +RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_id( Objects_Id id ) { @@ -148,7 +148,7 @@ STATIC INLINE boolean _Objects_Is_local_id( * and FALSE otherwise. */ -STATIC INLINE boolean _Objects_Are_ids_equal( +RTEMS_INLINE_ROUTINE boolean _Objects_Are_ids_equal( Objects_Id left, Objects_Id right ) @@ -166,7 +166,7 @@ STATIC INLINE boolean _Objects_Are_ids_equal( * the inactive chain of free object control blocks. */ -STATIC INLINE Objects_Control *_Objects_Allocate( +RTEMS_INLINE_ROUTINE Objects_Control *_Objects_Allocate( Objects_Information *information ) { @@ -183,7 +183,7 @@ STATIC INLINE Objects_Control *_Objects_Allocate( * inactive chain of free object control blocks. */ -STATIC INLINE void _Objects_Free( +RTEMS_INLINE_ROUTINE void _Objects_Free( Objects_Information *information, Objects_Control *the_object ) @@ -201,7 +201,7 @@ STATIC INLINE void _Objects_Free( * in the Local Pointer and Local Name Tables, respectively. */ -STATIC INLINE void _Objects_Open( +RTEMS_INLINE_ROUTINE void _Objects_Open( Objects_Information *information, Objects_Control *the_object, Objects_Name name @@ -228,7 +228,7 @@ STATIC INLINE void _Objects_Open( * in the Local Pointer and Local Name Tables. */ -STATIC INLINE void _Objects_Close( +RTEMS_INLINE_ROUTINE void _Objects_Close( Objects_Information *information, Objects_Control *the_object ) diff --git a/cpukit/score/inline/rtems/score/objectmp.inl b/cpukit/score/inline/rtems/score/objectmp.inl index dda2799643..51ec7ec154 100644 --- a/cpukit/score/inline/rtems/score/objectmp.inl +++ b/cpukit/score/inline/rtems/score/objectmp.inl @@ -26,7 +26,7 @@ * This function allocates a Global Object control block. */ -STATIC INLINE Objects_MP_Control *_Objects_MP_Allocate_global_object ( +RTEMS_INLINE_ROUTINE Objects_MP_Control *_Objects_MP_Allocate_global_object ( void ) { @@ -43,7 +43,7 @@ STATIC INLINE Objects_MP_Control *_Objects_MP_Allocate_global_object ( * This routine deallocates a Global Object control block. */ -STATIC INLINE void _Objects_MP_Free_global_object ( +RTEMS_INLINE_ROUTINE void _Objects_MP_Free_global_object ( Objects_MP_Control *the_object ) { @@ -62,7 +62,7 @@ STATIC INLINE void _Objects_MP_Free_global_object ( * This function returns whether the global object is NULL or not. */ -STATIC INLINE boolean _Objects_MP_Is_null_global_object ( +RTEMS_INLINE_ROUTINE boolean _Objects_MP_Is_null_global_object ( Objects_MP_Control *the_object ) { diff --git a/cpukit/score/inline/rtems/score/priority.inl b/cpukit/score/inline/rtems/score/priority.inl index d65056057b..266903724c 100644 --- a/cpukit/score/inline/rtems/score/priority.inl +++ b/cpukit/score/inline/rtems/score/priority.inl @@ -28,7 +28,7 @@ * This routine performs the initialization necessary for this handler. */ -STATIC INLINE void _Priority_Handler_initialization( void ) +RTEMS_INLINE_ROUTINE void _Priority_Handler_initialization( void ) { unsigned32 index; @@ -47,7 +47,7 @@ STATIC INLINE void _Priority_Handler_initialization( void ) * user task, and FALSE otherwise. */ -STATIC INLINE boolean _Priority_Is_valid ( +RTEMS_INLINE_ROUTINE boolean _Priority_Is_valid ( Priority_Control the_priority ) { @@ -68,7 +68,7 @@ STATIC INLINE boolean _Priority_Is_valid ( * This function returns the major portion of the_priority. */ -STATIC INLINE unsigned32 _Priority_Major ( +RTEMS_INLINE_ROUTINE unsigned32 _Priority_Major ( Priority_Control the_priority ) { @@ -84,7 +84,7 @@ STATIC INLINE unsigned32 _Priority_Major ( * This function returns the minor portion of the_priority. */ -STATIC INLINE unsigned32 _Priority_Minor ( +RTEMS_INLINE_ROUTINE unsigned32 _Priority_Minor ( Priority_Control the_priority ) { @@ -103,7 +103,7 @@ STATIC INLINE unsigned32 _Priority_Minor ( * number passed to it. */ -STATIC INLINE unsigned32 _Priority_Mask ( +RTEMS_INLINE_ROUTINE unsigned32 _Priority_Mask ( unsigned32 bit_number ) { @@ -122,7 +122,7 @@ STATIC INLINE unsigned32 _Priority_Mask ( * a major or minor component of a priority. */ -STATIC INLINE unsigned32 _Priority_Bits_index ( +RTEMS_INLINE_ROUTINE unsigned32 _Priority_Bits_index ( unsigned32 bit_number ) { @@ -141,7 +141,7 @@ STATIC INLINE unsigned32 _Priority_Bits_index ( * bit maps to indicate that a thread has been readied. */ -STATIC INLINE void _Priority_Add_to_bit_map ( +RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map ( Priority_Information *the_priority_map ) { @@ -160,7 +160,7 @@ STATIC INLINE void _Priority_Add_to_bit_map ( * ready state. */ -STATIC INLINE void _Priority_Remove_from_bit_map ( +RTEMS_INLINE_ROUTINE void _Priority_Remove_from_bit_map ( Priority_Information *the_priority_map ) { @@ -179,7 +179,7 @@ STATIC INLINE void _Priority_Remove_from_bit_map ( * ready thread. */ -STATIC INLINE Priority_Control _Priority_Get_highest( void ) +RTEMS_INLINE_ROUTINE Priority_Control _Priority_Get_highest( void ) { Priority_Bit_map_control minor; Priority_Bit_map_control major; @@ -202,7 +202,7 @@ STATIC INLINE Priority_Control _Priority_Get_highest( void ) * at new_priority. */ -STATIC INLINE void _Priority_Initialize_information( +RTEMS_INLINE_ROUTINE void _Priority_Initialize_information( Priority_Information *the_priority_map, Priority_Control new_priority ) @@ -236,7 +236,7 @@ STATIC INLINE void _Priority_Initialize_information( * FALSE otherwise. */ -STATIC INLINE boolean _Priority_Is_group_empty ( +RTEMS_INLINE_ROUTINE boolean _Priority_Is_group_empty ( Priority_Control the_priority ) { diff --git a/cpukit/score/inline/rtems/score/stack.inl b/cpukit/score/inline/rtems/score/stack.inl index d29874a7dd..b344ad5cc7 100644 --- a/cpukit/score/inline/rtems/score/stack.inl +++ b/cpukit/score/inline/rtems/score/stack.inl @@ -28,7 +28,7 @@ * reserved for a stack. */ -STATIC INLINE void _Stack_Initialize ( +RTEMS_INLINE_ROUTINE void _Stack_Initialize ( Stack_Control *the_stack, void *starting_address, unsigned32 size @@ -48,7 +48,7 @@ STATIC INLINE void _Stack_Initialize ( * a valid stack area on this processor, and FALSE otherwise. */ -STATIC INLINE boolean _Stack_Is_enough ( +RTEMS_INLINE_ROUTINE boolean _Stack_Is_enough ( unsigned32 size ) { @@ -70,7 +70,7 @@ STATIC INLINE boolean _Stack_Is_enough ( * The amount of adjustment for alignment is CPU dependent. */ -STATIC INLINE unsigned32 _Stack_Adjust_size ( +RTEMS_INLINE_ROUTINE unsigned32 _Stack_Adjust_size ( unsigned32 size ) { diff --git a/cpukit/score/inline/rtems/score/states.inl b/cpukit/score/inline/rtems/score/states.inl index fad8ce727c..555972c19c 100644 --- a/cpukit/score/inline/rtems/score/states.inl +++ b/cpukit/score/inline/rtems/score/states.inl @@ -27,7 +27,7 @@ * passed in. The result is returned to the user in current_state. */ -STATIC INLINE States_Control _States_Set ( +RTEMS_INLINE_ROUTINE States_Control _States_Set ( States_Control states_to_set, States_Control current_state ) @@ -45,7 +45,7 @@ STATIC INLINE States_Control _States_Set ( * passed in. The result is returned to the user in current_state. */ -STATIC INLINE States_Control _States_Clear ( +RTEMS_INLINE_ROUTINE States_Control _States_Clear ( States_Control states_to_clear, States_Control current_state ) @@ -63,7 +63,7 @@ STATIC INLINE States_Control _States_Clear ( * state is READY, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_ready ( +RTEMS_INLINE_ROUTINE boolean _States_Is_ready ( States_Control the_states ) { @@ -80,7 +80,7 @@ STATIC INLINE boolean _States_Is_ready ( * set in the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_only_dormant ( +RTEMS_INLINE_ROUTINE boolean _States_Is_only_dormant ( States_Control the_states ) { @@ -97,7 +97,7 @@ STATIC INLINE boolean _States_Is_only_dormant ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_dormant ( +RTEMS_INLINE_ROUTINE boolean _States_Is_dormant ( States_Control the_states ) { @@ -114,7 +114,7 @@ STATIC INLINE boolean _States_Is_dormant ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_suspended ( +RTEMS_INLINE_ROUTINE boolean _States_Is_suspended ( States_Control the_states ) { @@ -131,7 +131,7 @@ STATIC INLINE boolean _States_Is_suspended ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_transient ( +RTEMS_INLINE_ROUTINE boolean _States_Is_transient ( States_Control the_states ) { @@ -148,7 +148,7 @@ STATIC INLINE boolean _States_Is_transient ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_delaying ( +RTEMS_INLINE_ROUTINE boolean _States_Is_delaying ( States_Control the_states ) { @@ -165,7 +165,7 @@ STATIC INLINE boolean _States_Is_delaying ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_waiting_for_buffer ( +RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_buffer ( States_Control the_states ) { @@ -182,7 +182,7 @@ STATIC INLINE boolean _States_Is_waiting_for_buffer ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_waiting_for_segment ( +RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_segment ( States_Control the_states ) { @@ -199,7 +199,7 @@ STATIC INLINE boolean _States_Is_waiting_for_segment ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_waiting_for_message ( +RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_message ( States_Control the_states ) { @@ -216,7 +216,7 @@ STATIC INLINE boolean _States_Is_waiting_for_message ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_waiting_for_event ( +RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_event ( States_Control the_states ) { @@ -233,7 +233,7 @@ STATIC INLINE boolean _States_Is_waiting_for_event ( * is set in the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_waiting_for_mutex ( +RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_mutex ( States_Control the_states ) { @@ -250,7 +250,7 @@ STATIC INLINE boolean _States_Is_waiting_for_mutex ( * is set in the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_waiting_for_semaphore ( +RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_semaphore ( States_Control the_states ) { @@ -267,7 +267,7 @@ STATIC INLINE boolean _States_Is_waiting_for_semaphore ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_waiting_for_time ( +RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_time ( States_Control the_states ) { @@ -284,7 +284,7 @@ STATIC INLINE boolean _States_Is_waiting_for_time ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_waiting_for_rpc_reply ( +RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_rpc_reply ( States_Control the_states ) { @@ -301,7 +301,7 @@ STATIC INLINE boolean _States_Is_waiting_for_rpc_reply ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_waiting_for_period ( +RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_period ( States_Control the_states ) { @@ -319,7 +319,7 @@ STATIC INLINE boolean _States_Is_waiting_for_period ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_locally_blocked ( +RTEMS_INLINE_ROUTINE boolean _States_Is_locally_blocked ( States_Control the_states ) { @@ -337,7 +337,7 @@ STATIC INLINE boolean _States_Is_locally_blocked ( * the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_waiting_on_thread_queue ( +RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_on_thread_queue ( States_Control the_states ) { @@ -354,7 +354,7 @@ STATIC INLINE boolean _States_Is_waiting_on_thread_queue ( * that a task is blocked is set in the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Is_blocked ( +RTEMS_INLINE_ROUTINE boolean _States_Is_blocked ( States_Control the_states ) { @@ -372,7 +372,7 @@ STATIC INLINE boolean _States_Is_blocked ( * are set in the_states, and FALSE otherwise. */ -STATIC INLINE boolean _States_Are_set ( +RTEMS_INLINE_ROUTINE boolean _States_Are_set ( States_Control the_states, States_Control mask ) diff --git a/cpukit/score/inline/rtems/score/sysstate.inl b/cpukit/score/inline/rtems/score/sysstate.inl index 08f8b9c513..43a9cea308 100644 --- a/cpukit/score/inline/rtems/score/sysstate.inl +++ b/cpukit/score/inline/rtems/score/sysstate.inl @@ -26,7 +26,7 @@ * This routine initializes the system state handler. */ -STATIC INLINE void _System_state_Handler_initialization ( +RTEMS_INLINE_ROUTINE void _System_state_Handler_initialization ( boolean is_multiprocessing ) { @@ -44,7 +44,7 @@ STATIC INLINE void _System_state_Handler_initialization ( * the called. */ -STATIC INLINE void _System_state_Set ( +RTEMS_INLINE_ROUTINE void _System_state_Set ( System_state_Codes state ) { @@ -60,7 +60,7 @@ STATIC INLINE void _System_state_Set ( * This function returns the current system state. */ -STATIC INLINE System_state_Codes _System_state_Get ( void ) +RTEMS_INLINE_ROUTINE System_state_Codes _System_state_Get ( void ) { return _System_state_Current; } @@ -75,7 +75,7 @@ STATIC INLINE System_state_Codes _System_state_Get ( void ) * "before initialization" state, and FALSE otherwise. */ -STATIC INLINE boolean _System_state_Is_before_initialization ( +RTEMS_INLINE_ROUTINE boolean _System_state_Is_before_initialization ( System_state_Codes state ) { @@ -92,7 +92,7 @@ STATIC INLINE boolean _System_state_Is_before_initialization ( * "before multitasking" state, and FALSE otherwise. */ -STATIC INLINE boolean _System_state_Is_before_multitasking ( +RTEMS_INLINE_ROUTINE boolean _System_state_Is_before_multitasking ( System_state_Codes state ) { @@ -109,7 +109,7 @@ STATIC INLINE boolean _System_state_Is_before_multitasking ( * "begin multitasking" state, and FALSE otherwise. */ -STATIC INLINE boolean _System_state_Is_begin_multitasking ( +RTEMS_INLINE_ROUTINE boolean _System_state_Is_begin_multitasking ( System_state_Codes state ) { @@ -126,7 +126,7 @@ STATIC INLINE boolean _System_state_Is_begin_multitasking ( * "up" state, and FALSE otherwise. */ -STATIC INLINE boolean _System_state_Is_up ( +RTEMS_INLINE_ROUTINE boolean _System_state_Is_up ( System_state_Codes state ) { @@ -143,7 +143,7 @@ STATIC INLINE boolean _System_state_Is_up ( * "failed" state, and FALSE otherwise. */ -STATIC INLINE boolean _System_state_Is_failed ( +RTEMS_INLINE_ROUTINE boolean _System_state_Is_failed ( System_state_Codes state ) { diff --git a/cpukit/score/inline/rtems/score/thread.inl b/cpukit/score/inline/rtems/score/thread.inl index 53d5d41751..573eb5bb35 100644 --- a/cpukit/score/inline/rtems/score/thread.inl +++ b/cpukit/score/inline/rtems/score/thread.inl @@ -28,7 +28,7 @@ * routine which initialized the system. */ -STATIC INLINE void _Thread_Stop_multitasking( void ) +RTEMS_INLINE_ROUTINE void _Thread_Stop_multitasking( void ) { _Context_Switch( &_Thread_Executing->Registers, &_Thread_BSP_context ); } @@ -43,7 +43,7 @@ STATIC INLINE void _Thread_Stop_multitasking( void ) * thread, and FALSE otherwise. */ -STATIC INLINE boolean _Thread_Is_executing ( +RTEMS_INLINE_ROUTINE boolean _Thread_Is_executing ( Thread_Control *the_thread ) { @@ -60,7 +60,7 @@ STATIC INLINE boolean _Thread_Is_executing ( * thread, and FALSE otherwise. */ -STATIC INLINE boolean _Thread_Is_heir ( +RTEMS_INLINE_ROUTINE boolean _Thread_Is_heir ( Thread_Control *the_thread ) { @@ -77,7 +77,7 @@ STATIC INLINE boolean _Thread_Is_heir ( * is also the heir thread, and FALSE otherwise. */ -STATIC INLINE boolean _Thread_Is_executing_also_the_heir( void ) +RTEMS_INLINE_ROUTINE boolean _Thread_Is_executing_also_the_heir( void ) { return ( _Thread_Executing == _Thread_Heir ); } @@ -93,7 +93,7 @@ STATIC INLINE boolean _Thread_Is_executing_also_the_heir( void ) * a new heir thread. */ -STATIC INLINE void _Thread_Resume ( +RTEMS_INLINE_ROUTINE void _Thread_Resume ( Thread_Control *the_thread ) { @@ -111,7 +111,7 @@ STATIC INLINE void _Thread_Resume ( * a new heir thread. */ -STATIC INLINE void _Thread_Unblock ( +RTEMS_INLINE_ROUTINE void _Thread_Unblock ( Thread_Control *the_thread ) { @@ -128,7 +128,7 @@ STATIC INLINE void _Thread_Unblock ( * to that of its initial state. */ -STATIC INLINE void _Thread_Restart_self( void ) +RTEMS_INLINE_ROUTINE void _Thread_Restart_self( void ) { if ( _Thread_Executing->fp_context != NULL ) _Context_Restore_fp( &_Thread_Executing->fp_context ); @@ -146,7 +146,7 @@ STATIC INLINE void _Thread_Restart_self( void ) * ready thread. */ -STATIC INLINE void _Thread_Calculate_heir( void ) +RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void ) { _Thread_Heir = (Thread_Control *) _Thread_Ready_chain[ _Priority_Get_highest() ].first; @@ -163,7 +163,7 @@ STATIC INLINE void _Thread_Calculate_heir( void ) * FALSE otherwise. */ -STATIC INLINE boolean _Thread_Is_allocated_fp ( +RTEMS_INLINE_ROUTINE boolean _Thread_Is_allocated_fp ( Thread_Control *the_thread ) { @@ -180,7 +180,7 @@ STATIC INLINE boolean _Thread_Is_allocated_fp ( * point context is now longer associated with an active thread. */ -STATIC INLINE void _Thread_Deallocate_fp( void ) +RTEMS_INLINE_ROUTINE void _Thread_Deallocate_fp( void ) { _Thread_Allocated_fp = NULL; } @@ -194,7 +194,7 @@ STATIC INLINE void _Thread_Deallocate_fp( void ) * This routine prevents dispatching. */ -STATIC INLINE void _Thread_Disable_dispatch( void ) +RTEMS_INLINE_ROUTINE void _Thread_Disable_dispatch( void ) { _Thread_Dispatch_disable_level += 1; } @@ -212,7 +212,7 @@ STATIC INLINE void _Thread_Disable_dispatch( void ) */ #if ( CPU_INLINE_ENABLE_DISPATCH == TRUE ) -STATIC INLINE void _Thread_Enable_dispatch() +RTEMS_INLINE_ROUTINE void _Thread_Enable_dispatch() { if ( (--_Thread_Dispatch_disable_level) == 0 ) _Thread_Dispatch(); @@ -234,7 +234,7 @@ void _Thread_Enable_dispatch( void ); * most dispatching critical section. */ -STATIC INLINE void _Thread_Unnest_dispatch( void ) +RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void ) { _Thread_Dispatch_disable_level -= 1; } @@ -249,7 +249,7 @@ STATIC INLINE void _Thread_Unnest_dispatch( void ) * otherwise. */ -STATIC INLINE boolean _Thread_Is_dispatching_enabled( void ) +RTEMS_INLINE_ROUTINE boolean _Thread_Is_dispatching_enabled( void ) { return ( _Thread_Dispatch_disable_level == 0 ); } @@ -264,7 +264,7 @@ STATIC INLINE boolean _Thread_Is_dispatching_enabled( void ) * otherwise. */ -STATIC INLINE boolean _Thread_Is_context_switch_necessary( void ) +RTEMS_INLINE_ROUTINE boolean _Thread_Is_context_switch_necessary( void ) { return ( _Context_Switch_necessary ); } @@ -278,7 +278,7 @@ STATIC INLINE boolean _Thread_Is_context_switch_necessary( void ) * This routine initializes the thread dispatching subsystem. */ -STATIC INLINE void _Thread_Dispatch_initialization( void ) +RTEMS_INLINE_ROUTINE void _Thread_Dispatch_initialization( void ) { _Thread_Dispatch_disable_level = 1; } @@ -292,7 +292,7 @@ STATIC INLINE void _Thread_Dispatch_initialization( void ) * This function returns TRUE if the_thread is NULL and FALSE otherwise. */ -STATIC INLINE boolean _Thread_Is_null ( +RTEMS_INLINE_ROUTINE boolean _Thread_Is_null ( Thread_Control *the_thread ) { @@ -317,7 +317,7 @@ STATIC INLINE boolean _Thread_Is_null ( * NOTE: XXX... This routine may be able to be optimized. */ -STATIC INLINE Thread_Control *_Thread_Get ( +RTEMS_INLINE_ROUTINE Thread_Control *_Thread_Get ( Objects_Id id, Objects_Locations *location ) @@ -363,7 +363,7 @@ done: * status which indicates that a proxy is blocking, and FALSE otherwise. */ -STATIC INLINE boolean _Thread_Is_proxy_blocking ( +RTEMS_INLINE_ROUTINE boolean _Thread_Is_proxy_blocking ( unsigned32 code ) { @@ -379,7 +379,7 @@ STATIC INLINE boolean _Thread_Is_proxy_blocking ( * This routine allocates an internal thread. */ -STATIC INLINE Thread_Control *_Thread_Internal_allocate( void ) +RTEMS_INLINE_ROUTINE Thread_Control *_Thread_Internal_allocate( void ) { return (Thread_Control *) _Objects_Allocate( &_Thread_Internal_information ); } @@ -393,7 +393,7 @@ STATIC INLINE Thread_Control *_Thread_Internal_allocate( void ) * This routine frees an internal thread. */ -STATIC INLINE void _Thread_Internal_free ( +RTEMS_INLINE_ROUTINE void _Thread_Internal_free ( Thread_Control *the_task ) { diff --git a/cpukit/score/inline/rtems/score/threadmp.inl b/cpukit/score/inline/rtems/score/threadmp.inl index f16f64e48a..0451baf35e 100644 --- a/cpukit/score/inline/rtems/score/threadmp.inl +++ b/cpukit/score/inline/rtems/score/threadmp.inl @@ -27,7 +27,7 @@ * multiprocessing receive thread. */ -STATIC INLINE boolean _Thread_MP_Is_receive ( +RTEMS_INLINE_ROUTINE boolean _Thread_MP_Is_receive ( Thread_Control *the_thread ) { @@ -44,7 +44,7 @@ STATIC INLINE boolean _Thread_MP_Is_receive ( * inactive chain of free proxy control blocks. */ -STATIC INLINE void _Thread_MP_Free_proxy ( +RTEMS_INLINE_ROUTINE void _Thread_MP_Free_proxy ( Thread_Control *the_thread ) { diff --git a/cpukit/score/inline/rtems/score/tod.inl b/cpukit/score/inline/rtems/score/tod.inl index 3892dbdb98..17e7f014e8 100644 --- a/cpukit/score/inline/rtems/score/tod.inl +++ b/cpukit/score/inline/rtems/score/tod.inl @@ -27,7 +27,7 @@ * time of day, and FALSE otherwise. */ -STATIC INLINE boolean _TOD_Is_set( void ) +RTEMS_INLINE_ROUTINE boolean _TOD_Is_set( void ) { return _Watchdog_Is_active( &_TOD_Seconds_watchdog ); } @@ -42,7 +42,7 @@ STATIC INLINE boolean _TOD_Is_set( void ) * day at each clock tick. */ -STATIC INLINE void _TOD_Tickle_ticks( void ) +RTEMS_INLINE_ROUTINE void _TOD_Tickle_ticks( void ) { _TOD_Current.ticks += 1; _Watchdog_Ticks_since_boot += 1; @@ -57,7 +57,7 @@ STATIC INLINE void _TOD_Tickle_ticks( void ) * This routine deactivates updating of the current time of day. */ -STATIC INLINE void _TOD_Deactivate( void ) +RTEMS_INLINE_ROUTINE void _TOD_Deactivate( void ) { _Watchdog_Remove( &_TOD_Seconds_watchdog ); } @@ -71,7 +71,7 @@ STATIC INLINE void _TOD_Deactivate( void ) * This routine activates updating of the current time of day. */ -STATIC INLINE void _TOD_Activate( +RTEMS_INLINE_ROUTINE void _TOD_Activate( Watchdog_Interval ticks ) { diff --git a/cpukit/score/inline/rtems/score/tqdata.inl b/cpukit/score/inline/rtems/score/tqdata.inl index c7d8630062..901cdcc2ba 100644 --- a/cpukit/score/inline/rtems/score/tqdata.inl +++ b/cpukit/score/inline/rtems/score/tqdata.inl @@ -27,7 +27,7 @@ * a thread of the_priority should be placed. */ -STATIC INLINE unsigned32 _Thread_queue_Header_number ( +RTEMS_INLINE_ROUTINE unsigned32 _Thread_queue_Header_number ( Priority_Control the_priority ) { @@ -45,7 +45,7 @@ STATIC INLINE unsigned32 _Thread_queue_Header_number ( * group chain, and FALSE if the search should start at the rear. */ -STATIC INLINE boolean _Thread_queue_Is_reverse_search ( +RTEMS_INLINE_ROUTINE boolean _Thread_queue_Is_reverse_search ( Priority_Control the_priority ) { @@ -61,7 +61,7 @@ STATIC INLINE boolean _Thread_queue_Is_reverse_search ( * This function returns the number of threads waiting on this thread queue. */ -STATIC INLINE unsigned32 _Thread_queue_Get_number_waiting ( +RTEMS_INLINE_ROUTINE unsigned32 _Thread_queue_Get_number_waiting ( Thread_queue_Control *the_thread_queue ) { @@ -78,7 +78,7 @@ STATIC INLINE unsigned32 _Thread_queue_Get_number_waiting ( * entering a critical section. */ -STATIC INLINE void _Thread_queue_Enter_critical_section ( +RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section ( Thread_queue_Control *the_thread_queue ) { diff --git a/cpukit/score/inline/rtems/score/userext.inl b/cpukit/score/inline/rtems/score/userext.inl index a9a858b2e2..dd08c46b49 100644 --- a/cpukit/score/inline/rtems/score/userext.inl +++ b/cpukit/score/inline/rtems/score/userext.inl @@ -26,7 +26,7 @@ * This routine performs the initialization necessary for this handler. */ -STATIC INLINE void _User_extensions_Handler_initialization ( +RTEMS_INLINE_ROUTINE void _User_extensions_Handler_initialization ( User_extensions_Table *initial_extensions ) { @@ -47,7 +47,7 @@ STATIC INLINE void _User_extensions_Handler_initialization ( * This routine is used to add a user extension set to the active list. */ -STATIC INLINE void _User_extensions_Add_set ( +RTEMS_INLINE_ROUTINE void _User_extensions_Add_set ( User_extensions_Control *the_extension, User_extensions_Table *extension_table ) @@ -65,7 +65,7 @@ STATIC INLINE void _User_extensions_Add_set ( * This routine is used to add an API extension set to the active list. */ -STATIC INLINE void _User_extensions_Add_API_set ( +RTEMS_INLINE_ROUTINE void _User_extensions_Add_API_set ( User_extensions_Control *the_extension ) { @@ -81,7 +81,7 @@ STATIC INLINE void _User_extensions_Add_API_set ( * This routine is used to remove a user extension set from the active list. */ -STATIC INLINE void _User_extensions_Remove_set ( +RTEMS_INLINE_ROUTINE void _User_extensions_Remove_set ( User_extensions_Control *the_extension ) { @@ -98,7 +98,7 @@ STATIC INLINE void _User_extensions_Remove_set ( * is invoked when a context switch occurs. */ -STATIC INLINE void _User_extensions_Thread_switch ( +RTEMS_INLINE_ROUTINE void _User_extensions_Thread_switch ( Thread_Control *executing, Thread_Control *heir ) diff --git a/cpukit/score/inline/rtems/score/watchdog.inl b/cpukit/score/inline/rtems/score/watchdog.inl index 75fb662dfc..5a429c3db0 100644 --- a/cpukit/score/inline/rtems/score/watchdog.inl +++ b/cpukit/score/inline/rtems/score/watchdog.inl @@ -28,7 +28,7 @@ * specified values. */ -STATIC INLINE void _Watchdog_Initialize( +RTEMS_INLINE_ROUTINE void _Watchdog_Initialize( Watchdog_Control *the_watchdog, Watchdog_Service_routine_entry routine, Objects_Id id, @@ -51,7 +51,7 @@ STATIC INLINE void _Watchdog_Initialize( * state, and FALSE otherwise. */ -STATIC INLINE boolean _Watchdog_Is_active( +RTEMS_INLINE_ROUTINE boolean _Watchdog_Is_active( Watchdog_Control *the_watchdog ) { @@ -70,7 +70,7 @@ STATIC INLINE boolean _Watchdog_Is_active( * on a watchdog chain. */ -STATIC INLINE void _Watchdog_Activate( +RTEMS_INLINE_ROUTINE void _Watchdog_Activate( Watchdog_Control *the_watchdog ) { @@ -89,7 +89,7 @@ STATIC INLINE void _Watchdog_Activate( * on a watchdog chain. */ -STATIC INLINE void _Watchdog_Deactivate( +RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate( Watchdog_Control *the_watchdog ) { @@ -108,7 +108,7 @@ STATIC INLINE void _Watchdog_Deactivate( * watchdog chain. */ -STATIC INLINE void _Watchdog_Tickle_ticks( void ) +RTEMS_INLINE_ROUTINE void _Watchdog_Tickle_ticks( void ) { _Watchdog_Tickle( &_Watchdog_Ticks_chain ); @@ -125,7 +125,7 @@ STATIC INLINE void _Watchdog_Tickle_ticks( void ) * watchdog chain. */ -STATIC INLINE void _Watchdog_Tickle_seconds( void ) +RTEMS_INLINE_ROUTINE void _Watchdog_Tickle_seconds( void ) { _Watchdog_Tickle( &_Watchdog_Seconds_chain ); @@ -144,7 +144,7 @@ STATIC INLINE void _Watchdog_Tickle_seconds( void ) * by the caller. */ -STATIC INLINE void _Watchdog_Insert_ticks( +RTEMS_INLINE_ROUTINE void _Watchdog_Insert_ticks( Watchdog_Control *the_watchdog, Watchdog_Interval units ) @@ -168,7 +168,7 @@ STATIC INLINE void _Watchdog_Insert_ticks( * by the caller. */ -STATIC INLINE void _Watchdog_Insert_seconds( +RTEMS_INLINE_ROUTINE void _Watchdog_Insert_seconds( Watchdog_Control *the_watchdog, Watchdog_Interval units ) @@ -191,7 +191,7 @@ STATIC INLINE void _Watchdog_Insert_seconds( * current time of day is changed. */ -STATIC INLINE void _Watchdog_Adjust_seconds( +RTEMS_INLINE_ROUTINE void _Watchdog_Adjust_seconds( Watchdog_Adjust_directions direction, Watchdog_Interval units ) @@ -211,7 +211,7 @@ STATIC INLINE void _Watchdog_Adjust_seconds( * or backward DIRECTION for UNITS ticks. */ -STATIC INLINE void _Watchdog_Adjust_ticks( +RTEMS_INLINE_ROUTINE void _Watchdog_Adjust_ticks( Watchdog_Adjust_directions direction, Watchdog_Interval units ) @@ -233,7 +233,7 @@ STATIC INLINE void _Watchdog_Adjust_ticks( * many ticks. */ -STATIC INLINE void _Watchdog_Reset( +RTEMS_INLINE_ROUTINE void _Watchdog_Reset( Watchdog_Control *the_watchdog ) { @@ -254,7 +254,7 @@ STATIC INLINE void _Watchdog_Reset( * THE_WATCHDOG on the watchdog chain. */ -STATIC INLINE Watchdog_Control *_Watchdog_Next( +RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Next( Watchdog_Control *the_watchdog ) { @@ -273,7 +273,7 @@ STATIC INLINE Watchdog_Control *_Watchdog_Next( * THE_WATCHDOG on the watchdog chain. */ -STATIC INLINE Watchdog_Control *_Watchdog_Previous( +RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Previous( Watchdog_Control *the_watchdog ) { @@ -292,7 +292,7 @@ STATIC INLINE Watchdog_Control *_Watchdog_Previous( * on the watchdog chain HEADER. */ -STATIC INLINE Watchdog_Control *_Watchdog_First( +RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First( Chain_Control *header ) { @@ -311,7 +311,7 @@ STATIC INLINE Watchdog_Control *_Watchdog_First( * on the watchdog chain HEADER. */ -STATIC INLINE Watchdog_Control *_Watchdog_Last( +RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Last( Chain_Control *header ) { diff --git a/cpukit/score/inline/rtems/score/wkspace.inl b/cpukit/score/inline/rtems/score/wkspace.inl index 47174a9c9d..0ba6f72e92 100644 --- a/cpukit/score/inline/rtems/score/wkspace.inl +++ b/cpukit/score/inline/rtems/score/wkspace.inl @@ -28,7 +28,7 @@ * from the workspace, then NULL is returned. */ -STATIC INLINE void *_Workspace_Allocate( +RTEMS_INLINE_ROUTINE void *_Workspace_Allocate( unsigned32 size ) { @@ -46,7 +46,7 @@ STATIC INLINE void *_Workspace_Allocate( * TRUE is returned. Otherwise FALSE is returned. */ -STATIC INLINE boolean _Workspace_Free( +RTEMS_INLINE_ROUTINE boolean _Workspace_Free( void *block ) { -- cgit v1.2.3