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

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Apr 7 08:46:06 UTC 2022



On 07/04/2022 10:36, Gabriel Moyano wrote:
> ---
>   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 dd718b3bab..5db924cebe 100644
> --- a/cpukit/score/src/kern_tc.c
> +++ b/cpukit/score/src/kern_tc.c
> @@ -56,6 +56,11 @@
>   #define	timecounter _Timecounter
>   #define	time_second _Timecounter_Time_second
>   #define	time_uptime _Timecounter_Time_uptime
> +
> +#define ENOIOCTL -3
> +#include <assert.h>
> +#define KASSERT(exp, arg) assert(exp)
> +
>   #include <rtems/score/timecounterimpl.h>
>   #include <rtems/score/atomic.h>
>   #include <rtems/score/smp.h>

This should map to _Assert().

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list