[PATCH 0/2] Add NTP support

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Feb 8 15:16:20 UTC 2022


This is a draft patch set which imports the FreeBSD NTP support and ports it to
RTEMS.  The PPS synchronization support is disabled.

Sebastian Huber (2):
  kern_ntptime.c: Import form FreeBSD
  kern_ntptime.c: Port to RTEMS

 cpukit/include/rtems/score/timecounter.h  |    9 +
 cpukit/include/sys/timex.h                |    4 +-
 cpukit/posix/src/adjtime.c                |   93 --
 cpukit/score/src/kern_ntptime.c           | 1191 +++++++++++++++++++++
 cpukit/score/src/kern_tc.c                |    6 +-
 spec/build/cpukit/librtemscpu.yml         |    2 +-
 spec/build/testsuites/sptests/grp.yml     |    2 +
 spec/build/testsuites/sptests/spntp01.yml |   19 +
 testsuites/psxtests/psxtime/test.c        |   10 +-
 testsuites/sptests/spntp01/init.c         |  111 ++
 10 files changed, 1342 insertions(+), 105 deletions(-)
 delete mode 100644 cpukit/posix/src/adjtime.c
 create mode 100644 cpukit/score/src/kern_ntptime.c
 create mode 100644 spec/build/testsuites/sptests/spntp01.yml
 create mode 100644 testsuites/sptests/spntp01/init.c

-- 
2.26.2



More information about the devel mailing list