From 57b5d149ed0375e67e640e45a3cee7b8f1cccd49 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 30 Apr 2010 08:39:15 +0000 Subject: 2010-04-30 Sebastian Huber * sapi/inline/rtems/chain.inl: Added missing functions. --- cpukit/sapi/inline/rtems/chain.inl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'cpukit/sapi/inline/rtems') 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 * -- cgit v1.2.3