summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-07-03 14:20:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-07-03 14:20:03 +0000
commit503dc05890731954e899d63a8baecabac573e22b (patch)
treec93178f7485d46cb9c10865f9d3bcf33dc9df2f9
parentchanged version (diff)
downloadrtems-503dc05890731954e899d63a8baecabac573e22b.tar.bz2
switched from "STATIC INLINE" to "RTEMS_INLINE_ROUTINE"
Diffstat (limited to '')
-rw-r--r--c/src/exec/posix/headers/cond.h8
-rw-r--r--c/src/exec/posix/headers/intr.h8
-rw-r--r--c/src/exec/posix/headers/key.h8
-rw-r--r--c/src/exec/posix/headers/mqueue.h10
-rw-r--r--c/src/exec/posix/headers/mutex.h8
-rw-r--r--c/src/exec/posix/headers/priority.h6
-rw-r--r--c/src/exec/posix/headers/pthread.h8
-rw-r--r--c/src/exec/posix/headers/semaphore.h8
-rw-r--r--c/src/exec/posix/include/rtems/posix/cond.h8
-rw-r--r--c/src/exec/posix/include/rtems/posix/intr.h8
-rw-r--r--c/src/exec/posix/include/rtems/posix/key.h8
-rw-r--r--c/src/exec/posix/include/rtems/posix/mqueue.h10
-rw-r--r--c/src/exec/posix/include/rtems/posix/mutex.h8
-rw-r--r--c/src/exec/posix/include/rtems/posix/priority.h6
-rw-r--r--c/src/exec/posix/include/rtems/posix/pthread.h8
-rw-r--r--c/src/exec/posix/include/rtems/posix/semaphore.h8
-rw-r--r--c/src/exec/posix/inline/cond.inl8
-rw-r--r--c/src/exec/posix/inline/intr.inl8
-rw-r--r--c/src/exec/posix/inline/key.inl8
-rw-r--r--c/src/exec/posix/inline/mqueue.inl10
-rw-r--r--c/src/exec/posix/inline/mutex.inl8
-rw-r--r--c/src/exec/posix/inline/priority.inl6
-rw-r--r--c/src/exec/posix/inline/pthread.inl8
-rw-r--r--c/src/exec/posix/inline/rtems/posix/cond.inl8
-rw-r--r--c/src/exec/posix/inline/rtems/posix/intr.inl8
-rw-r--r--c/src/exec/posix/inline/rtems/posix/key.inl8
-rw-r--r--c/src/exec/posix/inline/rtems/posix/mqueue.inl10
-rw-r--r--c/src/exec/posix/inline/rtems/posix/mutex.inl8
-rw-r--r--c/src/exec/posix/inline/rtems/posix/priority.inl6
-rw-r--r--c/src/exec/posix/inline/rtems/posix/pthread.inl8
-rw-r--r--c/src/exec/posix/inline/rtems/posix/semaphore.inl8
-rw-r--r--c/src/exec/posix/inline/semaphore.inl8
-rw-r--r--c/src/exec/rtems/inline/asr.inl10
-rw-r--r--c/src/exec/rtems/inline/attr.inl16
-rw-r--r--c/src/exec/rtems/inline/dpmem.inl8
-rw-r--r--c/src/exec/rtems/inline/eventset.inl8
-rw-r--r--c/src/exec/rtems/inline/message.inl6
-rw-r--r--c/src/exec/rtems/inline/modes.inl14
-rw-r--r--c/src/exec/rtems/inline/options.inl4
-rw-r--r--c/src/exec/rtems/inline/part.inl18
-rw-r--r--c/src/exec/rtems/inline/ratemon.inl14
-rw-r--r--c/src/exec/rtems/inline/region.inl12
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/asr.inl10
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/attr.inl16
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/dpmem.inl8
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/eventset.inl8
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/message.inl6
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/modes.inl14
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/options.inl4
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/part.inl18
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/ratemon.inl14
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/region.inl12
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/sem.inl8
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/status.inl4
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/support.inl4
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/tasks.inl8
-rw-r--r--c/src/exec/rtems/inline/rtems/rtems/timer.inl14
-rw-r--r--c/src/exec/rtems/inline/sem.inl8
-rw-r--r--c/src/exec/rtems/inline/status.inl4
-rw-r--r--c/src/exec/rtems/inline/support.inl4
-rw-r--r--c/src/exec/rtems/inline/tasks.inl8
-rw-r--r--c/src/exec/rtems/inline/timer.inl14
-rw-r--r--c/src/exec/sapi/inline/extension.inl8
-rw-r--r--c/src/exec/sapi/inline/rtems/extension.inl8
-rw-r--r--c/src/exec/score/headers/system.h8
-rw-r--r--c/src/exec/score/include/rtems/system.h8
-rw-r--r--c/src/exec/score/inline/address.inl10
-rw-r--r--c/src/exec/score/inline/chain.inl38
-rw-r--r--c/src/exec/score/inline/coremsg.inl24
-rw-r--r--c/src/exec/score/inline/coremutex.inl12
-rw-r--r--c/src/exec/score/inline/coresem.inl4
-rw-r--r--c/src/exec/score/inline/heap.inl28
-rw-r--r--c/src/exec/score/inline/isr.inl6
-rw-r--r--c/src/exec/score/inline/mppkt.inl4
-rw-r--r--c/src/exec/score/inline/object.inl24
-rw-r--r--c/src/exec/score/inline/objectmp.inl6
-rw-r--r--c/src/exec/score/inline/priority.inl22
-rw-r--r--c/src/exec/score/inline/rtems/score/address.inl10
-rw-r--r--c/src/exec/score/inline/rtems/score/chain.inl38
-rw-r--r--c/src/exec/score/inline/rtems/score/coremsg.inl24
-rw-r--r--c/src/exec/score/inline/rtems/score/coremutex.inl12
-rw-r--r--c/src/exec/score/inline/rtems/score/coresem.inl4
-rw-r--r--c/src/exec/score/inline/rtems/score/heap.inl28
-rw-r--r--c/src/exec/score/inline/rtems/score/isr.inl6
-rw-r--r--c/src/exec/score/inline/rtems/score/mppkt.inl4
-rw-r--r--c/src/exec/score/inline/rtems/score/object.inl24
-rw-r--r--c/src/exec/score/inline/rtems/score/objectmp.inl6
-rw-r--r--c/src/exec/score/inline/rtems/score/priority.inl22
-rw-r--r--c/src/exec/score/inline/rtems/score/stack.inl6
-rw-r--r--c/src/exec/score/inline/rtems/score/states.inl42
-rw-r--r--c/src/exec/score/inline/rtems/score/sysstate.inl16
-rw-r--r--c/src/exec/score/inline/rtems/score/thread.inl42
-rw-r--r--c/src/exec/score/inline/rtems/score/threadmp.inl4
-rw-r--r--c/src/exec/score/inline/rtems/score/tod.inl8
-rw-r--r--c/src/exec/score/inline/rtems/score/tqdata.inl8
-rw-r--r--c/src/exec/score/inline/rtems/score/userext.inl10
-rw-r--r--c/src/exec/score/inline/rtems/score/watchdog.inl30
-rw-r--r--c/src/exec/score/inline/rtems/score/wkspace.inl4
-rw-r--r--c/src/exec/score/inline/stack.inl6
-rw-r--r--c/src/exec/score/inline/states.inl42
-rw-r--r--c/src/exec/score/inline/sysstate.inl16
-rw-r--r--c/src/exec/score/inline/thread.inl42
-rw-r--r--c/src/exec/score/inline/threadmp.inl4
-rw-r--r--c/src/exec/score/inline/tod.inl8
-rw-r--r--c/src/exec/score/inline/tqdata.inl8
-rw-r--r--c/src/exec/score/inline/userext.inl10
-rw-r--r--c/src/exec/score/inline/watchdog.inl30
-rw-r--r--c/src/exec/score/inline/wkspace.inl4
-rw-r--r--cpukit/posix/include/rtems/posix/cond.h8
-rw-r--r--cpukit/posix/include/rtems/posix/intr.h8
-rw-r--r--cpukit/posix/include/rtems/posix/key.h8
-rw-r--r--cpukit/posix/include/rtems/posix/mqueue.h10
-rw-r--r--cpukit/posix/include/rtems/posix/mutex.h8
-rw-r--r--cpukit/posix/include/rtems/posix/priority.h6
-rw-r--r--cpukit/posix/include/rtems/posix/pthread.h8
-rw-r--r--cpukit/posix/include/rtems/posix/semaphore.h8
-rw-r--r--cpukit/posix/inline/rtems/posix/cond.inl8
-rw-r--r--cpukit/posix/inline/rtems/posix/intr.inl8
-rw-r--r--cpukit/posix/inline/rtems/posix/key.inl8
-rw-r--r--cpukit/posix/inline/rtems/posix/mqueue.inl10
-rw-r--r--cpukit/posix/inline/rtems/posix/mutex.inl8
-rw-r--r--cpukit/posix/inline/rtems/posix/priority.inl6
-rw-r--r--cpukit/posix/inline/rtems/posix/pthread.inl8
-rw-r--r--cpukit/posix/inline/rtems/posix/semaphore.inl8
-rw-r--r--cpukit/rtems/inline/rtems/rtems/asr.inl10
-rw-r--r--cpukit/rtems/inline/rtems/rtems/attr.inl16
-rw-r--r--cpukit/rtems/inline/rtems/rtems/dpmem.inl8
-rw-r--r--cpukit/rtems/inline/rtems/rtems/eventset.inl8
-rw-r--r--cpukit/rtems/inline/rtems/rtems/message.inl6
-rw-r--r--cpukit/rtems/inline/rtems/rtems/modes.inl14
-rw-r--r--cpukit/rtems/inline/rtems/rtems/options.inl4
-rw-r--r--cpukit/rtems/inline/rtems/rtems/part.inl18
-rw-r--r--cpukit/rtems/inline/rtems/rtems/ratemon.inl14
-rw-r--r--cpukit/rtems/inline/rtems/rtems/region.inl12
-rw-r--r--cpukit/rtems/inline/rtems/rtems/sem.inl8
-rw-r--r--cpukit/rtems/inline/rtems/rtems/status.inl4
-rw-r--r--cpukit/rtems/inline/rtems/rtems/support.inl4
-rw-r--r--cpukit/rtems/inline/rtems/rtems/tasks.inl8
-rw-r--r--cpukit/rtems/inline/rtems/rtems/timer.inl14
-rw-r--r--cpukit/sapi/inline/rtems/extension.inl8
-rw-r--r--cpukit/score/include/rtems/system.h8
-rw-r--r--cpukit/score/inline/rtems/score/address.inl10
-rw-r--r--cpukit/score/inline/rtems/score/chain.inl38
-rw-r--r--cpukit/score/inline/rtems/score/coremsg.inl24
-rw-r--r--cpukit/score/inline/rtems/score/coremutex.inl12
-rw-r--r--cpukit/score/inline/rtems/score/coresem.inl4
-rw-r--r--cpukit/score/inline/rtems/score/heap.inl28
-rw-r--r--cpukit/score/inline/rtems/score/isr.inl6
-rw-r--r--cpukit/score/inline/rtems/score/mppkt.inl4
-rw-r--r--cpukit/score/inline/rtems/score/object.inl24
-rw-r--r--cpukit/score/inline/rtems/score/objectmp.inl6
-rw-r--r--cpukit/score/inline/rtems/score/priority.inl22
-rw-r--r--cpukit/score/inline/rtems/score/stack.inl6
-rw-r--r--cpukit/score/inline/rtems/score/states.inl42
-rw-r--r--cpukit/score/inline/rtems/score/sysstate.inl16
-rw-r--r--cpukit/score/inline/rtems/score/thread.inl42
-rw-r--r--cpukit/score/inline/rtems/score/threadmp.inl4
-rw-r--r--cpukit/score/inline/rtems/score/tod.inl8
-rw-r--r--cpukit/score/inline/rtems/score/tqdata.inl8
-rw-r--r--cpukit/score/inline/rtems/score/userext.inl10
-rw-r--r--cpukit/score/inline/rtems/score/watchdog.inl30
-rw-r--r--cpukit/score/inline/rtems/score/wkspace.inl4
162 files changed, 957 insertions, 963 deletions
diff --git a/c/src/exec/posix/headers/cond.h b/c/src/exec/posix/headers/cond.h
index 137871e0dc..5533aff455 100644
--- a/c/src/exec/posix/headers/cond.h
+++ b/c/src/exec/posix/headers/cond.h
@@ -63,7 +63,7 @@ void _POSIX_Condition_variables_Manager_initialization(
* the inactive chain of free condition variable control blocks.
*/
-STATIC INLINE POSIX_Condition_variables_Control *
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *
_POSIX_Condition_variables_Allocate( void );
/*
@@ -75,7 +75,7 @@ STATIC INLINE POSIX_Condition_variables_Control *
* inactive chain of free condition variable control blocks.
*/
-STATIC INLINE void _POSIX_Condition_variables_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free (
POSIX_Condition_variables_Control *the_condition_variable
);
@@ -93,7 +93,7 @@ STATIC INLINE void _POSIX_Condition_variables_Free (
* to OBJECTS_ERROR and the_condition variable is undefined.
*/
-STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
Objects_Id *id,
Objects_Locations *location
);
@@ -107,7 +107,7 @@ STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get
* and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Condition_variables_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null (
POSIX_Condition_variables_Control *the_condition_variable
);
diff --git a/c/src/exec/posix/headers/intr.h b/c/src/exec/posix/headers/intr.h
index 68c336ac0a..f5d0fa2a69 100644
--- a/c/src/exec/posix/headers/intr.h
+++ b/c/src/exec/posix/headers/intr.h
@@ -84,7 +84,7 @@ void _POSIX_Interrupt_Manager_initialization(
* the inactive chain of free interrupt handler control blocks.
*/
-STATIC INLINE POSIX_Interrupt_Handler_control *
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Handler_control *
_POSIX_Interrupt_Allocate( void );
/*
@@ -96,7 +96,7 @@ STATIC INLINE POSIX_Interrupt_Handler_control *
* inactive chain of free interrupt handler control blocks.
*/
-STATIC INLINE void _POSIX_Interrupt_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Interrupt_Free (
POSIX_Interrupt_Handler_control *the_intr
);
@@ -114,7 +114,7 @@ STATIC INLINE void _POSIX_Interrupt_Free (
* to OBJECTS_ERROR and the_intr is undefined.
*/
-STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
Objects_Id id,
Objects_Locations *location
);
@@ -127,7 +127,7 @@ STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
* This function returns TRUE if the_intr is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Interrupt_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Interrupt_Is_null (
POSIX_Interrupt_Handler_control *the_intr
);
diff --git a/c/src/exec/posix/headers/key.h b/c/src/exec/posix/headers/key.h
index b552fec1d2..23091cd714 100644
--- a/c/src/exec/posix/headers/key.h
+++ b/c/src/exec/posix/headers/key.h
@@ -79,7 +79,7 @@ void _POSIX_Keys_Run_destructors(
* the inactive chain of free keys control blocks.
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void );
/*
* _POSIX_Keys_Free
@@ -90,7 +90,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void );
* inactive chain of free keys control blocks.
*/
-STATIC INLINE void _POSIX_Keys_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
POSIX_Keys_Control *the_key
);
@@ -108,7 +108,7 @@ STATIC INLINE void _POSIX_Keys_Free (
* to OBJECTS_ERROR and the_key is undefined.
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get (
Objects_Id id,
Objects_Locations *location
);
@@ -121,7 +121,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
* This function returns TRUE if the_key is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Keys_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null (
POSIX_Keys_Control *the_key
);
diff --git a/c/src/exec/posix/headers/mqueue.h b/c/src/exec/posix/headers/mqueue.h
index 92691ce6dd..8ef53acd65 100644
--- a/c/src/exec/posix/headers/mqueue.h
+++ b/c/src/exec/posix/headers/mqueue.h
@@ -103,7 +103,7 @@ int _POSIX_Message_queue_Send_support(
* the inactive chain of free message queue control blocks.
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void );
/*
* _POSIX_Message_queue_Free
@@ -114,7 +114,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
* inactive chain of free message queue control blocks.
*/
-STATIC INLINE void _POSIX_Message_queue_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free (
POSIX_Message_queue_Control *the_mq
);
@@ -132,7 +132,7 @@ STATIC INLINE void _POSIX_Message_queue_Free (
* to OBJECTS_ERROR and the_mq is undefined.
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
Objects_Id id,
Objects_Locations *location
);
@@ -145,7 +145,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
* This function returns TRUE if the_message_queue is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Message_queue_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null (
POSIX_Message_queue_Control *the_mq
);
@@ -170,7 +170,7 @@ int _POSIX_Message_queue_Name_to_id(
* XXX
*/
-STATIC INLINE Priority_Control _POSIX_Message_queue_Priority_to_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Message_queue_Priority_to_core(
unsigned int priority
);
diff --git a/c/src/exec/posix/headers/mutex.h b/c/src/exec/posix/headers/mutex.h
index 0fb8ed6d5a..6c065ea26c 100644
--- a/c/src/exec/posix/headers/mutex.h
+++ b/c/src/exec/posix/headers/mutex.h
@@ -62,7 +62,7 @@ void _POSIX_Mutex_Manager_initialization(
* the inactive chain of free mutexes control blocks.
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void );
/*
* _POSIX_Mutex_Free
@@ -73,7 +73,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void );
* inactive chain of free mutexes control blocks.
*/
-STATIC INLINE void _POSIX_Mutex_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free (
POSIX_Mutex_Control *the_mutex
);
@@ -91,7 +91,7 @@ STATIC INLINE void _POSIX_Mutex_Free (
* to OBJECTS_ERROR and the_mutex is undefined.
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
Objects_Id *id,
Objects_Locations *location
);
@@ -104,7 +104,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
* This function returns TRUE if the_mutex is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Mutex_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null (
POSIX_Mutex_Control *the_mutex
);
diff --git a/c/src/exec/posix/headers/priority.h b/c/src/exec/posix/headers/priority.h
index 1417c98589..ce925b6d58 100644
--- a/c/src/exec/posix/headers/priority.h
+++ b/c/src/exec/posix/headers/priority.h
@@ -21,15 +21,15 @@
#define POSIX_SCHEDULER_MINIMUM_PRIORITY (1)
-STATIC INLINE boolean _POSIX_Priority_Is_valid(
+RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid(
int priority
);
-STATIC INLINE Priority_Control _POSIX_Priority_To_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(
int priority
);
-STATIC INLINE int _POSIX_Priority_From_core(
+RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core(
Priority_Control priority
);
diff --git a/c/src/exec/posix/headers/pthread.h b/c/src/exec/posix/headers/pthread.h
index 7e6eea2be7..2f1476ac2d 100644
--- a/c/src/exec/posix/headers/pthread.h
+++ b/c/src/exec/posix/headers/pthread.h
@@ -63,7 +63,7 @@ void _POSIX_Threads_Manager_initialization(
* the inactive chain of free pthread control blocks.
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void );
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void );
/*
* _POSIX_Threads_Free
@@ -74,7 +74,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void );
* inactive chain of free pthread control blocks.
*/
-STATIC INLINE void _POSIX_Threads_Free(
+RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free(
Thread_Control *the_pthread
);
@@ -92,7 +92,7 @@ STATIC INLINE void _POSIX_Threads_Free(
* to OBJECTS_ERROR and the_pthread is undefined.
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Get(
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get(
pthread_t id,
Objects_Locations *location
);
@@ -105,7 +105,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Get(
* This function returns TRUE if the_pthread is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Threads_Is_null(
+RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null(
Thread_Control *the_pthread
);
diff --git a/c/src/exec/posix/headers/semaphore.h b/c/src/exec/posix/headers/semaphore.h
index b2334d8f66..59679e0d09 100644
--- a/c/src/exec/posix/headers/semaphore.h
+++ b/c/src/exec/posix/headers/semaphore.h
@@ -64,7 +64,7 @@ void _POSIX_Semaphore_Manager_initialization(
* the inactive chain of free semaphore control blocks.
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void );
/*
* _POSIX_Semaphore_Free
@@ -75,7 +75,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void );
* inactive chain of free semaphore control blocks.
*/
-STATIC INLINE void _POSIX_Semaphore_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free (
POSIX_Semaphore_Control *the_semaphore
);
@@ -93,7 +93,7 @@ STATIC INLINE void _POSIX_Semaphore_Free (
* to OBJECTS_ERROR and the_semaphore is undefined.
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
Objects_Id *id,
Objects_Locations *location
);
@@ -106,7 +106,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
* This function returns TRUE if the_semaphore is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Semaphore_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null (
POSIX_Semaphore_Control *the_semaphore
);
diff --git a/c/src/exec/posix/include/rtems/posix/cond.h b/c/src/exec/posix/include/rtems/posix/cond.h
index 137871e0dc..5533aff455 100644
--- a/c/src/exec/posix/include/rtems/posix/cond.h
+++ b/c/src/exec/posix/include/rtems/posix/cond.h
@@ -63,7 +63,7 @@ void _POSIX_Condition_variables_Manager_initialization(
* the inactive chain of free condition variable control blocks.
*/
-STATIC INLINE POSIX_Condition_variables_Control *
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *
_POSIX_Condition_variables_Allocate( void );
/*
@@ -75,7 +75,7 @@ STATIC INLINE POSIX_Condition_variables_Control *
* inactive chain of free condition variable control blocks.
*/
-STATIC INLINE void _POSIX_Condition_variables_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free (
POSIX_Condition_variables_Control *the_condition_variable
);
@@ -93,7 +93,7 @@ STATIC INLINE void _POSIX_Condition_variables_Free (
* to OBJECTS_ERROR and the_condition variable is undefined.
*/
-STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
Objects_Id *id,
Objects_Locations *location
);
@@ -107,7 +107,7 @@ STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get
* and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Condition_variables_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null (
POSIX_Condition_variables_Control *the_condition_variable
);
diff --git a/c/src/exec/posix/include/rtems/posix/intr.h b/c/src/exec/posix/include/rtems/posix/intr.h
index 68c336ac0a..f5d0fa2a69 100644
--- a/c/src/exec/posix/include/rtems/posix/intr.h
+++ b/c/src/exec/posix/include/rtems/posix/intr.h
@@ -84,7 +84,7 @@ void _POSIX_Interrupt_Manager_initialization(
* the inactive chain of free interrupt handler control blocks.
*/
-STATIC INLINE POSIX_Interrupt_Handler_control *
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Handler_control *
_POSIX_Interrupt_Allocate( void );
/*
@@ -96,7 +96,7 @@ STATIC INLINE POSIX_Interrupt_Handler_control *
* inactive chain of free interrupt handler control blocks.
*/
-STATIC INLINE void _POSIX_Interrupt_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Interrupt_Free (
POSIX_Interrupt_Handler_control *the_intr
);
@@ -114,7 +114,7 @@ STATIC INLINE void _POSIX_Interrupt_Free (
* to OBJECTS_ERROR and the_intr is undefined.
*/
-STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
Objects_Id id,
Objects_Locations *location
);
@@ -127,7 +127,7 @@ STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
* This function returns TRUE if the_intr is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Interrupt_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Interrupt_Is_null (
POSIX_Interrupt_Handler_control *the_intr
);
diff --git a/c/src/exec/posix/include/rtems/posix/key.h b/c/src/exec/posix/include/rtems/posix/key.h
index b552fec1d2..23091cd714 100644
--- a/c/src/exec/posix/include/rtems/posix/key.h
+++ b/c/src/exec/posix/include/rtems/posix/key.h
@@ -79,7 +79,7 @@ void _POSIX_Keys_Run_destructors(
* the inactive chain of free keys control blocks.
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void );
/*
* _POSIX_Keys_Free
@@ -90,7 +90,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void );
* inactive chain of free keys control blocks.
*/
-STATIC INLINE void _POSIX_Keys_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
POSIX_Keys_Control *the_key
);
@@ -108,7 +108,7 @@ STATIC INLINE void _POSIX_Keys_Free (
* to OBJECTS_ERROR and the_key is undefined.
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get (
Objects_Id id,
Objects_Locations *location
);
@@ -121,7 +121,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
* This function returns TRUE if the_key is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Keys_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null (
POSIX_Keys_Control *the_key
);
diff --git a/c/src/exec/posix/include/rtems/posix/mqueue.h b/c/src/exec/posix/include/rtems/posix/mqueue.h
index 92691ce6dd..8ef53acd65 100644
--- a/c/src/exec/posix/include/rtems/posix/mqueue.h
+++ b/c/src/exec/posix/include/rtems/posix/mqueue.h
@@ -103,7 +103,7 @@ int _POSIX_Message_queue_Send_support(
* the inactive chain of free message queue control blocks.
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void );
/*
* _POSIX_Message_queue_Free
@@ -114,7 +114,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
* inactive chain of free message queue control blocks.
*/
-STATIC INLINE void _POSIX_Message_queue_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free (
POSIX_Message_queue_Control *the_mq
);
@@ -132,7 +132,7 @@ STATIC INLINE void _POSIX_Message_queue_Free (
* to OBJECTS_ERROR and the_mq is undefined.
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
Objects_Id id,
Objects_Locations *location
);
@@ -145,7 +145,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
* This function returns TRUE if the_message_queue is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Message_queue_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null (
POSIX_Message_queue_Control *the_mq
);
@@ -170,7 +170,7 @@ int _POSIX_Message_queue_Name_to_id(
* XXX
*/
-STATIC INLINE Priority_Control _POSIX_Message_queue_Priority_to_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Message_queue_Priority_to_core(
unsigned int priority
);
diff --git a/c/src/exec/posix/include/rtems/posix/mutex.h b/c/src/exec/posix/include/rtems/posix/mutex.h
index 0fb8ed6d5a..6c065ea26c 100644
--- a/c/src/exec/posix/include/rtems/posix/mutex.h
+++ b/c/src/exec/posix/include/rtems/posix/mutex.h
@@ -62,7 +62,7 @@ void _POSIX_Mutex_Manager_initialization(
* the inactive chain of free mutexes control blocks.
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void );
/*
* _POSIX_Mutex_Free
@@ -73,7 +73,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void );
* inactive chain of free mutexes control blocks.
*/
-STATIC INLINE void _POSIX_Mutex_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free (
POSIX_Mutex_Control *the_mutex
);
@@ -91,7 +91,7 @@ STATIC INLINE void _POSIX_Mutex_Free (
* to OBJECTS_ERROR and the_mutex is undefined.
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
Objects_Id *id,
Objects_Locations *location
);
@@ -104,7 +104,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
* This function returns TRUE if the_mutex is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Mutex_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null (
POSIX_Mutex_Control *the_mutex
);
diff --git a/c/src/exec/posix/include/rtems/posix/priority.h b/c/src/exec/posix/include/rtems/posix/priority.h
index 1417c98589..ce925b6d58 100644
--- a/c/src/exec/posix/include/rtems/posix/priority.h
+++ b/c/src/exec/posix/include/rtems/posix/priority.h
@@ -21,15 +21,15 @@
#define POSIX_SCHEDULER_MINIMUM_PRIORITY (1)
-STATIC INLINE boolean _POSIX_Priority_Is_valid(
+RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid(
int priority
);
-STATIC INLINE Priority_Control _POSIX_Priority_To_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(
int priority
);
-STATIC INLINE int _POSIX_Priority_From_core(
+RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core(
Priority_Control priority
);
diff --git a/c/src/exec/posix/include/rtems/posix/pthread.h b/c/src/exec/posix/include/rtems/posix/pthread.h
index 7e6eea2be7..2f1476ac2d 100644
--- a/c/src/exec/posix/include/rtems/posix/pthread.h
+++ b/c/src/exec/posix/include/rtems/posix/pthread.h
@@ -63,7 +63,7 @@ void _POSIX_Threads_Manager_initialization(
* the inactive chain of free pthread control blocks.
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void );
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void );
/*
* _POSIX_Threads_Free
@@ -74,7 +74,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void );
* inactive chain of free pthread control blocks.
*/
-STATIC INLINE void _POSIX_Threads_Free(
+RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free(
Thread_Control *the_pthread
);
@@ -92,7 +92,7 @@ STATIC INLINE void _POSIX_Threads_Free(
* to OBJECTS_ERROR and the_pthread is undefined.
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Get(
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get(
pthread_t id,
Objects_Locations *location
);
@@ -105,7 +105,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Get(
* This function returns TRUE if the_pthread is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Threads_Is_null(
+RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null(
Thread_Control *the_pthread
);
diff --git a/c/src/exec/posix/include/rtems/posix/semaphore.h b/c/src/exec/posix/include/rtems/posix/semaphore.h
index b2334d8f66..59679e0d09 100644
--- a/c/src/exec/posix/include/rtems/posix/semaphore.h
+++ b/c/src/exec/posix/include/rtems/posix/semaphore.h
@@ -64,7 +64,7 @@ void _POSIX_Semaphore_Manager_initialization(
* the inactive chain of free semaphore control blocks.
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void );
/*
* _POSIX_Semaphore_Free
@@ -75,7 +75,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void );
* inactive chain of free semaphore control blocks.
*/
-STATIC INLINE void _POSIX_Semaphore_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free (
POSIX_Semaphore_Control *the_semaphore
);
@@ -93,7 +93,7 @@ STATIC INLINE void _POSIX_Semaphore_Free (
* to OBJECTS_ERROR and the_semaphore is undefined.
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
Objects_Id *id,
Objects_Locations *location
);
@@ -106,7 +106,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
* This function returns TRUE if the_semaphore is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Semaphore_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null (
POSIX_Semaphore_Control *the_semaphore
);
diff --git a/c/src/exec/posix/inline/cond.inl b/c/src/exec/posix/inline/cond.inl
index f6d55af7c6..34139e6dc7 100644
--- a/c/src/exec/posix/inline/cond.inl
+++ b/c/src/exec/posix/inline/cond.inl
@@ -22,7 +22,7 @@
* _POSIX_Condition_variables_Allocate
*/
-STATIC INLINE POSIX_Condition_variables_Control
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control
*_POSIX_Condition_variables_Allocate( void )
{
return (POSIX_Condition_variables_Control *)
@@ -34,7 +34,7 @@ STATIC INLINE POSIX_Condition_variables_Control
* _POSIX_Condition_variables_Free
*/
-STATIC INLINE void _POSIX_Condition_variables_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free (
POSIX_Condition_variables_Control *the_condition_variable
)
{
@@ -49,7 +49,7 @@ STATIC INLINE void _POSIX_Condition_variables_Free (
* _POSIX_Condition_variables_Get
*/
-STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
Objects_Id *id,
Objects_Locations *location
)
@@ -64,7 +64,7 @@ STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get
* _POSIX_Condition_variables_Is_null
*/
-STATIC INLINE boolean _POSIX_Condition_variables_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null (
POSIX_Condition_variables_Control *the_condition_variable
)
{
diff --git a/c/src/exec/posix/inline/intr.inl b/c/src/exec/posix/inline/intr.inl
index 56b1c9dd0b..e07c6dee6f 100644
--- a/c/src/exec/posix/inline/intr.inl
+++ b/c/src/exec/posix/inline/intr.inl
@@ -22,7 +22,7 @@
* _POSIX_Interrupt_Allocate
*/
-STATIC INLINE POSIX_Interrupt_Handler_control *
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Handler_control *
_POSIX_Interrupt_Allocate( void )
{
return (POSIX_Interrupt_Handler_control *)
@@ -34,7 +34,7 @@ STATIC INLINE POSIX_Interrupt_Handler_control *
* _POSIX_Interrupt_Free
*/
-STATIC INLINE void _POSIX_Interrupt_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Interrupt_Free (
POSIX_Interrupt_Handler_control *the_intr
)
{
@@ -46,7 +46,7 @@ STATIC INLINE void _POSIX_Interrupt_Free (
* _POSIX_Interrupt_Get
*/
-STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -60,7 +60,7 @@ STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
* _POSIX_Interrupt_Is_null
*/
-STATIC INLINE boolean _POSIX_Interrupt_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Interrupt_Is_null (
POSIX_Interrupt_Handler_control *the_intr
)
{
diff --git a/c/src/exec/posix/inline/key.inl b/c/src/exec/posix/inline/key.inl
index 3b9c1e9e3c..bd373d6ec8 100644
--- a/c/src/exec/posix/inline/key.inl
+++ b/c/src/exec/posix/inline/key.inl
@@ -22,7 +22,7 @@
* _POSIX_Keys_Allocate
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void )
{
return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information );
}
@@ -32,7 +32,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void )
* _POSIX_Keys_Free
*/
-STATIC INLINE void _POSIX_Keys_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
POSIX_Keys_Control *the_key
)
{
@@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Keys_Free (
* _POSIX_Keys_Get
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -58,7 +58,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
* _POSIX_Keys_Is_null
*/
-STATIC INLINE boolean _POSIX_Keys_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null (
POSIX_Keys_Control *the_key
)
{
diff --git a/c/src/exec/posix/inline/mqueue.inl b/c/src/exec/posix/inline/mqueue.inl
index 140a37a6a6..0e68488da6 100644
--- a/c/src/exec/posix/inline/mqueue.inl
+++ b/c/src/exec/posix/inline/mqueue.inl
@@ -22,7 +22,7 @@
* _POSIX_Message_queue_Allocate
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
{
return (POSIX_Message_queue_Control *)
_Objects_Allocate( &_POSIX_Message_queue_Information );
@@ -33,7 +33,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
* _POSIX_Message_queue_Free
*/
-STATIC INLINE void _POSIX_Message_queue_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free (
POSIX_Message_queue_Control *the_mq
)
{
@@ -45,7 +45,7 @@ STATIC INLINE void _POSIX_Message_queue_Free (
* _POSIX_Message_queue_Get
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -59,7 +59,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
* _POSIX_Message_queue_Is_null
*/
-STATIC INLINE boolean _POSIX_Message_queue_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null (
POSIX_Message_queue_Control *the_mq
)
{
@@ -71,7 +71,7 @@ STATIC INLINE boolean _POSIX_Message_queue_Is_null (
* _POSIX_Message_queue_Priority_to_core
*/
-STATIC INLINE Priority_Control _POSIX_Message_queue_Priority_to_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Message_queue_Priority_to_core(
unsigned int priority
)
{
diff --git a/c/src/exec/posix/inline/mutex.inl b/c/src/exec/posix/inline/mutex.inl
index f663eb3c7d..ecbf039a45 100644
--- a/c/src/exec/posix/inline/mutex.inl
+++ b/c/src/exec/posix/inline/mutex.inl
@@ -22,7 +22,7 @@
* _POSIX_Mutex_Allocate
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
{
return (POSIX_Mutex_Control *) _Objects_Allocate( &_POSIX_Mutex_Information );
}
@@ -32,7 +32,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
* _POSIX_Mutex_Free
*/
-STATIC INLINE void _POSIX_Mutex_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free (
POSIX_Mutex_Control *the_mutex
)
{
@@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Mutex_Free (
* _POSIX_Mutex_Get
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
Objects_Id *id,
Objects_Locations *location
)
@@ -76,7 +76,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
* _POSIX_Mutex_Is_null
*/
-STATIC INLINE boolean _POSIX_Mutex_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null (
POSIX_Mutex_Control *the_mutex
)
{
diff --git a/c/src/exec/posix/inline/priority.inl b/c/src/exec/posix/inline/priority.inl
index 7c6e940378..cbe340b35a 100644
--- a/c/src/exec/posix/inline/priority.inl
+++ b/c/src/exec/posix/inline/priority.inl
@@ -13,21 +13,21 @@
* Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API.
*/
-STATIC INLINE boolean _POSIX_Priority_Is_valid(
+RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid(
int priority
)
{
return (boolean) (priority >= 1 && priority <= 255);
}
-STATIC INLINE Priority_Control _POSIX_Priority_To_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(
int priority
)
{
return (Priority_Control) (256 - priority);
}
-STATIC INLINE int _POSIX_Priority_From_core(
+RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core(
Priority_Control priority
)
{
diff --git a/c/src/exec/posix/inline/pthread.inl b/c/src/exec/posix/inline/pthread.inl
index 2c2a2d5d7b..daba647cce 100644
--- a/c/src/exec/posix/inline/pthread.inl
+++ b/c/src/exec/posix/inline/pthread.inl
@@ -22,7 +22,7 @@
* _POSIX_Threads_Allocate
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void )
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )
{
return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
}
@@ -32,7 +32,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void )
* _POSIX_Threads_Free
*/
-STATIC INLINE void _POSIX_Threads_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (
Thread_Control *the_pthread
)
{
@@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Threads_Free (
* _POSIX_Threads_Get
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Get (
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get (
pthread_t id,
Objects_Locations *location
)
@@ -58,7 +58,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Get (
* _POSIX_Threads_Is_null
*/
-STATIC INLINE boolean _POSIX_Threads_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null (
Thread_Control *the_pthread
)
{
diff --git a/c/src/exec/posix/inline/rtems/posix/cond.inl b/c/src/exec/posix/inline/rtems/posix/cond.inl
index f6d55af7c6..34139e6dc7 100644
--- a/c/src/exec/posix/inline/rtems/posix/cond.inl
+++ b/c/src/exec/posix/inline/rtems/posix/cond.inl
@@ -22,7 +22,7 @@
* _POSIX_Condition_variables_Allocate
*/
-STATIC INLINE POSIX_Condition_variables_Control
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control
*_POSIX_Condition_variables_Allocate( void )
{
return (POSIX_Condition_variables_Control *)
@@ -34,7 +34,7 @@ STATIC INLINE POSIX_Condition_variables_Control
* _POSIX_Condition_variables_Free
*/
-STATIC INLINE void _POSIX_Condition_variables_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free (
POSIX_Condition_variables_Control *the_condition_variable
)
{
@@ -49,7 +49,7 @@ STATIC INLINE void _POSIX_Condition_variables_Free (
* _POSIX_Condition_variables_Get
*/
-STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
Objects_Id *id,
Objects_Locations *location
)
@@ -64,7 +64,7 @@ STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get
* _POSIX_Condition_variables_Is_null
*/
-STATIC INLINE boolean _POSIX_Condition_variables_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null (
POSIX_Condition_variables_Control *the_condition_variable
)
{
diff --git a/c/src/exec/posix/inline/rtems/posix/intr.inl b/c/src/exec/posix/inline/rtems/posix/intr.inl
index 56b1c9dd0b..e07c6dee6f 100644
--- a/c/src/exec/posix/inline/rtems/posix/intr.inl
+++ b/c/src/exec/posix/inline/rtems/posix/intr.inl
@@ -22,7 +22,7 @@
* _POSIX_Interrupt_Allocate
*/
-STATIC INLINE POSIX_Interrupt_Handler_control *
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Handler_control *
_POSIX_Interrupt_Allocate( void )
{
return (POSIX_Interrupt_Handler_control *)
@@ -34,7 +34,7 @@ STATIC INLINE POSIX_Interrupt_Handler_control *
* _POSIX_Interrupt_Free
*/
-STATIC INLINE void _POSIX_Interrupt_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Interrupt_Free (
POSIX_Interrupt_Handler_control *the_intr
)
{
@@ -46,7 +46,7 @@ STATIC INLINE void _POSIX_Interrupt_Free (
* _POSIX_Interrupt_Get
*/
-STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -60,7 +60,7 @@ STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
* _POSIX_Interrupt_Is_null
*/
-STATIC INLINE boolean _POSIX_Interrupt_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Interrupt_Is_null (
POSIX_Interrupt_Handler_control *the_intr
)
{
diff --git a/c/src/exec/posix/inline/rtems/posix/key.inl b/c/src/exec/posix/inline/rtems/posix/key.inl
index 3b9c1e9e3c..bd373d6ec8 100644
--- a/c/src/exec/posix/inline/rtems/posix/key.inl
+++ b/c/src/exec/posix/inline/rtems/posix/key.inl
@@ -22,7 +22,7 @@
* _POSIX_Keys_Allocate
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void )
{
return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information );
}
@@ -32,7 +32,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void )
* _POSIX_Keys_Free
*/
-STATIC INLINE void _POSIX_Keys_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
POSIX_Keys_Control *the_key
)
{
@@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Keys_Free (
* _POSIX_Keys_Get
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -58,7 +58,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
* _POSIX_Keys_Is_null
*/
-STATIC INLINE boolean _POSIX_Keys_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null (
POSIX_Keys_Control *the_key
)
{
diff --git a/c/src/exec/posix/inline/rtems/posix/mqueue.inl b/c/src/exec/posix/inline/rtems/posix/mqueue.inl
index 140a37a6a6..0e68488da6 100644
--- a/c/src/exec/posix/inline/rtems/posix/mqueue.inl
+++ b/c/src/exec/posix/inline/rtems/posix/mqueue.inl
@@ -22,7 +22,7 @@
* _POSIX_Message_queue_Allocate
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
{
return (POSIX_Message_queue_Control *)
_Objects_Allocate( &_POSIX_Message_queue_Information );
@@ -33,7 +33,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
* _POSIX_Message_queue_Free
*/
-STATIC INLINE void _POSIX_Message_queue_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free (
POSIX_Message_queue_Control *the_mq
)
{
@@ -45,7 +45,7 @@ STATIC INLINE void _POSIX_Message_queue_Free (
* _POSIX_Message_queue_Get
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -59,7 +59,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
* _POSIX_Message_queue_Is_null
*/
-STATIC INLINE boolean _POSIX_Message_queue_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null (
POSIX_Message_queue_Control *the_mq
)
{
@@ -71,7 +71,7 @@ STATIC INLINE boolean _POSIX_Message_queue_Is_null (
* _POSIX_Message_queue_Priority_to_core
*/
-STATIC INLINE Priority_Control _POSIX_Message_queue_Priority_to_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Message_queue_Priority_to_core(
unsigned int priority
)
{
diff --git a/c/src/exec/posix/inline/rtems/posix/mutex.inl b/c/src/exec/posix/inline/rtems/posix/mutex.inl
index f663eb3c7d..ecbf039a45 100644
--- a/c/src/exec/posix/inline/rtems/posix/mutex.inl
+++ b/c/src/exec/posix/inline/rtems/posix/mutex.inl
@@ -22,7 +22,7 @@
* _POSIX_Mutex_Allocate
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
{
return (POSIX_Mutex_Control *) _Objects_Allocate( &_POSIX_Mutex_Information );
}
@@ -32,7 +32,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
* _POSIX_Mutex_Free
*/
-STATIC INLINE void _POSIX_Mutex_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free (
POSIX_Mutex_Control *the_mutex
)
{
@@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Mutex_Free (
* _POSIX_Mutex_Get
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
Objects_Id *id,
Objects_Locations *location
)
@@ -76,7 +76,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
* _POSIX_Mutex_Is_null
*/
-STATIC INLINE boolean _POSIX_Mutex_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null (
POSIX_Mutex_Control *the_mutex
)
{
diff --git a/c/src/exec/posix/inline/rtems/posix/priority.inl b/c/src/exec/posix/inline/rtems/posix/priority.inl
index 7c6e940378..cbe340b35a 100644
--- a/c/src/exec/posix/inline/rtems/posix/priority.inl
+++ b/c/src/exec/posix/inline/rtems/posix/priority.inl
@@ -13,21 +13,21 @@
* Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API.
*/
-STATIC INLINE boolean _POSIX_Priority_Is_valid(
+RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid(
int priority
)
{
return (boolean) (priority >= 1 && priority <= 255);
}
-STATIC INLINE Priority_Control _POSIX_Priority_To_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(
int priority
)
{
return (Priority_Control) (256 - priority);
}
-STATIC INLINE int _POSIX_Priority_From_core(
+RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core(
Priority_Control priority
)
{
diff --git a/c/src/exec/posix/inline/rtems/posix/pthread.inl b/c/src/exec/posix/inline/rtems/posix/pthread.inl
index 2c2a2d5d7b..daba647cce 100644
--- a/c/src/exec/posix/inline/rtems/posix/pthread.inl
+++ b/c/src/exec/posix/inline/rtems/posix/pthread.inl
@@ -22,7 +22,7 @@
* _POSIX_Threads_Allocate
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void )
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )
{
return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
}
@@ -32,7 +32,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void )
* _POSIX_Threads_Free
*/
-STATIC INLINE void _POSIX_Threads_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (
Thread_Control *the_pthread
)
{
@@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Threads_Free (
* _POSIX_Threads_Get
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Get (
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get (
pthread_t id,
Objects_Locations *location
)
@@ -58,7 +58,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Get (
* _POSIX_Threads_Is_null
*/
-STATIC INLINE boolean _POSIX_Threads_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null (
Thread_Control *the_pthread
)
{
diff --git a/c/src/exec/posix/inline/rtems/posix/semaphore.inl b/c/src/exec/posix/inline/rtems/posix/semaphore.inl
index 33af0bd000..c7e9e5fa44 100644
--- a/c/src/exec/posix/inline/rtems/posix/semaphore.inl
+++ b/c/src/exec/posix/inline/rtems/posix/semaphore.inl
@@ -22,7 +22,7 @@
* _POSIX_Semaphore_Allocate
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
{
return (POSIX_Semaphore_Control *)
_Objects_Allocate( &_POSIX_Semaphore_Information );
@@ -33,7 +33,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
* _POSIX_Semaphore_Free
*/
-STATIC INLINE void _POSIX_Semaphore_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free (
POSIX_Semaphore_Control *the_semaphore
)
{
@@ -45,7 +45,7 @@ STATIC INLINE void _POSIX_Semaphore_Free (
* _POSIX_Semaphore_Get
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
Objects_Id *id,
Objects_Locations *location
)
@@ -59,7 +59,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
* _POSIX_Semaphore_Is_null
*/
-STATIC INLINE boolean _POSIX_Semaphore_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null (
POSIX_Semaphore_Control *the_semaphore
)
{
diff --git a/c/src/exec/posix/inline/semaphore.inl b/c/src/exec/posix/inline/semaphore.inl
index 33af0bd000..c7e9e5fa44 100644
--- a/c/src/exec/posix/inline/semaphore.inl
+++ b/c/src/exec/posix/inline/semaphore.inl
@@ -22,7 +22,7 @@
* _POSIX_Semaphore_Allocate
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
{
return (POSIX_Semaphore_Control *)
_Objects_Allocate( &_POSIX_Semaphore_Information );
@@ -33,7 +33,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
* _POSIX_Semaphore_Free
*/
-STATIC INLINE void _POSIX_Semaphore_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free (
POSIX_Semaphore_Control *the_semaphore
)
{
@@ -45,7 +45,7 @@ STATIC INLINE void _POSIX_Semaphore_Free (
* _POSIX_Semaphore_Get
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
Objects_Id *id,
Objects_Locations *location
)
@@ -59,7 +59,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
* _POSIX_Semaphore_Is_null
*/
-STATIC INLINE boolean _POSIX_Semaphore_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null (
POSIX_Semaphore_Control *the_semaphore
)
{
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
)
{
diff --git a/c/src/exec/sapi/inline/extension.inl b/c/src/exec/sapi/inline/extension.inl
index c7757ff280..9f43f1ad07 100644
--- a/c/src/exec/sapi/inline/extension.inl
+++ b/c/src/exec/sapi/inline/extension.inl
@@ -27,7 +27,7 @@
* the inactive chain of free extension control blocks.
*/
-STATIC INLINE Extension_Control *_Extension_Allocate( void )
+RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Allocate( void )
{
return (Extension_Control *) _Objects_Allocate( &_Extension_Information );
}
@@ -42,7 +42,7 @@ STATIC INLINE Extension_Control *_Extension_Allocate( void )
* inactive chain of free extension control blocks.
*/
-STATIC INLINE void _Extension_Free (
+RTEMS_INLINE_ROUTINE void _Extension_Free (
Extension_Control *the_extension
)
{
@@ -62,7 +62,7 @@ STATIC INLINE void _Extension_Free (
* to OBJECTS_ERROR and the returned value is undefined.
*/
-STATIC INLINE Extension_Control *_Extension_Get (
+RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -80,7 +80,7 @@ STATIC INLINE Extension_Control *_Extension_Get (
* This function returns TRUE if the_extension is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _Extension_Is_null (
+RTEMS_INLINE_ROUTINE boolean _Extension_Is_null (
Extension_Control *the_extension
)
{
diff --git a/c/src/exec/sapi/inline/rtems/extension.inl b/c/src/exec/sapi/inline/rtems/extension.inl
index c7757ff280..9f43f1ad07 100644
--- a/c/src/exec/sapi/inline/rtems/extension.inl
+++ b/c/src/exec/sapi/inline/rtems/extension.inl
@@ -27,7 +27,7 @@
* the inactive chain of free extension control blocks.
*/
-STATIC INLINE Extension_Control *_Extension_Allocate( void )
+RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Allocate( void )
{
return (Extension_Control *) _Objects_Allocate( &_Extension_Information );
}
@@ -42,7 +42,7 @@ STATIC INLINE Extension_Control *_Extension_Allocate( void )
* inactive chain of free extension control blocks.
*/
-STATIC INLINE void _Extension_Free (
+RTEMS_INLINE_ROUTINE void _Extension_Free (
Extension_Control *the_extension
)
{
@@ -62,7 +62,7 @@ STATIC INLINE void _Extension_Free (
* to OBJECTS_ERROR and the returned value is undefined.
*/
-STATIC INLINE Extension_Control *_Extension_Get (
+RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -80,7 +80,7 @@ STATIC INLINE Extension_Control *_Extension_Get (
* This function returns TRUE if the_extension is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _Extension_Is_null (
+RTEMS_INLINE_ROUTINE boolean _Extension_Is_null (
Extension_Control *the_extension
)
{
diff --git a/c/src/exec/score/headers/system.h b/c/src/exec/score/headers/system.h
index 777a722588..74929eade6 100644
--- a/c/src/exec/score/headers/system.h
+++ b/c/src/exec/score/headers/system.h
@@ -81,15 +81,13 @@ extern "C" {
*/
#ifdef USE_INLINES
-# define STATIC static
# ifdef __GNUC__
-# define INLINE __inline__
+# define RTEMS_INLINE_ROUTINE static __inline__
# else
-# define INLINE inline
+# define RTEMS_INLINE_ROUTINE static inline
# endif
#else
-# define STATIC
-# define INLINE
+# define RTEMS_INLINE_ROUTINE
#endif
/*
diff --git a/c/src/exec/score/include/rtems/system.h b/c/src/exec/score/include/rtems/system.h
index 777a722588..74929eade6 100644
--- a/c/src/exec/score/include/rtems/system.h
+++ b/c/src/exec/score/include/rtems/system.h
@@ -81,15 +81,13 @@ extern "C" {
*/
#ifdef USE_INLINES
-# define STATIC static
# ifdef __GNUC__
-# define INLINE __inline__
+# define RTEMS_INLINE_ROUTINE static __inline__
# else
-# define INLINE inline
+# define RTEMS_INLINE_ROUTINE static inline
# endif
#else
-# define STATIC
-# define INLINE
+# define RTEMS_INLINE_ROUTINE
#endif
/*
diff --git a/c/src/exec/score/inline/address.inl b/c/src/exec/score/inline/address.inl
index 343123c981..149b570624 100644
--- a/c/src/exec/score/inline/address.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/chain.inl b/c/src/exec/score/inline/chain.inl
index 7fd3fef934..9283fa4c7e 100644
--- a/c/src/exec/score/inline/chain.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/coremsg.inl b/c/src/exec/score/inline/coremsg.inl
index 84e7250aa7..1467f962c7 100644
--- a/c/src/exec/score/inline/coremsg.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/coremutex.inl b/c/src/exec/score/inline/coremutex.inl
index 537d6f7e5f..21d7a12c05 100644
--- a/c/src/exec/score/inline/coremutex.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/coresem.inl b/c/src/exec/score/inline/coresem.inl
index 6f82318d10..4f3a4e0834 100644
--- a/c/src/exec/score/inline/coresem.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/heap.inl b/c/src/exec/score/inline/heap.inl
index 6b4b1af74e..a02991a39d 100644
--- a/c/src/exec/score/inline/heap.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/isr.inl b/c/src/exec/score/inline/isr.inl
index 2dd41315bc..a944711ff0 100644
--- a/c/src/exec/score/inline/isr.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/mppkt.inl b/c/src/exec/score/inline/mppkt.inl
index c8b6ecd117..f6d4bdb52a 100644
--- a/c/src/exec/score/inline/mppkt.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/object.inl b/c/src/exec/score/inline/object.inl
index 249814bacf..4277eb2f02 100644
--- a/c/src/exec/score/inline/object.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/objectmp.inl b/c/src/exec/score/inline/objectmp.inl
index dda2799643..51ec7ec154 100644
--- a/c/src/exec/score/inline/objectmp.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/priority.inl b/c/src/exec/score/inline/priority.inl
index d65056057b..266903724c 100644
--- a/c/src/exec/score/inline/priority.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/rtems/score/address.inl b/c/src/exec/score/inline/rtems/score/address.inl
index 343123c981..149b570624 100644
--- a/c/src/exec/score/inline/rtems/score/address.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/chain.inl b/c/src/exec/score/inline/rtems/score/chain.inl
index 7fd3fef934..9283fa4c7e 100644
--- a/c/src/exec/score/inline/rtems/score/chain.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/coremsg.inl b/c/src/exec/score/inline/rtems/score/coremsg.inl
index 84e7250aa7..1467f962c7 100644
--- a/c/src/exec/score/inline/rtems/score/coremsg.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/coremutex.inl b/c/src/exec/score/inline/rtems/score/coremutex.inl
index 537d6f7e5f..21d7a12c05 100644
--- a/c/src/exec/score/inline/rtems/score/coremutex.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/coresem.inl b/c/src/exec/score/inline/rtems/score/coresem.inl
index 6f82318d10..4f3a4e0834 100644
--- a/c/src/exec/score/inline/rtems/score/coresem.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/heap.inl b/c/src/exec/score/inline/rtems/score/heap.inl
index 6b4b1af74e..a02991a39d 100644
--- a/c/src/exec/score/inline/rtems/score/heap.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/isr.inl b/c/src/exec/score/inline/rtems/score/isr.inl
index 2dd41315bc..a944711ff0 100644
--- a/c/src/exec/score/inline/rtems/score/isr.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/mppkt.inl b/c/src/exec/score/inline/rtems/score/mppkt.inl
index c8b6ecd117..f6d4bdb52a 100644
--- a/c/src/exec/score/inline/rtems/score/mppkt.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/object.inl b/c/src/exec/score/inline/rtems/score/object.inl
index 249814bacf..4277eb2f02 100644
--- a/c/src/exec/score/inline/rtems/score/object.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/objectmp.inl b/c/src/exec/score/inline/rtems/score/objectmp.inl
index dda2799643..51ec7ec154 100644
--- a/c/src/exec/score/inline/rtems/score/objectmp.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/priority.inl b/c/src/exec/score/inline/rtems/score/priority.inl
index d65056057b..266903724c 100644
--- a/c/src/exec/score/inline/rtems/score/priority.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/stack.inl b/c/src/exec/score/inline/rtems/score/stack.inl
index d29874a7dd..b344ad5cc7 100644
--- a/c/src/exec/score/inline/rtems/score/stack.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/states.inl b/c/src/exec/score/inline/rtems/score/states.inl
index fad8ce727c..555972c19c 100644
--- a/c/src/exec/score/inline/rtems/score/states.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/sysstate.inl b/c/src/exec/score/inline/rtems/score/sysstate.inl
index 08f8b9c513..43a9cea308 100644
--- a/c/src/exec/score/inline/rtems/score/sysstate.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/thread.inl b/c/src/exec/score/inline/rtems/score/thread.inl
index 53d5d41751..573eb5bb35 100644
--- a/c/src/exec/score/inline/rtems/score/thread.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/threadmp.inl b/c/src/exec/score/inline/rtems/score/threadmp.inl
index f16f64e48a..0451baf35e 100644
--- a/c/src/exec/score/inline/rtems/score/threadmp.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/tod.inl b/c/src/exec/score/inline/rtems/score/tod.inl
index 3892dbdb98..17e7f014e8 100644
--- a/c/src/exec/score/inline/rtems/score/tod.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/tqdata.inl b/c/src/exec/score/inline/rtems/score/tqdata.inl
index c7d8630062..901cdcc2ba 100644
--- a/c/src/exec/score/inline/rtems/score/tqdata.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/userext.inl b/c/src/exec/score/inline/rtems/score/userext.inl
index a9a858b2e2..dd08c46b49 100644
--- a/c/src/exec/score/inline/rtems/score/userext.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/watchdog.inl b/c/src/exec/score/inline/rtems/score/watchdog.inl
index 75fb662dfc..5a429c3db0 100644
--- a/c/src/exec/score/inline/rtems/score/watchdog.inl
+++ b/c/src/exec/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/c/src/exec/score/inline/rtems/score/wkspace.inl b/c/src/exec/score/inline/rtems/score/wkspace.inl
index 47174a9c9d..0ba6f72e92 100644
--- a/c/src/exec/score/inline/rtems/score/wkspace.inl
+++ b/c/src/exec/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
)
{
diff --git a/c/src/exec/score/inline/stack.inl b/c/src/exec/score/inline/stack.inl
index d29874a7dd..b344ad5cc7 100644
--- a/c/src/exec/score/inline/stack.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/states.inl b/c/src/exec/score/inline/states.inl
index fad8ce727c..555972c19c 100644
--- a/c/src/exec/score/inline/states.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/sysstate.inl b/c/src/exec/score/inline/sysstate.inl
index 08f8b9c513..43a9cea308 100644
--- a/c/src/exec/score/inline/sysstate.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/thread.inl b/c/src/exec/score/inline/thread.inl
index 53d5d41751..573eb5bb35 100644
--- a/c/src/exec/score/inline/thread.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/threadmp.inl b/c/src/exec/score/inline/threadmp.inl
index f16f64e48a..0451baf35e 100644
--- a/c/src/exec/score/inline/threadmp.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/tod.inl b/c/src/exec/score/inline/tod.inl
index 3892dbdb98..17e7f014e8 100644
--- a/c/src/exec/score/inline/tod.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/tqdata.inl b/c/src/exec/score/inline/tqdata.inl
index c7d8630062..901cdcc2ba 100644
--- a/c/src/exec/score/inline/tqdata.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/userext.inl b/c/src/exec/score/inline/userext.inl
index a9a858b2e2..dd08c46b49 100644
--- a/c/src/exec/score/inline/userext.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/watchdog.inl b/c/src/exec/score/inline/watchdog.inl
index 75fb662dfc..5a429c3db0 100644
--- a/c/src/exec/score/inline/watchdog.inl
+++ b/c/src/exec/score/inline/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/c/src/exec/score/inline/wkspace.inl b/c/src/exec/score/inline/wkspace.inl
index 47174a9c9d..0ba6f72e92 100644
--- a/c/src/exec/score/inline/wkspace.inl
+++ b/c/src/exec/score/inline/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
)
{
diff --git a/cpukit/posix/include/rtems/posix/cond.h b/cpukit/posix/include/rtems/posix/cond.h
index 137871e0dc..5533aff455 100644
--- a/cpukit/posix/include/rtems/posix/cond.h
+++ b/cpukit/posix/include/rtems/posix/cond.h
@@ -63,7 +63,7 @@ void _POSIX_Condition_variables_Manager_initialization(
* the inactive chain of free condition variable control blocks.
*/
-STATIC INLINE POSIX_Condition_variables_Control *
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *
_POSIX_Condition_variables_Allocate( void );
/*
@@ -75,7 +75,7 @@ STATIC INLINE POSIX_Condition_variables_Control *
* inactive chain of free condition variable control blocks.
*/
-STATIC INLINE void _POSIX_Condition_variables_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free (
POSIX_Condition_variables_Control *the_condition_variable
);
@@ -93,7 +93,7 @@ STATIC INLINE void _POSIX_Condition_variables_Free (
* to OBJECTS_ERROR and the_condition variable is undefined.
*/
-STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
Objects_Id *id,
Objects_Locations *location
);
@@ -107,7 +107,7 @@ STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get
* and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Condition_variables_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null (
POSIX_Condition_variables_Control *the_condition_variable
);
diff --git a/cpukit/posix/include/rtems/posix/intr.h b/cpukit/posix/include/rtems/posix/intr.h
index 68c336ac0a..f5d0fa2a69 100644
--- a/cpukit/posix/include/rtems/posix/intr.h
+++ b/cpukit/posix/include/rtems/posix/intr.h
@@ -84,7 +84,7 @@ void _POSIX_Interrupt_Manager_initialization(
* the inactive chain of free interrupt handler control blocks.
*/
-STATIC INLINE POSIX_Interrupt_Handler_control *
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Handler_control *
_POSIX_Interrupt_Allocate( void );
/*
@@ -96,7 +96,7 @@ STATIC INLINE POSIX_Interrupt_Handler_control *
* inactive chain of free interrupt handler control blocks.
*/
-STATIC INLINE void _POSIX_Interrupt_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Interrupt_Free (
POSIX_Interrupt_Handler_control *the_intr
);
@@ -114,7 +114,7 @@ STATIC INLINE void _POSIX_Interrupt_Free (
* to OBJECTS_ERROR and the_intr is undefined.
*/
-STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
Objects_Id id,
Objects_Locations *location
);
@@ -127,7 +127,7 @@ STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
* This function returns TRUE if the_intr is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Interrupt_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Interrupt_Is_null (
POSIX_Interrupt_Handler_control *the_intr
);
diff --git a/cpukit/posix/include/rtems/posix/key.h b/cpukit/posix/include/rtems/posix/key.h
index b552fec1d2..23091cd714 100644
--- a/cpukit/posix/include/rtems/posix/key.h
+++ b/cpukit/posix/include/rtems/posix/key.h
@@ -79,7 +79,7 @@ void _POSIX_Keys_Run_destructors(
* the inactive chain of free keys control blocks.
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void );
/*
* _POSIX_Keys_Free
@@ -90,7 +90,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void );
* inactive chain of free keys control blocks.
*/
-STATIC INLINE void _POSIX_Keys_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
POSIX_Keys_Control *the_key
);
@@ -108,7 +108,7 @@ STATIC INLINE void _POSIX_Keys_Free (
* to OBJECTS_ERROR and the_key is undefined.
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get (
Objects_Id id,
Objects_Locations *location
);
@@ -121,7 +121,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
* This function returns TRUE if the_key is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Keys_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null (
POSIX_Keys_Control *the_key
);
diff --git a/cpukit/posix/include/rtems/posix/mqueue.h b/cpukit/posix/include/rtems/posix/mqueue.h
index 92691ce6dd..8ef53acd65 100644
--- a/cpukit/posix/include/rtems/posix/mqueue.h
+++ b/cpukit/posix/include/rtems/posix/mqueue.h
@@ -103,7 +103,7 @@ int _POSIX_Message_queue_Send_support(
* the inactive chain of free message queue control blocks.
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void );
/*
* _POSIX_Message_queue_Free
@@ -114,7 +114,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
* inactive chain of free message queue control blocks.
*/
-STATIC INLINE void _POSIX_Message_queue_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free (
POSIX_Message_queue_Control *the_mq
);
@@ -132,7 +132,7 @@ STATIC INLINE void _POSIX_Message_queue_Free (
* to OBJECTS_ERROR and the_mq is undefined.
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
Objects_Id id,
Objects_Locations *location
);
@@ -145,7 +145,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
* This function returns TRUE if the_message_queue is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Message_queue_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null (
POSIX_Message_queue_Control *the_mq
);
@@ -170,7 +170,7 @@ int _POSIX_Message_queue_Name_to_id(
* XXX
*/
-STATIC INLINE Priority_Control _POSIX_Message_queue_Priority_to_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Message_queue_Priority_to_core(
unsigned int priority
);
diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h
index 0fb8ed6d5a..6c065ea26c 100644
--- a/cpukit/posix/include/rtems/posix/mutex.h
+++ b/cpukit/posix/include/rtems/posix/mutex.h
@@ -62,7 +62,7 @@ void _POSIX_Mutex_Manager_initialization(
* the inactive chain of free mutexes control blocks.
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void );
/*
* _POSIX_Mutex_Free
@@ -73,7 +73,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void );
* inactive chain of free mutexes control blocks.
*/
-STATIC INLINE void _POSIX_Mutex_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free (
POSIX_Mutex_Control *the_mutex
);
@@ -91,7 +91,7 @@ STATIC INLINE void _POSIX_Mutex_Free (
* to OBJECTS_ERROR and the_mutex is undefined.
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
Objects_Id *id,
Objects_Locations *location
);
@@ -104,7 +104,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
* This function returns TRUE if the_mutex is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Mutex_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null (
POSIX_Mutex_Control *the_mutex
);
diff --git a/cpukit/posix/include/rtems/posix/priority.h b/cpukit/posix/include/rtems/posix/priority.h
index 1417c98589..ce925b6d58 100644
--- a/cpukit/posix/include/rtems/posix/priority.h
+++ b/cpukit/posix/include/rtems/posix/priority.h
@@ -21,15 +21,15 @@
#define POSIX_SCHEDULER_MINIMUM_PRIORITY (1)
-STATIC INLINE boolean _POSIX_Priority_Is_valid(
+RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid(
int priority
);
-STATIC INLINE Priority_Control _POSIX_Priority_To_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(
int priority
);
-STATIC INLINE int _POSIX_Priority_From_core(
+RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core(
Priority_Control priority
);
diff --git a/cpukit/posix/include/rtems/posix/pthread.h b/cpukit/posix/include/rtems/posix/pthread.h
index 7e6eea2be7..2f1476ac2d 100644
--- a/cpukit/posix/include/rtems/posix/pthread.h
+++ b/cpukit/posix/include/rtems/posix/pthread.h
@@ -63,7 +63,7 @@ void _POSIX_Threads_Manager_initialization(
* the inactive chain of free pthread control blocks.
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void );
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void );
/*
* _POSIX_Threads_Free
@@ -74,7 +74,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void );
* inactive chain of free pthread control blocks.
*/
-STATIC INLINE void _POSIX_Threads_Free(
+RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free(
Thread_Control *the_pthread
);
@@ -92,7 +92,7 @@ STATIC INLINE void _POSIX_Threads_Free(
* to OBJECTS_ERROR and the_pthread is undefined.
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Get(
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get(
pthread_t id,
Objects_Locations *location
);
@@ -105,7 +105,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Get(
* This function returns TRUE if the_pthread is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Threads_Is_null(
+RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null(
Thread_Control *the_pthread
);
diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h
index b2334d8f66..59679e0d09 100644
--- a/cpukit/posix/include/rtems/posix/semaphore.h
+++ b/cpukit/posix/include/rtems/posix/semaphore.h
@@ -64,7 +64,7 @@ void _POSIX_Semaphore_Manager_initialization(
* the inactive chain of free semaphore control blocks.
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void );
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void );
/*
* _POSIX_Semaphore_Free
@@ -75,7 +75,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void );
* inactive chain of free semaphore control blocks.
*/
-STATIC INLINE void _POSIX_Semaphore_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free (
POSIX_Semaphore_Control *the_semaphore
);
@@ -93,7 +93,7 @@ STATIC INLINE void _POSIX_Semaphore_Free (
* to OBJECTS_ERROR and the_semaphore is undefined.
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
Objects_Id *id,
Objects_Locations *location
);
@@ -106,7 +106,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
* This function returns TRUE if the_semaphore is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _POSIX_Semaphore_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null (
POSIX_Semaphore_Control *the_semaphore
);
diff --git a/cpukit/posix/inline/rtems/posix/cond.inl b/cpukit/posix/inline/rtems/posix/cond.inl
index f6d55af7c6..34139e6dc7 100644
--- a/cpukit/posix/inline/rtems/posix/cond.inl
+++ b/cpukit/posix/inline/rtems/posix/cond.inl
@@ -22,7 +22,7 @@
* _POSIX_Condition_variables_Allocate
*/
-STATIC INLINE POSIX_Condition_variables_Control
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control
*_POSIX_Condition_variables_Allocate( void )
{
return (POSIX_Condition_variables_Control *)
@@ -34,7 +34,7 @@ STATIC INLINE POSIX_Condition_variables_Control
* _POSIX_Condition_variables_Free
*/
-STATIC INLINE void _POSIX_Condition_variables_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free (
POSIX_Condition_variables_Control *the_condition_variable
)
{
@@ -49,7 +49,7 @@ STATIC INLINE void _POSIX_Condition_variables_Free (
* _POSIX_Condition_variables_Get
*/
-STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
+RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
Objects_Id *id,
Objects_Locations *location
)
@@ -64,7 +64,7 @@ STATIC INLINE POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get
* _POSIX_Condition_variables_Is_null
*/
-STATIC INLINE boolean _POSIX_Condition_variables_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null (
POSIX_Condition_variables_Control *the_condition_variable
)
{
diff --git a/cpukit/posix/inline/rtems/posix/intr.inl b/cpukit/posix/inline/rtems/posix/intr.inl
index 56b1c9dd0b..e07c6dee6f 100644
--- a/cpukit/posix/inline/rtems/posix/intr.inl
+++ b/cpukit/posix/inline/rtems/posix/intr.inl
@@ -22,7 +22,7 @@
* _POSIX_Interrupt_Allocate
*/
-STATIC INLINE POSIX_Interrupt_Handler_control *
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Handler_control *
_POSIX_Interrupt_Allocate( void )
{
return (POSIX_Interrupt_Handler_control *)
@@ -34,7 +34,7 @@ STATIC INLINE POSIX_Interrupt_Handler_control *
* _POSIX_Interrupt_Free
*/
-STATIC INLINE void _POSIX_Interrupt_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Interrupt_Free (
POSIX_Interrupt_Handler_control *the_intr
)
{
@@ -46,7 +46,7 @@ STATIC INLINE void _POSIX_Interrupt_Free (
* _POSIX_Interrupt_Get
*/
-STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
+RTEMS_INLINE_ROUTINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -60,7 +60,7 @@ STATIC INLINE POSIX_Interrupt_Control *_POSIX_Interrupt_Get (
* _POSIX_Interrupt_Is_null
*/
-STATIC INLINE boolean _POSIX_Interrupt_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Interrupt_Is_null (
POSIX_Interrupt_Handler_control *the_intr
)
{
diff --git a/cpukit/posix/inline/rtems/posix/key.inl b/cpukit/posix/inline/rtems/posix/key.inl
index 3b9c1e9e3c..bd373d6ec8 100644
--- a/cpukit/posix/inline/rtems/posix/key.inl
+++ b/cpukit/posix/inline/rtems/posix/key.inl
@@ -22,7 +22,7 @@
* _POSIX_Keys_Allocate
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void )
{
return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information );
}
@@ -32,7 +32,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void )
* _POSIX_Keys_Free
*/
-STATIC INLINE void _POSIX_Keys_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
POSIX_Keys_Control *the_key
)
{
@@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Keys_Free (
* _POSIX_Keys_Get
*/
-STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
+RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -58,7 +58,7 @@ STATIC INLINE POSIX_Keys_Control *_POSIX_Keys_Get (
* _POSIX_Keys_Is_null
*/
-STATIC INLINE boolean _POSIX_Keys_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null (
POSIX_Keys_Control *the_key
)
{
diff --git a/cpukit/posix/inline/rtems/posix/mqueue.inl b/cpukit/posix/inline/rtems/posix/mqueue.inl
index 140a37a6a6..0e68488da6 100644
--- a/cpukit/posix/inline/rtems/posix/mqueue.inl
+++ b/cpukit/posix/inline/rtems/posix/mqueue.inl
@@ -22,7 +22,7 @@
* _POSIX_Message_queue_Allocate
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
{
return (POSIX_Message_queue_Control *)
_Objects_Allocate( &_POSIX_Message_queue_Information );
@@ -33,7 +33,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )
* _POSIX_Message_queue_Free
*/
-STATIC INLINE void _POSIX_Message_queue_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free (
POSIX_Message_queue_Control *the_mq
)
{
@@ -45,7 +45,7 @@ STATIC INLINE void _POSIX_Message_queue_Free (
* _POSIX_Message_queue_Get
*/
-STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
+RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -59,7 +59,7 @@ STATIC INLINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
* _POSIX_Message_queue_Is_null
*/
-STATIC INLINE boolean _POSIX_Message_queue_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null (
POSIX_Message_queue_Control *the_mq
)
{
@@ -71,7 +71,7 @@ STATIC INLINE boolean _POSIX_Message_queue_Is_null (
* _POSIX_Message_queue_Priority_to_core
*/
-STATIC INLINE Priority_Control _POSIX_Message_queue_Priority_to_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Message_queue_Priority_to_core(
unsigned int priority
)
{
diff --git a/cpukit/posix/inline/rtems/posix/mutex.inl b/cpukit/posix/inline/rtems/posix/mutex.inl
index f663eb3c7d..ecbf039a45 100644
--- a/cpukit/posix/inline/rtems/posix/mutex.inl
+++ b/cpukit/posix/inline/rtems/posix/mutex.inl
@@ -22,7 +22,7 @@
* _POSIX_Mutex_Allocate
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
{
return (POSIX_Mutex_Control *) _Objects_Allocate( &_POSIX_Mutex_Information );
}
@@ -32,7 +32,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
* _POSIX_Mutex_Free
*/
-STATIC INLINE void _POSIX_Mutex_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free (
POSIX_Mutex_Control *the_mutex
)
{
@@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Mutex_Free (
* _POSIX_Mutex_Get
*/
-STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
+RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
Objects_Id *id,
Objects_Locations *location
)
@@ -76,7 +76,7 @@ STATIC INLINE POSIX_Mutex_Control *_POSIX_Mutex_Get (
* _POSIX_Mutex_Is_null
*/
-STATIC INLINE boolean _POSIX_Mutex_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null (
POSIX_Mutex_Control *the_mutex
)
{
diff --git a/cpukit/posix/inline/rtems/posix/priority.inl b/cpukit/posix/inline/rtems/posix/priority.inl
index 7c6e940378..cbe340b35a 100644
--- a/cpukit/posix/inline/rtems/posix/priority.inl
+++ b/cpukit/posix/inline/rtems/posix/priority.inl
@@ -13,21 +13,21 @@
* Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API.
*/
-STATIC INLINE boolean _POSIX_Priority_Is_valid(
+RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid(
int priority
)
{
return (boolean) (priority >= 1 && priority <= 255);
}
-STATIC INLINE Priority_Control _POSIX_Priority_To_core(
+RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(
int priority
)
{
return (Priority_Control) (256 - priority);
}
-STATIC INLINE int _POSIX_Priority_From_core(
+RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core(
Priority_Control priority
)
{
diff --git a/cpukit/posix/inline/rtems/posix/pthread.inl b/cpukit/posix/inline/rtems/posix/pthread.inl
index 2c2a2d5d7b..daba647cce 100644
--- a/cpukit/posix/inline/rtems/posix/pthread.inl
+++ b/cpukit/posix/inline/rtems/posix/pthread.inl
@@ -22,7 +22,7 @@
* _POSIX_Threads_Allocate
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void )
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )
{
return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
}
@@ -32,7 +32,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void )
* _POSIX_Threads_Free
*/
-STATIC INLINE void _POSIX_Threads_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (
Thread_Control *the_pthread
)
{
@@ -44,7 +44,7 @@ STATIC INLINE void _POSIX_Threads_Free (
* _POSIX_Threads_Get
*/
-STATIC INLINE Thread_Control *_POSIX_Threads_Get (
+RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get (
pthread_t id,
Objects_Locations *location
)
@@ -58,7 +58,7 @@ STATIC INLINE Thread_Control *_POSIX_Threads_Get (
* _POSIX_Threads_Is_null
*/
-STATIC INLINE boolean _POSIX_Threads_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null (
Thread_Control *the_pthread
)
{
diff --git a/cpukit/posix/inline/rtems/posix/semaphore.inl b/cpukit/posix/inline/rtems/posix/semaphore.inl
index 33af0bd000..c7e9e5fa44 100644
--- a/cpukit/posix/inline/rtems/posix/semaphore.inl
+++ b/cpukit/posix/inline/rtems/posix/semaphore.inl
@@ -22,7 +22,7 @@
* _POSIX_Semaphore_Allocate
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
{
return (POSIX_Semaphore_Control *)
_Objects_Allocate( &_POSIX_Semaphore_Information );
@@ -33,7 +33,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
* _POSIX_Semaphore_Free
*/
-STATIC INLINE void _POSIX_Semaphore_Free (
+RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free (
POSIX_Semaphore_Control *the_semaphore
)
{
@@ -45,7 +45,7 @@ STATIC INLINE void _POSIX_Semaphore_Free (
* _POSIX_Semaphore_Get
*/
-STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
+RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
Objects_Id *id,
Objects_Locations *location
)
@@ -59,7 +59,7 @@ STATIC INLINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
* _POSIX_Semaphore_Is_null
*/
-STATIC INLINE boolean _POSIX_Semaphore_Is_null (
+RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null (
POSIX_Semaphore_Control *the_semaphore
)
{
diff --git a/cpukit/rtems/inline/rtems/rtems/asr.inl b/cpukit/rtems/inline/rtems/rtems/asr.inl
index fc52778875..4a0ac6146b 100644
--- a/cpukit/rtems/inline/rtems/rtems/asr.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/attr.inl b/cpukit/rtems/inline/rtems/rtems/attr.inl
index 53c613382f..06c7e796db 100644
--- a/cpukit/rtems/inline/rtems/rtems/attr.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/dpmem.inl b/cpukit/rtems/inline/rtems/rtems/dpmem.inl
index 4bd13bcd80..8bc76879a0 100644
--- a/cpukit/rtems/inline/rtems/rtems/dpmem.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/eventset.inl b/cpukit/rtems/inline/rtems/rtems/eventset.inl
index ec0789b207..887e2c1ac3 100644
--- a/cpukit/rtems/inline/rtems/rtems/eventset.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/message.inl b/cpukit/rtems/inline/rtems/rtems/message.inl
index c34ad5082a..3db2d3a6c3 100644
--- a/cpukit/rtems/inline/rtems/rtems/message.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/modes.inl b/cpukit/rtems/inline/rtems/rtems/modes.inl
index 803febd49a..7811646910 100644
--- a/cpukit/rtems/inline/rtems/rtems/modes.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/options.inl b/cpukit/rtems/inline/rtems/rtems/options.inl
index 9dba30e895..621f39bf1e 100644
--- a/cpukit/rtems/inline/rtems/rtems/options.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/part.inl b/cpukit/rtems/inline/rtems/rtems/part.inl
index 9088755aa7..b3fcf94038 100644
--- a/cpukit/rtems/inline/rtems/rtems/part.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/ratemon.inl b/cpukit/rtems/inline/rtems/rtems/ratemon.inl
index 0450988329..e47ccf81c8 100644
--- a/cpukit/rtems/inline/rtems/rtems/ratemon.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/region.inl b/cpukit/rtems/inline/rtems/rtems/region.inl
index aae042bed4..2e01385b20 100644
--- a/cpukit/rtems/inline/rtems/rtems/region.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/sem.inl b/cpukit/rtems/inline/rtems/rtems/sem.inl
index c80431f9b1..bed24e4acf 100644
--- a/cpukit/rtems/inline/rtems/rtems/sem.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/status.inl b/cpukit/rtems/inline/rtems/rtems/status.inl
index f85b4c6d0b..a8accfc0d6 100644
--- a/cpukit/rtems/inline/rtems/rtems/status.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/support.inl b/cpukit/rtems/inline/rtems/rtems/support.inl
index 856b24e7f9..df2482c9e8 100644
--- a/cpukit/rtems/inline/rtems/rtems/support.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/tasks.inl b/cpukit/rtems/inline/rtems/rtems/tasks.inl
index 6caa34ea80..ed1f5cd9f0 100644
--- a/cpukit/rtems/inline/rtems/rtems/tasks.inl
+++ b/cpukit/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/cpukit/rtems/inline/rtems/rtems/timer.inl b/cpukit/rtems/inline/rtems/rtems/timer.inl
index dedcdffa36..ce87668ac3 100644
--- a/cpukit/rtems/inline/rtems/rtems/timer.inl
+++ b/cpukit/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/cpukit/sapi/inline/rtems/extension.inl b/cpukit/sapi/inline/rtems/extension.inl
index c7757ff280..9f43f1ad07 100644
--- a/cpukit/sapi/inline/rtems/extension.inl
+++ b/cpukit/sapi/inline/rtems/extension.inl
@@ -27,7 +27,7 @@
* the inactive chain of free extension control blocks.
*/
-STATIC INLINE Extension_Control *_Extension_Allocate( void )
+RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Allocate( void )
{
return (Extension_Control *) _Objects_Allocate( &_Extension_Information );
}
@@ -42,7 +42,7 @@ STATIC INLINE Extension_Control *_Extension_Allocate( void )
* inactive chain of free extension control blocks.
*/
-STATIC INLINE void _Extension_Free (
+RTEMS_INLINE_ROUTINE void _Extension_Free (
Extension_Control *the_extension
)
{
@@ -62,7 +62,7 @@ STATIC INLINE void _Extension_Free (
* to OBJECTS_ERROR and the returned value is undefined.
*/
-STATIC INLINE Extension_Control *_Extension_Get (
+RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Get (
Objects_Id id,
Objects_Locations *location
)
@@ -80,7 +80,7 @@ STATIC INLINE Extension_Control *_Extension_Get (
* This function returns TRUE if the_extension is NULL and FALSE otherwise.
*/
-STATIC INLINE boolean _Extension_Is_null (
+RTEMS_INLINE_ROUTINE boolean _Extension_Is_null (
Extension_Control *the_extension
)
{
diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h
index 777a722588..74929eade6 100644
--- a/cpukit/score/include/rtems/system.h
+++ b/cpukit/score/include/rtems/system.h
@@ -81,15 +81,13 @@ extern "C" {
*/
#ifdef USE_INLINES
-# define STATIC static
# ifdef __GNUC__
-# define INLINE __inline__
+# define RTEMS_INLINE_ROUTINE static __inline__
# else
-# define INLINE inline
+# define RTEMS_INLINE_ROUTINE static inline
# endif
#else
-# define STATIC
-# define INLINE
+# define RTEMS_INLINE_ROUTINE
#endif
/*
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
)
{