RTEMS: cpukit/include/rtems/rtems/barrierdata.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
barrierdata.h
Go to the documentation of this file.
1
10/* COPYRIGHT (c) 1989-2008.
11 * On-Line Applications Research Corporation (OAR).
12 *
13 * The license and distribution terms for this file may be
14 * found in the file LICENSE in this distribution or at
15 * http://www.rtems.org/license/LICENSE.
16 */
17
18#ifndef _RTEMS_RTEMS_BARRIERDATA_H
19#define _RTEMS_RTEMS_BARRIERDATA_H
20
21#include <rtems/rtems/barrier.h>
22#include <rtems/score/objectdata.h>
23#include <rtems/score/corebarrier.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
38 typedef struct {
40 Objects_Control Object;
42 CORE_barrier_Control Barrier;
44 rtems_attribute attribute_set;
45} Barrier_Control;
46
50extern Objects_Information _Barrier_Information;
51
61#define BARRIER_INFORMATION_DEFINE( max ) \
62 OBJECTS_INFORMATION_DEFINE( \
63 _Barrier, \
64 OBJECTS_CLASSIC_API, \
65 OBJECTS_RTEMS_BARRIERS, \
66 Barrier_Control, \
67 max, \
68 OBJECTS_NO_STRING_NAME, \
69 NULL \
70 )
71
74#ifdef __cplusplus
75}
76#endif
77
78#endif
79/* end of include file */
barrier.h
Classic Barrier Manager API.
corebarrier.h
Constants and Structures Associated with the Barrier Handler.
rtems_attribute
uint32_t rtems_attribute
Definition: attr.h:41
_Barrier_Information
Objects_Information _Barrier_Information
The Classic Barrier objects information.
objectdata.h
Object Handler Data Structures.
Barrier_Control
Definition: barrierdata.h:38
Barrier_Control::attribute_set
rtems_attribute attribute_set
Definition: barrierdata.h:44
Barrier_Control::Barrier
CORE_barrier_Control Barrier
Definition: barrierdata.h:42
Barrier_Control::Object
Objects_Control Object
Definition: barrierdata.h:40
CORE_barrier_Control
Definition: corebarrier.h:75
Objects_Control
Definition: objectdata.h:39
Objects_Information
The information structure used to manage each API class of objects.
Definition: objectdata.h:176