[RTEMS Project] #2348: Timecounter: Add NTP support
RTEMS trac
trac at rtems.org
Wed Oct 27 00:47:23 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 Chris Johns):
There needs to be an interface in the `score` to provide access to
`ntp_update_second()`. The call may not be present in the kernel sources,
it will mostly likely be provided by an application or an external library
such as `libbsd.a`.
I suggest a file is added to the `score` that contains
`ntp_update_second()` and that function checks a function pointer and if
set the function is called. This brings `kern_tc.c` closer to upstream
FreeBSD sources.
While on the topic of `kern_tc.c` and being as close to FB as we can, I
think the RTEMS doxygen comments should be removed. We should maintain a
common policy for imported sources like this.
--
Ticket URL: <http://devel.rtems.org/ticket/2348#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list