summaryrefslogtreecommitdiffstats
path: root/c/src/optman/rtems/no-signal.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-04-19 21:09:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-04-19 21:09:20 +0000
commit3b76313da986859d9133bfab342009336ac17aff (patch)
treec3f38c3e94b7dadcceceb3f4ce2cecea6de7c1ad /c/src/optman/rtems/no-signal.c
parentchanges to compile in macro configuration without warnings. (diff)
downloadrtems-3b76313da986859d9133bfab342009336ac17aff.tar.bz2
modified to generate fatal error when an unconfigured directive is invoked.
Diffstat (limited to 'c/src/optman/rtems/no-signal.c')
-rw-r--r--c/src/optman/rtems/no-signal.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/c/src/optman/rtems/no-signal.c b/c/src/optman/rtems/no-signal.c
index 59a6f8e72f..fdd90efb38 100644
--- a/c/src/optman/rtems/no-signal.c
+++ b/c/src/optman/rtems/no-signal.c
@@ -17,6 +17,7 @@
#include <rtems/rtems/status.h>
#include <rtems/score/isr.h>
#include <rtems/score/thread.h>
+#include <rtems/score/interr.h>
#include <rtems/rtems/asr.h>
#include <rtems/rtems/modes.h>
@@ -31,6 +32,11 @@ rtems_status_code rtems_signal_catch(
rtems_mode mode_set
)
{
+ _Internal_error_Occurred(
+ INTERNAL_ERROR_RTEMS_API,
+ FALSE,
+ RTEMS_NOT_CONFIGURED
+ );
return RTEMS_NOT_CONFIGURED;
}
@@ -39,6 +45,11 @@ rtems_status_code rtems_signal_send(
rtems_signal_set signal_set
)
{
+ _Internal_error_Occurred(
+ INTERNAL_ERROR_RTEMS_API,
+ FALSE,
+ RTEMS_NOT_CONFIGURED
+ );
return RTEMS_NOT_CONFIGURED;
}