Changeset 18657d1 in rtems for cpukit/score/src/coretodget.c


Ignore:
Timestamp:
Dec 16, 2010, 2:50:12 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
4e21c9a
Parents:
861ff1e
Message:

2010-12-16 Sebastian Huber <sebastian.huber@…>

  • score/src/watchdognanoseconds.c: New file.
  • score/Makefile.am: Reflect change above.
  • score/include/rtems/score/watchdog.h, score/src/coretodget.c, score/src/coretodgetuptime.c: Do not allow NULL as nanoseconds since last tick handler pointer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/coretodget.c

    r861ff1e r18657d1  
    4646
    4747  /* _TOD_Now is the native current time */
    48   nanoseconds = 0;
    4948  _ISR_Disable( level );
    5049    now = _TOD_Now;
    51     if ( _Watchdog_Nanoseconds_since_tick_handler )
    52       nanoseconds = (*_Watchdog_Nanoseconds_since_tick_handler)();
     50    nanoseconds = (*_Watchdog_Nanoseconds_since_tick_handler)();
    5351  _ISR_Enable( level );
    5452
Note: See TracChangeset for help on using the changeset viewer.