summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/inline
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-04-30 08:39:15 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-04-30 08:39:15 +0000
commit57b5d149ed0375e67e640e45a3cee7b8f1cccd49 (patch)
tree1a08b056edbd49e8953835b501c77fdaa5c07aa0 /cpukit/sapi/inline
parent2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-57b5d149ed0375e67e640e45a3cee7b8f1cccd49.tar.bz2
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/inline/rtems/chain.inl: Added missing functions.
Diffstat (limited to 'cpukit/sapi/inline')
-rw-r--r--cpukit/sapi/inline/rtems/chain.inl21
1 files changed, 21 insertions, 0 deletions
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
@@ -385,6 +385,16 @@ RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(
}
/**
+ * @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
*
* This routine inserts @a the_node on a chain immediately following
@@ -402,6 +412,17 @@ RTEMS_INLINE_ROUTINE void rtems_chain_insert(
}
/**
+ * @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
*
* This routine appends @a the_node onto the end of @a the_chain.