[PATCH v4 00/11] ENABLE PPS in RTEMS6
Gabriel Moyano
gabriel.moyano at dlr.de
Fri May 20 09:29:52 UTC 2022
This is the 4th version of the patches for enabling the PPS API in RTEMS6.
Gabriel Moyano (11):
kern_ntptime.c: Disable freebsd features
kern_ntptime.c: Add lmax() qmin() definitions
kern_tc.c: Add atomic dependencies required by the PPS API
kern_tc.c: Replace FreeBSD event mechanism by adding pointers to
function
timecounter.h: Rename tc_getfrequency() to
_Timecounter_Get_frequency()
kern_tc.c: Add definitions required by PPS API
kern_tc.c: Enable PPS API support
kern_ntptime.c: Add define in order to remove warning
timepps.h: PPS_SYNC defined by default
timecounter.h: Add _Timecounter_Discipline()
testsuites/sptests: Add sppps01 test
cpukit/include/rtems/score/timecounter.h | 25 +++
cpukit/include/sys/timepps.h | 35 ++++
cpukit/include/sys/timetc.h | 3 +
cpukit/score/src/kern_ntptime.c | 19 +--
cpukit/score/src/kern_tc.c | 57 ++++++-
spec/build/testsuites/sptests/grp.yml | 2 +
spec/build/testsuites/sptests/sppps01.yml | 19 +++
testsuites/sptests/spntp01/init.c | 2 +-
testsuites/sptests/sppps01/init.c | 191 ++++++++++++++++++++++
9 files changed, 337 insertions(+), 16 deletions(-)
create mode 100644 spec/build/testsuites/sptests/sppps01.yml
create mode 100644 testsuites/sptests/sppps01/init.c
--
2.25.1
More information about the devel
mailing list