diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-04-19 21:09:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-04-19 21:09:20 +0000 |
commit | 3b76313da986859d9133bfab342009336ac17aff (patch) | |
tree | c3f38c3e94b7dadcceceb3f4ce2cecea6de7c1ad /c/src/optman/rtems/no-event.c | |
parent | changes to compile in macro configuration without warnings. (diff) | |
download | rtems-3b76313da986859d9133bfab342009336ac17aff.tar.bz2 |
modified to generate fatal error when an unconfigured directive is invoked.
Diffstat (limited to 'c/src/optman/rtems/no-event.c')
-rw-r--r-- | c/src/optman/rtems/no-event.c | 15 |
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; } |