Changeset 3246b0f8 in rtems for cpukit/score/src/coretodget.c


Ignore:
Timestamp:
Jun 13, 2012, 9:29:53 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
c34bb0d
Parents:
50fc8f6
git-author:
Sebastian Huber <sebastian.huber@…> (06/13/12 09:29:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/14/12 12:20:30)
Message:

score: New structure TOD_Control

Group the global TOD variables (_TOD_Now, _TOD_Uptime, and _TOD_Is_set)
in a structure to reduce address loads in _TOD_Tickle_ticks().

File:
1 edited

Legend:

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

    r50fc8f6 r3246b0f8  
    3232  /* assume time checked for NULL by caller */
    3333
    34   /* _TOD_Now is the native current time */
     34  /* _TOD.now is the native current time */
    3535  _ISR_Disable( level );
    36     now = _TOD_Now;
     36    now = _TOD.now;
    3737    nanoseconds = (*_Watchdog_Nanoseconds_since_tick_handler)();
    3838  _ISR_Enable( level );
Note: See TracChangeset for help on using the changeset viewer.