summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/barrier.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 10:12:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-12 13:25:39 +0100
commit395a49e199882f0461233465a5db56ab06d0cb28 (patch)
tree838e602ad28e12acfe8b6729e1753edace1d82ee /cpukit/include/rtems/rtems/barrier.h
parentrtems: Remove Modes_Control (diff)
downloadrtems-395a49e199882f0461233465a5db56ab06d0cb28.tar.bz2
rtems: Move internal structures to barrierdata.h
Update #3598.
Diffstat (limited to 'cpukit/include/rtems/rtems/barrier.h')
-rw-r--r--cpukit/include/rtems/rtems/barrier.h36
1 files changed, 5 insertions, 31 deletions
diff --git a/cpukit/include/rtems/rtems/barrier.h b/cpukit/include/rtems/rtems/barrier.h
index 2eea90fa41..7422f78931 100644
--- a/cpukit/include/rtems/rtems/barrier.h
+++ b/cpukit/include/rtems/rtems/barrier.h
@@ -1,21 +1,9 @@
/**
- * @file rtems/rtems/barrier.h
+ * @file
*
- * @defgroup ClassicBarrier Barriers
- *
- * @ingroup ClassicRTEMS
- * @brief Classic API Barrier Manager
+ * @ingroup ClassicBarrier
*
- * This include file contains all the constants and structures associated
- * with the Barrier Manager.
- *
- * Directives provided are:
- *
- * - create a barrier
- * - get an ID of a barrier
- * - delete a barrier
- * - wait for a barrier
- * - signal a barrier
+ * @brief Classic Barrier Manager API
*/
/* COPYRIGHT (c) 1989-2008.
@@ -29,11 +17,9 @@
#ifndef _RTEMS_RTEMS_BARRIER_H
#define _RTEMS_RTEMS_BARRIER_H
-#include <rtems/rtems/types.h>
-#include <rtems/rtems/status.h>
#include <rtems/rtems/attr.h>
-#include <rtems/score/object.h>
-#include <rtems/score/corebarrier.h>
+#include <rtems/rtems/status.h>
+#include <rtems/rtems/types.h>
#ifdef __cplusplus
extern "C" {
@@ -50,18 +36,6 @@ extern "C" {
/**@{*/
/**
- * This type defines the control block used to manage each barrier.
- */
-typedef struct {
- /** This is used to manage a barrier as an object. */
- Objects_Control Object;
- /** This is used to implement the barrier. */
- CORE_barrier_Control Barrier;
- /** This is used to specify the attributes of a barrier. */
- rtems_attribute attribute_set;
-} Barrier_Control;
-
-/**
* @brief RTEMS Create Barrier
*
* Barrier Manager -- Create a Barrier Instance