* sapi/inline/rtems/chain.inl: Added missing functions.
This commit is contained in:
Sebastian Huber
2010-04-30 08:39:15 +00:00
parent 1da7812f05
commit 57b5d149ed
2 changed files with 25 additions and 0 deletions
+4
View File
@@ -1,3 +1,7 @@
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/inline/rtems/chain.inl: Added missing functions.
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* posix/src/alarm.c, posix/src/psignal.c, posix/src/ualarm.c:
+21
View File
@@ -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
*