This patch set synchronizes kern_tc.c with the latest FreeBSD version. Some changes were discussed on a FreeBSD mailing list. Two patches were integrated in FreeBSD which help using the timecounters in RTEMS.
One patch adds a callback registration for NTP support. Andrew Turner (1): Create a new macro for static DPCPU data. Brooks Davis (1): Move most of the contents of opt_compat.h Ed Maste (1): Remove "All Rights Reserved" from Konstantin Belousov (7): Use atomic_load(9) to read ppsinfo sequence numbers. Make timehands count selectable at boottime. Initialize timehands linkage much earlier. Consolidate read code for timecounters Remove double-calls to tc_get_timecount() Add ddb 'show timecounter' command. Make kern.timecounter.hardware tunable Mark Johnston (3): timecounter: Let kern.timecounter.stepwarnings be set as a tunable timecounter: Lock the timecounter list timecounter: Load the currently selected tc once in tc_windup() Mateusz Guzik (2): tc: bcopy -> memcpy Remove duplicated empty lines from kern/*.c Olivier Houchard (1): Instead of using an incomplete list of platforms Pawel Biernacki (1): Mark more nodes as CTLFLAG_MPSAFE Pedro F. Giffuni (1): SPDX: use the Beerware identifier. Robert Watson (1): Changes that improve DTrace FBT reliability Sebastian Huber (6): score: Remove FreeBSD identifier kern_tc.c: Scaling/large delta recalculation score: Initialize timehand generation to UINT_MAX score: Port large time delta support to RTEMS score: Optimize timehand updates for non-SMP score: Add _Timecounter_Set_NTP_update_second() Warner Losh (1): kern: clarify boot time cpukit/include/rtems/score/timecounter.h | 24 +- cpukit/score/src/kern_tc.c | 677 ++++++++++++++-------- testsuites/sptests/sptimecounter01/init.c | 4 +- 3 files changed, 449 insertions(+), 256 deletions(-) -- 2.31.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel