summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/barriermp.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-25 09:10:38 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-26 11:55:46 +0200
commit7f04cb18ff2a7eddb2621de443bd7eadb9606a91 (patch)
tree9d899a3499241ee1fda3e0746a6655aeaf94cbc1 /cpukit/rtems/include/rtems/rtems/barriermp.h
parentrtems: Create signal implementation header (diff)
downloadrtems-7f04cb18ff2a7eddb2621de443bd7eadb9606a91.tar.bz2
score: Create mpci implementation header
Move implementation specific parts of mpci.h into new header file mpciimpl.h. The mpci.h contains now only the application visible API.
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/barriermp.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/barriermp.h25
1 files changed, 10 insertions, 15 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/barriermp.h b/cpukit/rtems/include/rtems/rtems/barriermp.h
index d2a203b162..c497140716 100644
--- a/cpukit/rtems/include/rtems/rtems/barriermp.h
+++ b/cpukit/rtems/include/rtems/rtems/barriermp.h
@@ -15,8 +15,14 @@
* http://www.rtems.com/license/LICENSE.
*/
-#ifndef _RTEMS_RTEMS_SEMMP_H
-#define _RTEMS_RTEMS_SEMMP_H
+#ifndef _RTEMS_RTEMS_BARRIERMP_H
+#define _RTEMS_RTEMS_BARRIERMP_H
+
+#include <rtems/score/mpciimpl.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
/**
* @defgroup ClassicBarrierMP Barrier MP Support
@@ -27,17 +33,6 @@
*/
/**@{*/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rtems/score/mppkt.h>
-#include <rtems/score/object.h>
-#include <rtems/rtems/options.h>
-#include <rtems/rtems/barrier.h>
-#include <rtems/score/thread.h>
-#include <rtems/score/watchdog.h>
-
/**
* The following enumerated type defines the list of
* remote barrier operations.
@@ -141,11 +136,11 @@ void _Barrier_MP_Send_extract_proxy (
*/
Barrier_MP_Packet *_Barrier_MP_Get_packet ( void );
+/**@}*/
+
#ifdef __cplusplus
}
#endif
-/**@}*/
-
#endif
/* end of file */