> On 29/04/2022 09:20, Gabriel Moyano wrote: > > --- > > cpukit/include/sys/timepps.h | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/cpukit/include/sys/timepps.h > > b/cpukit/include/sys/timepps.h index b13ac6bf26..25370f3f4b 100644 > > --- a/cpukit/include/sys/timepps.h > > +++ b/cpukit/include/sys/timepps.h > > @@ -28,6 +28,7 @@ > > #include <rtems/score/atomic.h> > > #include <rtems/rtems/types.h> > > #define PPS_SYNC > > +#define hardpps _PPS_Discipline_cpu_clock > > #endif /* __rtems__ */ > > > > #define PPS_API_VERS_1 1 > > This function needs Doxygen documentation somewhere. What is the "cpu_clock"? > I would place it into the _Timecounter > namespace. > I was wondering if it makes sense to place it into _Timecounter. There is a very good description where hardpps() is defined, would you like to copy it? Just for clarification, the name "cpu_clock" comes from that documentation. _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
- Re: AW: [PATCH v2 05/12] kern_tc.c: Replace F... Sebastian Huber
- [PATCH v2 07/12] kern_tc.c: Add definitions required by PP... Gabriel Moyano
- Re: [PATCH v2 07/12] kern_tc.c: Add definitions requi... Sebastian Huber
- [PATCH v2 06/12] timecounter.h: Rename tc_getfrequency() t... Gabriel Moyano
- Re: [PATCH v2 06/12] timecounter.h: Rename tc_getfreq... Sebastian Huber
- [PATCH v2 08/12] kern_tc.c: Enable PPS API support Gabriel Moyano
- [PATCH v2 09/12] kern_ntptime: Add define in order to remo... Gabriel Moyano
- [PATCH v2 10/12] timepps.h: PPS_SYNC defined by default Gabriel Moyano
- [PATCH v2 11/12] timepps.h: Move hardpps to the _ namespac... Gabriel Moyano
- Re: [PATCH v2 11/12] timepps.h: Move hardpps to the _... Sebastian Huber
- AW: [PATCH v2 11/12] timepps.h: Move hardpps to t... Gabriel.Moyano
- Re: AW: [PATCH v2 11/12] timepps.h: Move hard... Sebastian Huber
- [PATCH v2 12/12] testsuites/sptests: Add sppps01 test Gabriel Moyano
- Re: [PATCH v2 12/12] testsuites/sptests: Add sppps01 ... Sebastian Huber
- AW: [PATCH v2 12/12] testsuites/sptests: Add sppp... Gabriel.Moyano