Changeset 395a49e1 in rtems for cpukit


Ignore:
Timestamp:
Nov 8, 2018, 9:12:21 AM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
72a4a42
Parents:
bdd4eb8
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 09:12:21)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:39)
Message:

rtems: Move internal structures to barrierdata.h

Update #3598.

Location:
cpukit
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/headers.am

    rbdd4eb8 r395a49e1  
    229229include_rtems_rtems_HEADERS += include/rtems/rtems/attrimpl.h
    230230include_rtems_rtems_HEADERS += include/rtems/rtems/barrier.h
     231include_rtems_rtems_HEADERS += include/rtems/rtems/barrierdata.h
    231232include_rtems_rtems_HEADERS += include/rtems/rtems/barrierimpl.h
    232233include_rtems_rtems_HEADERS += include/rtems/rtems/cache.h
  • cpukit/include/rtems/confdefs.h

    rbdd4eb8 r395a49e1  
    3333#include <rtems/score/userextimpl.h>
    3434#include <rtems/score/wkspace.h>
     35#include <rtems/rtems/barrierdata.h>
    3536#include <rtems/rtems/ratemondata.h>
    3637#include <rtems/posix/key.h>
  • cpukit/include/rtems/rtems/barrier.h

    rbdd4eb8 r395a49e1  
    11/**
    2  * @file rtems/rtems/barrier.h
     2 * @file
    33 *
    4  * @defgroup ClassicBarrier Barriers
     4 * @ingroup ClassicBarrier
    55 *
    6  * @ingroup ClassicRTEMS
    7  * @brief Classic API Barrier Manager
    8  *
    9  * This include file contains all the constants and structures associated
    10  * with the Barrier Manager.
    11  *
    12  * Directives provided are:
    13  *
    14  * - create a barrier
    15  * - get an ID of a barrier
    16  * - delete a barrier
    17  * - wait for a barrier
    18  * - signal a barrier
     6 * @brief Classic Barrier Manager API
    197 */
    208
     
    3018#define _RTEMS_RTEMS_BARRIER_H
    3119
     20#include <rtems/rtems/attr.h>
     21#include <rtems/rtems/status.h>
    3222#include <rtems/rtems/types.h>
    33 #include <rtems/rtems/status.h>
    34 #include <rtems/rtems/attr.h>
    35 #include <rtems/score/object.h>
    36 #include <rtems/score/corebarrier.h>
    3723
    3824#ifdef __cplusplus
     
    4935 */
    5036/**@{*/
    51 
    52 /**
    53  *  This type defines the control block used to manage each barrier.
    54  */
    55 typedef struct {
    56   /** This is used to manage a barrier as an object. */
    57   Objects_Control          Object;
    58   /** This is used to implement the barrier. */
    59   CORE_barrier_Control     Barrier;
    60   /** This is used to specify the attributes of a barrier. */
    61   rtems_attribute          attribute_set;
    62 }   Barrier_Control;
    6337
    6438/**
  • cpukit/include/rtems/rtems/barrierimpl.h

    rbdd4eb8 r395a49e1  
    11/**
    2  * @file rtems/rtems/barrier.inl
     2 * @file
    33 *
    4  * @defgroup ClassicBarrier Barriers
     4 * @ingroup ClassicBarrierImpl
    55 *
    6  * @ingroup ClassicRTEMS
    7  * @brief Inline Implementation from Barrier Manager
    8  *
    9  * This file contains the static inlin implementation of the inlined
    10  * routines from the Barrier Manager.
     6 * @brief Classic Barrier Manager Implementation
    117 */
    128
     
    2319#define _RTEMS_RTEMS_BARRIERIMPL_H
    2420
    25 #include <rtems/rtems/barrier.h>
     21#include <rtems/rtems/barrierdata.h>
    2622#include <rtems/score/corebarrierimpl.h>
    2723#include <rtems/score/objectimpl.h>
Note: See TracChangeset for help on using the changeset viewer.