diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 3a4365675d..2e68a596e0 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2010-04-30 Sebastian Huber + + * sapi/inline/rtems/chain.inl: Added missing functions. + 2010-04-30 Sebastian Huber * posix/src/alarm.c, posix/src/psignal.c, posix/src/ualarm.c: diff --git a/cpukit/sapi/inline/rtems/chain.inl b/cpukit/sapi/inline/rtems/chain.inl index 2a97b23124..ead6db5776 100644 --- a/cpukit/sapi/inline/rtems/chain.inl +++ b/cpukit/sapi/inline/rtems/chain.inl @@ -384,6 +384,16 @@ RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get( return _Chain_Get( the_chain ); } +/** + * @brief See _Chain_Get_unprotected(). + */ +RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get_unprotected( + rtems_chain_control *the_chain +) +{ + return _Chain_Get_unprotected( the_chain ); +} + /** * @brief Insert a node on a chain * @@ -401,6 +411,17 @@ RTEMS_INLINE_ROUTINE void rtems_chain_insert( _Chain_Insert( after_node, the_node ); } +/** + * @brief See _Chain_Insert_unprotected(). + */ +RTEMS_INLINE_ROUTINE void rtems_chain_insert_unprotected( + rtems_chain_node *after_node, + rtems_chain_node *the_node +) +{ + _Chain_Insert_unprotected( after_node, the_node ); +} + /** * @brief Append a node on the end of a chain *