Changeset f718e79 in rtems


Ignore:
Timestamp:
Jun 11, 2015, 7:56:18 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
aa2a62c
Parents:
46ae1d7a
Message:

Revert "timecounter: No _Timecounter_Tick_simple() for SMP"

This reverts commit 46ae1d7a2b49b8f973dd6ba44fbbd38383798524.

The _Timecounter_Tick_simple() function actually doesn't switch to the
next timehand, so it is all right to use the simple timecounter approach
even on SMP configurations. The use of simple timecounters is not
recommended however since they impose a performance penalty.

File:
1 edited

Legend:

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

    r46ae1d7a rf718e79  
    19631963}
    19641964#ifdef __rtems__
    1965 #ifndef RTEMS_SMP
    1966 /*
    1967  * This function is a hack to support legacy clock drivers and hardware.  It
    1968  * makes no sense on SMP configurations since here ten timehands are active.
    1969  */
    19701965void
    19711966_Timecounter_Tick_simple(uint32_t delta, uint32_t offset)
     
    20072002        _Watchdog_Tick();
    20082003}
    2009 #endif /* RTEMS_SMP */
    20102004#endif /* __rtems__ */
    20112005
Note: See TracChangeset for help on using the changeset viewer.