AW: [PATCH v3 00/11] ENABLE PPS API in RTEMS6

Gabriel.Moyano at dlr.de Gabriel.Moyano at dlr.de
Wed May 11 11:53:51 UTC 2022


> This is the 3rd version of the patches for enabling the PPS API in RTEMS6.
> It contains the changes suggested by Sebastian from yesterday (03/05/2022).
> 
> 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              |  32 ++++
>  cpukit/include/sys/timetc.h               |   3 +
>  cpukit/score/src/kern_ntptime.c           |  19 +--
>  cpukit/score/src/kern_tc.c                |  54 ++++++-
>  spec/build/testsuites/sptests/grp.yml     |   2 +
>  spec/build/testsuites/sptests/sppps01.yml |  19 +++
>  testsuites/sptests/sppps01/init.c         | 173 ++++++++++++++++++++++
>  8 files changed, 312 insertions(+), 15 deletions(-)  create mode 100644 spec/build/testsuites/sptests/sppps01.yml
>  create mode 100644 testsuites/sptests/sppps01/init.c

Is there any feedback for improvement? Or are these commits ready to be pushed?


More information about the devel mailing list