[PATCH v4 06/11] kern_tc.c: Add definitions required by PPS API

Gabriel Moyano gabriel.moyano at dlr.de
Fri May 20 09:29:58 UTC 2022


---
 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 2e2ffd8ef1..25d0837b63 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 EINVAL
+#include <rtems/score/assert.h>
+#define KASSERT(exp, arg) _Assert(exp)
+
 #include <rtems/score/timecounterimpl.h>
 #include <rtems/score/atomic.h>
 #include <rtems/score/smp.h>
-- 
2.25.1



More information about the devel mailing list