From 58a70b76350022234cd1ce5f3124a00687dda25e Mon Sep 17 00:00:00 2001 From: WeiY Date: Tue, 27 Aug 2013 15:14:04 +0200 Subject: score: Simplify Add proper license and copyright. --- cpukit/score/cpu/arm/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/avr/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/bfin/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/h8300/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/i386/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/lm32/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/m32c/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/m32r/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/m68k/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/mips/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/moxie/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/nios2/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/powerpc/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/sh/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/sparc/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/sparc64/rtems/score/cpuatomic.h | 36 ++++-------------------- cpukit/score/cpu/v850/rtems/score/cpuatomic.h | 36 ++++-------------------- 17 files changed, 102 insertions(+), 510 deletions(-) (limited to 'cpukit/score') diff --git a/cpukit/score/cpu/arm/rtems/score/cpuatomic.h b/cpukit/score/cpu/arm/rtems/score/cpuatomic.h index 77b9a81580..30012456b2 100644 --- a/cpukit/score/cpu/arm/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/arm/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for arm and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/avr/rtems/score/cpuatomic.h b/cpukit/score/cpu/avr/rtems/score/cpuatomic.h index f35cdb8e82..30012456b2 100644 --- a/cpukit/score/cpu/avr/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/avr/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for avr and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/bfin/rtems/score/cpuatomic.h b/cpukit/score/cpu/bfin/rtems/score/cpuatomic.h index e293458b26..30012456b2 100644 --- a/cpukit/score/cpu/bfin/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/bfin/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for bfin and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h b/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h index 760bbb4a4d..30012456b2 100644 --- a/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for h8300 and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/i386/rtems/score/cpuatomic.h b/cpukit/score/cpu/i386/rtems/score/cpuatomic.h index 1656a8f49b..30012456b2 100644 --- a/cpukit/score/cpu/i386/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/i386/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for i386 and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/lm32/rtems/score/cpuatomic.h b/cpukit/score/cpu/lm32/rtems/score/cpuatomic.h index 5886f4ed1e..30012456b2 100644 --- a/cpukit/score/cpu/lm32/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/lm32/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for lm32 and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/m32c/rtems/score/cpuatomic.h b/cpukit/score/cpu/m32c/rtems/score/cpuatomic.h index 6264b902df..30012456b2 100644 --- a/cpukit/score/cpu/m32c/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/m32c/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for m32c and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/m32r/rtems/score/cpuatomic.h b/cpukit/score/cpu/m32r/rtems/score/cpuatomic.h index 58b1e5608c..30012456b2 100644 --- a/cpukit/score/cpu/m32r/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/m32r/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for m32r and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/m68k/rtems/score/cpuatomic.h b/cpukit/score/cpu/m68k/rtems/score/cpuatomic.h index 92fc4db30c..30012456b2 100644 --- a/cpukit/score/cpu/m68k/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/m68k/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for m68k and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/mips/rtems/score/cpuatomic.h b/cpukit/score/cpu/mips/rtems/score/cpuatomic.h index 8f2c8bd920..30012456b2 100644 --- a/cpukit/score/cpu/mips/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/mips/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for mips and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/moxie/rtems/score/cpuatomic.h b/cpukit/score/cpu/moxie/rtems/score/cpuatomic.h index 23d0b09ff2..30012456b2 100644 --- a/cpukit/score/cpu/moxie/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/moxie/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for moxie and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/nios2/rtems/score/cpuatomic.h b/cpukit/score/cpu/nios2/rtems/score/cpuatomic.h index 354a70db83..30012456b2 100644 --- a/cpukit/score/cpu/nios2/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/nios2/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for nios2 and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpuatomic.h b/cpukit/score/cpu/powerpc/rtems/score/cpuatomic.h index 7588586c0d..30012456b2 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/powerpc/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for powerpc and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/sh/rtems/score/cpuatomic.h b/cpukit/score/cpu/sh/rtems/score/cpuatomic.h index 635406bc0d..30012456b2 100644 --- a/cpukit/score/cpu/sh/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/sh/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for sh and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/sparc/rtems/score/cpuatomic.h b/cpukit/score/cpu/sparc/rtems/score/cpuatomic.h index 001032022b..30012456b2 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for sparc and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpuatomic.h b/cpukit/score/cpu/sparc64/rtems/score/cpuatomic.h index c74d75c261..30012456b2 100644 --- a/cpukit/score/cpu/sparc64/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/sparc64/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for sparc64 and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ diff --git a/cpukit/score/cpu/v850/rtems/score/cpuatomic.h b/cpukit/score/cpu/v850/rtems/score/cpuatomic.h index 514321935a..30012456b2 100644 --- a/cpukit/score/cpu/v850/rtems/score/cpuatomic.h +++ b/cpukit/score/cpu/v850/rtems/score/cpuatomic.h @@ -1,38 +1,14 @@ -/** - * @file rtems/score/cpuatomic.h +/* + * COPYRIGHT (c) 2012-2013 Deng Hengyi. * - * This include file implements the atomic operations for v850 and defines - * atomic data types which are used by the atomic operations API file. This - * file should use fixed name cpuatomic.h and should be included in atomic - * operations API file atomic.h. If the architecture works at the UP mode it - * will not define atomic ops. If the architecture works at SMP mode, most of - * the parts of implementations are based on stdatomic.h. + * 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_SCORE_ATOMIC_CPU_H #define _RTEMS_SCORE_ATOMIC_CPU_H -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup RTEMS atomic implementation - * - */ - -/**@{*/ - -#if !defined(RTEMS_SMP) -# error "Now atomic implementation only supports SMP mode." -#else #include -#endif - -#ifdef __cplusplus -} -#endif -/**@}*/ -#endif -/* end of include file */ +#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */ -- cgit v1.2.3