[RTEMS Project] #2348: Timecounter: Add NTP support
RTEMS trac
trac at rtems.org
Mon Nov 15 08:19:27 UTC 2021
#2348: Timecounter: Add NTP support
-----------------------------+-------------------------
Reporter: Sebastian Huber | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Indefinite
Component: score | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
-----------------------------+-------------------------
Comment (by Sebastian Huber):
Replying to [comment:11 GabrielMoyano]:
> Replying to [comment:10 Sebastian Huber]:
> > I updated the timecounter update branch to include support for an NTP
update second handler:
> >
> > https://git.rtems.org/sebh/rtems.git/log/?h=timecounter-2021
> >
> >
https://git.rtems.org/sebh/rtems.git/commit/?h=timecounter-2021&id=817437b6dda00764f368b2da9eeab67ec284a3bd
>
> This looks nice, thx.
> Now, I guess that one option is to call
_Timecounter_Set_NTP_update_second() just before starting ptpd
>
> > I wait for some feedback on the FreeBSD mailing list before I send the
patch set for review.
>
> ok
I checked in the patch set. The kern_tc.c is now fully synchronized with
the latest FreeBSD version. You can now install an NTP update second
handler via `_Timecounter_Set_NTP_update_second()` from `#include
<rtems/score/timecounter.h>`.
--
Ticket URL: <http://devel.rtems.org/ticket/2348#comment:14>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list