[PATCH v2 01/12] kern_ntptime.c: Disable freebsd features

2022-04-29 Thread Gabriel Moyano
--- cpukit/score/src/kern_ntptime.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpukit/score/src/kern_ntptime.c b/cpukit/score/src/kern_ntptime.c index cb39133408..610386833c 100644 --- a/cpukit/score/src/kern_ntptime.c +++ b/cpukit/score/src/kern_ntptime.c @@ -73,9 +73,

[PATCH v2 00/12] Enable PPS API in RTEMS6

2022-04-29 Thread Gabriel Moyano
Second version of patches for enabling PPS API in RTEMS6. They have the following improvements: - Add function _Timecounter_Get_frequency() - Move hardpps to the _ namespace - Add a test (sptest/sppps01) for testing basic behaviour of struct pps_state - Add definition of atomic_load_int() as a rel

[PATCH v2 03/12] timepps.h: Add missing include for atomic type

2022-04-29 Thread Gabriel Moyano
--- cpukit/include/sys/timepps.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpukit/include/sys/timepps.h b/cpukit/include/sys/timepps.h index 01212f0b43..621afb08ec 100644 --- a/cpukit/include/sys/timepps.h +++ b/cpukit/include/sys/timepps.h @@ -24,6 +24,9 @@ #include #include #in

[PATCH v2 02/12] kern_ntptime.c: Add lmax() qmin() definitions

2022-04-29 Thread Gabriel Moyano
--- cpukit/score/src/kern_ntptime.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpukit/score/src/kern_ntptime.c b/cpukit/score/src/kern_ntptime.c index 610386833c..da6b425064 100644 --- a/cpukit/score/src/kern_ntptime.c +++ b/cpukit/score/src/kern_ntptime.c @@ -71,6 +71,8 @@ __FBSDID("$F

[PATCH v2 04/12] kern_tc.c: Add definition of atomic_load_int() required by PPS API

2022-04-29 Thread Gabriel Moyano
--- cpukit/include/sys/timepps.h | 4 cpukit/score/src/kern_tc.c | 7 +++ 2 files changed, 11 insertions(+) diff --git a/cpukit/include/sys/timepps.h b/cpukit/include/sys/timepps.h index 621afb08ec..5703381ffa 100644 --- a/cpukit/include/sys/timepps.h +++ b/cpukit/include/sys/timepps.h

[PATCH v2 05/12] kern_tc.c: Replace FREEBSD event mechanism by adding pointers to function

2022-04-29 Thread Gabriel Moyano
--- cpukit/include/sys/timepps.h | 6 ++ cpukit/score/src/kern_tc.c | 25 + 2 files changed, 31 insertions(+) diff --git a/cpukit/include/sys/timepps.h b/cpukit/include/sys/timepps.h index 5703381ffa..0d666a4f2e 100644 --- a/cpukit/include/sys/timepps.h +++ b/cpukit

[PATCH v2 07/12] kern_tc.c: Add definitions required by PPS API

2022-04-29 Thread Gabriel Moyano
--- cpukit/score/src/kern_tc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c index 7c2feb5be3..7e030c50d4 100644 --- a/cpukit/score/src/kern_tc.c +++ b/cpukit/score/src/kern_tc.c @@ -56,6 +56,11 @@ #definetimecounter _Time

[PATCH v2 06/12] timecounter.h: Rename tc_getfrequency() to _Timecounter_Get_frequency()

2022-04-29 Thread Gabriel Moyano
--- cpukit/include/rtems/score/timecounter.h | 7 +++ cpukit/include/sys/timetc.h | 3 +++ cpukit/score/src/kern_tc.c | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/cpukit/include/rtems/score/timecounter.h b/cpukit/include/rtems/score/timecou

[PATCH v2 08/12] kern_tc.c: Enable PPS API support

2022-04-29 Thread Gabriel Moyano
--- cpukit/score/src/kern_tc.c | 4 1 file changed, 4 deletions(-) diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c index 7e030c50d4..1b794fd0e3 100644 --- a/cpukit/score/src/kern_tc.c +++ b/cpukit/score/src/kern_tc.c @@ -1903,7 +1903,6 @@ SYSCTL_PROC(_kern_timecounter, O

[PATCH v2 09/12] kern_ntptime: Add define in order to remove warning

2022-04-29 Thread Gabriel Moyano
--- cpukit/score/src/kern_ntptime.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpukit/score/src/kern_ntptime.c b/cpukit/score/src/kern_ntptime.c index da6b425064..c1b4013e9b 100644 --- a/cpukit/score/src/kern_ntptime.c +++ b/cpukit/score/src/kern_ntptime.c @@ -58,6 +58,9 @@ __FBSDID("$

[PATCH v2 10/12] timepps.h: PPS_SYNC defined by default

2022-04-29 Thread Gabriel Moyano
--- cpukit/include/sys/timepps.h| 1 + cpukit/score/src/kern_ntptime.c | 10 -- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/cpukit/include/sys/timepps.h b/cpukit/include/sys/timepps.h index 0d666a4f2e..b13ac6bf26 100644 --- a/cpukit/include/sys/timepps.h +++ b/cpuki

[PATCH v2 11/12] timepps.h: Move hardpps to the _ namespace

2022-04-29 Thread Gabriel Moyano
--- 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 #include #defin

[PATCH v2 12/12] testsuites/sptests: Add sppps01 test

2022-04-29 Thread Gabriel Moyano
--- spec/build/testsuites/sptests/grp.yml | 2 + spec/build/testsuites/sptests/sppps01.yml | 19 +++ testsuites/sptests/sppps01/init.c | 160 ++ 3 files changed, 181 insertions(+) create mode 100644 spec/build/testsuites/sptests/sppps01.yml create mode 100644 t

Re: GCC version for RTEMS 6?

2022-04-29 Thread Karel Gardas
On 4/28/22 10:04, Sebastian Huber wrote: More releases means more maintenance overhead. Since GCC 12 is under active upstream maintenance, compiler issues can be fixed by the GCC maintainers in contrast to GCC 10. JFYI: gcc 12 was branched, rc1 is being built. More info here: https://gcc.gnu.o