[PATCH 09/12] kern_tc.c: Add definitions required by PPS API
Gabriel Moyano
gabriel.moyano at dlr.de
Thu Apr 7 08:36:04 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 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>
--
2.25.1
More information about the devel
mailing list