summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/atomic.h
diff options
context:
space:
mode:
authorWeiY <wei.a.yang@gmail.com>2013-08-05 02:21:04 +0800
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-06 11:02:56 +0200
commit3d68be18547edf46633cdb78af0bbc66097050a8 (patch)
tree7457693e3704441213f70398bc50e63f0176eceb /cpukit/score/include/rtems/score/atomic.h
parentarm: Fix ISR level context initialization (diff)
downloadrtems-3d68be18547edf46633cdb78af0bbc66097050a8.tar.bz2
correct comments about atomic api
Diffstat (limited to 'cpukit/score/include/rtems/score/atomic.h')
-rw-r--r--cpukit/score/include/rtems/score/atomic.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/include/rtems/score/atomic.h b/cpukit/score/include/rtems/score/atomic.h
index 80b9ea7302..d94ac928b0 100644
--- a/cpukit/score/include/rtems/score/atomic.h
+++ b/cpukit/score/include/rtems/score/atomic.h
@@ -89,7 +89,7 @@ RTEMS_INLINE_ROUTINE void _Atomic_Store_ptr(
* @param value a value to be add and store into object.
* @param order a type of Atomic_Order.
*
- * @retval a result value after add ops.
+ * @retval a result value before add ops.
*/
RTEMS_INLINE_ROUTINE uint_fast32_t _Atomic_Fetch_add_uint(
volatile Atomic_Uint *object,
@@ -116,7 +116,7 @@ RTEMS_INLINE_ROUTINE uintptr_t _Atomic_Fetch_add_ptr(
* @param value a value to be sub and store into object.
* @param order a type of Atomic_Order.
*
- * @retval a result value after sub ops.
+ * @retval a result value before sub ops.
*/
RTEMS_INLINE_ROUTINE uint_fast32_t _Atomic_Fetch_sub_uint(
volatile Atomic_Uint *object,
@@ -143,7 +143,7 @@ RTEMS_INLINE_ROUTINE uintptr_t _Atomic_Fetch_sub_ptr(
* @param value a value to be or and store into object.
* @param order a type of Atomic_Order.
*
- * @retval a result value after or ops.
+ * @retval a result value before or ops.
*/
RTEMS_INLINE_ROUTINE uint_fast32_t _Atomic_Fetch_or_uint(
volatile Atomic_Uint *object,
@@ -170,7 +170,7 @@ RTEMS_INLINE_ROUTINE uintptr_t _Atomic_Fetch_or_ptr(
* @param value a value to be and and store into object.
* @param order a type of Atomic_Order.
*
- * @retval a result value after and ops.
+ * @retval a result value before and ops.
*/
RTEMS_INLINE_ROUTINE uint_fast32_t _Atomic_Fetch_and_uint(
volatile Atomic_Uint *object,
@@ -197,7 +197,7 @@ RTEMS_INLINE_ROUTINE uintptr_t _Atomic_Fetch_and_ptr(
* @param value a value to exchange and and store into object.
* @param order a type of Atomic_Order.
*
- * @retval a result value after exchange ops.
+ * @retval a result value before exchange ops.
*/
RTEMS_INLINE_ROUTINE uint_fast32_t _Atomic_Exchange_uint(
volatile Atomic_Uint *object,