mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-21 04:14:26 +08:00
switched from "STATIC INLINE" to "RTEMS_INLINE_ROUTINE"
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user