With these commits, NTP support is given. This is required to run PTPd and for enabling the PPS API (I'm working on that). Basically, the file kern_ntptime.c is ported from freebsd-org to freebsd.
Some of the changes come from some work-in-progress files for getting running PTPd on RTEMS, which were shared by Chris Johns some time ago (that's why he appears as author of those commits). Once the changes are accepted, I'll prepare the corresponding patches for 6-freebsd-12. Chris Johns (2): kern_ntptime: Import from freebsd-org kern_ntptime: Port to rtems Moyano, Gabriel (2): kern_ntptime: Add syscall ntp_adjtime for rtems kern_ntptime: sys_ntp_adjtime() does not return error when modes is 0 or MOD_TAI freebsd/sys/kern/kern_ntptime.c | 1117 +++++++++++++++++++++++++++++++ libbsd.py | 1 + 2 files changed, 1118 insertions(+) create mode 100644 freebsd/sys/kern/kern_ntptime.c -- 2.17.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel