Changeset ccc6695 in rtems for cpukit


Ignore:
Timestamp:
Nov 8, 2018, 10:50:24 AM (8 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
9763245
Parents:
98c01a5
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 10:50:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:41)
Message:

score: Introduce <rtems/score/watchdogticks.h>

Separate the definitions related to watchdog ticks from the watchdog
structures.

Update #3598.

Location:
cpukit
Files:
1 added
10 edited

Legend:

Unmodified
Added
Removed
  • cpukit/headers.am

    r98c01a5 rccc6695  
    396396include_rtems_score_HEADERS += include/rtems/score/watchdog.h
    397397include_rtems_score_HEADERS += include/rtems/score/watchdogimpl.h
     398include_rtems_score_HEADERS += include/rtems/score/watchdogticks.h
    398399include_rtems_score_HEADERS += include/rtems/score/wkspace.h
    399400include_rtems_trace_HEADERS += include/rtems/trace/rtems-trace-buffer-vars.h
  • cpukit/include/rtems/config.h

    r98c01a5 rccc6695  
    3030#include <rtems/score/object.h>
    3131#include <rtems/score/isr.h>
    32 #include <rtems/score/watchdog.h>
     32#include <rtems/score/watchdogticks.h>
    3333#include <rtems/rtems/config.h>
    3434#include <rtems/posix/config.h>
  • cpukit/include/rtems/rtems/clock.h

    r98c01a5 rccc6695  
    3030#define _RTEMS_RTEMS_CLOCK_H
    3131
    32 #include <rtems/score/watchdog.h>
    3332#include <rtems/rtems/status.h>
    3433#include <rtems/rtems/types.h>
  • cpukit/include/rtems/rtems/ratemon.h

    r98c01a5 rccc6695  
    3636#include <rtems/rtems/types.h>
    3737#include <rtems/rtems/status.h>
    38 #include <rtems/score/watchdog.h>
    3938
    4039struct rtems_printer;
  • cpukit/include/rtems/rtems/types.h

    r98c01a5 rccc6695  
    2929#include <rtems/score/object.h>
    3030#include <rtems/score/priority.h>
    31 #include <rtems/score/watchdog.h>
     31#include <rtems/score/watchdogticks.h>
    3232#include <rtems/rtems/modes.h>
    3333#if defined(RTEMS_MULTIPROCESSING)
  • cpukit/include/rtems/score/mppkt.h

    r98c01a5 rccc6695  
    2525#include <rtems/score/object.h>
    2626#include <rtems/score/priority.h>
    27 #include <rtems/score/watchdog.h>
     27#include <rtems/score/watchdogticks.h>
    2828
    2929#ifdef __cplusplus
  • cpukit/include/rtems/score/threadq.h

    r98c01a5 rccc6695  
    2626#include <rtems/score/rbtree.h>
    2727#include <rtems/score/states.h>
    28 #include <rtems/score/watchdog.h>
     28#include <rtems/score/watchdogticks.h>
    2929
    3030#ifdef __cplusplus
    3131extern "C" {
    3232#endif
     33
     34struct Per_CPU_Control;
    3335
    3436struct Scheduler_Node;
  • cpukit/include/rtems/score/watchdog.h

    r98c01a5 rccc6695  
    11/**
    2  *  @file  rtems/score/watchdog.h
     2 *  @file
     3 *
     4 *  @ingroup ScoreWatchdog
    35 *
    46 *  @brief Constants and Structures Associated with Watchdog Timers
     
    4547
    4648typedef struct Watchdog_Control Watchdog_Control;
    47 
    48 /**
    49  *  @brief Type is used to specify the length of intervals.
    50  *
    51  *  This type is used to specify the length of intervals.
    52  */
    53 typedef uint32_t   Watchdog_Interval;
    54 
    55 /**
    56  * @brief Special watchdog ticks value to indicate an infinite wait.
    57  */
    58 #define WATCHDOG_NO_TIMEOUT 0
    5949
    6050/**
     
    125115};
    126116
    127 /**
    128  * @brief The watchdog ticks counter.
    129  *
    130  * With a 1ms watchdog tick, this counter overflows after 50 days since boot.
    131  */
    132 extern volatile Watchdog_Interval _Watchdog_Ticks_since_boot;
    133 
    134 /**
    135  * @brief The watchdog nanoseconds per tick.
    136  *
    137  * This constant is defined by the application configuration via
    138  * <rtems/confdefs.h>.
    139  */
    140 extern const uint32_t _Watchdog_Nanoseconds_per_tick;
    141 
    142 /**
    143  * @brief The watchdog ticks per second.
    144  *
    145  * This constant is defined by the application configuration via
    146  * <rtems/confdefs.h>.
    147  */
    148 extern const uint32_t _Watchdog_Ticks_per_second;
    149 
    150117/**@}*/
    151118
  • cpukit/include/rtems/score/watchdogimpl.h

    r98c01a5 rccc6695  
    2121
    2222#include <rtems/score/watchdog.h>
     23#include <rtems/score/watchdogticks.h>
    2324#include <rtems/score/assert.h>
    2425#include <rtems/score/isrlock.h>
  • cpukit/score/src/watchdogtickssinceboot.c

    r98c01a5 rccc6695  
    1919#endif
    2020
    21 #include <rtems/score/watchdog.h>
     21#include <rtems/score/watchdogticks.h>
    2222
    2323/*
Note: See TracChangeset for help on using the changeset viewer.