diff options
author | WeiY <wei.a.yang@gmail.com> | 2013-01-25 23:55:25 +0800 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2013-02-07 17:02:12 -0500 |
commit | 2f0a09361280027221c2bb11492443e1917fbb1f (patch) | |
tree | ab1524ee34e66b9d94d8c8bba373dd7cbce5fcc0 /cpukit/rtems | |
parent | score: atomic support for RTEMS automake and autoconf changes (diff) | |
download | rtems-2f0a09361280027221c2bb11492443e1917fbb1f.tar.bz2 |
score: atomic support for RTEMS. Generic atomic operations API definition.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/atomic.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/atomic.h b/cpukit/rtems/include/rtems/rtems/atomic.h new file mode 100644 index 0000000000..0686d606ad --- /dev/null +++ b/cpukit/rtems/include/rtems/rtems/atomic.h @@ -0,0 +1,35 @@ +/** + * @file rtems/rtems/atomic.h + * + * This include file provides the application interface + * to atomic operations. + * + * The low-level layer of the atomic interface is hidden from the application + * and exists between the BSP and RTEMS. + */ + +/* COPYRIGHT (c) 1989-2011. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifndef _RTEMS_RTEMS_ATOMIC_H +#define _RTEMS_RTEMS_ATOMIC_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include <rtems/score/atomic.h> + +/**@}*/ + +#ifdef __cplusplus +} +#endif + +#endif +/* end of include file */ |