Changeset 3a4e044 in rtems


Ignore:
Timestamp:
Dec 22, 2017, 9:35:47 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
9480815a
Parents:
89c0313
git-author:
Sebastian Huber <sebastian.huber@…> (12/22/17 09:35:47)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/02/18 14:01:20)
Message:

score: Rename _Watchdog_Realtime_from_*()

Rename _Watchdog_Realtime_from_*() to _Watchdog_Ticks_from_*().

Update #3264.

Location:
cpukit
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/score/watchdogimpl.h

    r89c0313 r3a4e044  
    393393}
    394394
    395 RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Realtime_from_seconds(
     395RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_seconds(
    396396  uint32_t seconds
    397397)
     
    404404}
    405405
    406 RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Realtime_from_timespec(
     406RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_timespec(
    407407  const struct timespec *ts
    408408)
     
    421421}
    422422
    423 RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Realtime_from_sbintime(
     423RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_sbintime(
    424424  sbintime_t sbt
    425425)
  • cpukit/rtems/src/taskwakewhen.c

    r89c0313 r3a4e044  
    5757      cpu_self,
    5858      _Thread_Timeout,
    59       _Watchdog_Realtime_from_seconds( seconds )
     59      _Watchdog_Ticks_from_seconds( seconds )
    6060    );
    6161  _Thread_Dispatch_enable( cpu_self );
  • cpukit/rtems/src/timercreate.c

    r89c0313 r3a4e044  
    8181        &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_REALTIME ],
    8282        &the_timer->Ticker,
    83         _Watchdog_Realtime_from_seconds( interval )
     83        _Watchdog_Ticks_from_seconds( interval )
    8484      );
    8585    }
  • cpukit/score/src/coretodset.c

    r89c0313 r3a4e044  
    3838  _Timecounter_Set_clock( &tod_as_bintime, lock_context );
    3939
    40   tod_as_ticks = _Watchdog_Realtime_from_timespec( tod );
     40  tod_as_ticks = _Watchdog_Ticks_from_timespec( tod );
    4141  cpu_count = _SMP_Get_processor_count();
    4242
  • cpukit/score/src/threadqtimeout.c

    r89c0313 r3a4e044  
    120120      expire = WATCHDOG_MAXIMUM_TICKS;
    121121    } else {
    122       expire = _Watchdog_Realtime_from_timespec( abstime );
     122      expire = _Watchdog_Ticks_from_timespec( abstime );
    123123    }
    124124
    125125    _Timecounter_Getnanotime( &now );
    126126
    127     if ( expire > _Watchdog_Realtime_from_timespec( &now ) ) {
     127    if ( expire > _Watchdog_Ticks_from_timespec( &now ) ) {
    128128      ISR_lock_Context lock_context;
    129129
  • cpukit/score/src/watchdogtick.c

    r89c0313 r3a4e044  
    9292      header,
    9393      first,
    94       _Watchdog_Realtime_from_timespec( &now ),
     94      _Watchdog_Ticks_from_timespec( &now ),
    9595      &cpu->Watchdog.Lock,
    9696      &lock_context
Note: See TracChangeset for help on using the changeset viewer.