summaryrefslogtreecommitdiffstats
path: root/c/src/optman/rtems/no-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/optman/rtems/no-event.c')
-rw-r--r--c/src/optman/rtems/no-event.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/c/src/optman/rtems/no-event.c b/c/src/optman/rtems/no-event.c
index 7f1ca07f6c..4eb984c011 100644
--- a/c/src/optman/rtems/no-event.c
+++ b/c/src/optman/rtems/no-event.c
@@ -20,12 +20,22 @@
#include <rtems/rtems/options.h>
#include <rtems/score/states.h>
#include <rtems/score/thread.h>
+#include <rtems/score/interr.h>
+
+void _Event_Manager_initialization( void )
+{
+}
rtems_status_code rtems_event_send(
Objects_Id id,
rtems_event_set event_in
)
{
+ _Internal_error_Occurred(
+ INTERNAL_ERROR_RTEMS_API,
+ FALSE,
+ RTEMS_NOT_CONFIGURED
+ );
return RTEMS_NOT_CONFIGURED;
}
@@ -36,6 +46,11 @@ rtems_status_code rtems_event_receive(
rtems_event_set *event_out
)
{
+ _Internal_error_Occurred(
+ INTERNAL_ERROR_RTEMS_API,
+ FALSE,
+ RTEMS_NOT_CONFIGURED
+ );
return RTEMS_NOT_CONFIGURED;
}