Changeset e1b7c188 in rtems


Ignore:
Timestamp:
Nov 8, 2018, 10:07:57 AM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
5fc855d
Parents:
b7af3e44
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 10:07:57)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:40)
Message:

rtems: Move internal structures to timerdata.h

Update #3598.

Location:
cpukit
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/headers.am

    rb7af3e44 re1b7c188  
    279279include_rtems_rtems_HEADERS += include/rtems/rtems/tasksimpl.h
    280280include_rtems_rtems_HEADERS += include/rtems/rtems/timer.h
     281include_rtems_rtems_HEADERS += include/rtems/rtems/timerdata.h
    281282include_rtems_rtems_HEADERS += include/rtems/rtems/timerimpl.h
    282283include_rtems_rtems_HEADERS += include/rtems/rtems/types.h
  • cpukit/include/rtems/confdefs.h

    rb7af3e44 re1b7c188  
    4141#include <rtems/rtems/semdata.h>
    4242#include <rtems/rtems/tasksdata.h>
     43#include <rtems/rtems/timerdata.h>
    4344#include <rtems/posix/key.h>
    4445#include <rtems/posix/mqueue.h>
  • cpukit/include/rtems/rtems/timer.h

    rb7af3e44 re1b7c188  
    11/**
    2  * @file rtems/rtems/timer.h
    3  *
    4  * @defgroup ClassicTimer Timers
    5  *
    6  * @ingroup ClassicRTEMS
    7  * @brief Instantiate RTEMS Timer Data
    8  *
    9  * This include file contains all the constants, structures, and
    10  * prototypes associated with the Timer Manager. This manager provides
    11  * facilities to configure, initiate, cancel, and delete timers which will
    12  * fire at specified intervals of time.
    13  *
    14  * Directives provided are:
    15  *
    16  * - create a timer
    17  * - get an ID of a timer
    18  * - delete a timer
    19  * - set timer to fire in context of clock tick
    20  * - after a number of ticks have passed
    21  * - when a specified date and time has been reached
    22  * - initiate the timer server task
    23  * - set timer to fire in context of the timer server task
    24  * - after a number of ticks have passed
    25  * - when a specified date and time has been reached
    26  * - reset a timer
    27  * - cancel a time
     2 * @file
     3 *
     4 * @ingroup ClassicTimer
     5 *
     6 * @brief Classic Timer Manager API
    287 */
    298
     
    124103                 void *
    125104             );
    126 
    127 /**
    128  *  The following records define the control block used to manage
    129  *  each timer.
    130  */
    131 typedef struct {
    132   /** This field is the object management portion of a Timer instance. */
    133   Objects_Control  Object;
    134   /** This field is the Watchdog instance which will be the scheduled. */
    135   Watchdog_Control Ticker;
    136   /** This field indicates what type of timer this currently is. */
    137   Timer_Classes    the_class;
    138   /** This field is the timer service routine. */
    139   rtems_timer_service_routine_entry routine;
    140   /** This field is the timer service routine user data. */
    141   void *user_data;
    142   /** This field is the timer interval in ticks or seconds. */
    143   Watchdog_Interval initial;
    144   /** This field is the timer start time point in ticks. */
    145   Watchdog_Interval start_time;
    146   /** This field is the timer stop time point in ticks. */
    147   Watchdog_Interval stop_time;
    148 }   Timer_Control;
    149105
    150106/**
  • cpukit/include/rtems/rtems/timerimpl.h

    rb7af3e44 re1b7c188  
    2121#define _RTEMS_RTEMS_TIMER_INL
    2222
    23 #include <rtems/rtems/timer.h>
     23#include <rtems/rtems/timerdata.h>
    2424#include <rtems/score/objectimpl.h>
    2525#include <rtems/score/thread.h>
Note: See TracChangeset for help on using the changeset viewer.