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/sapi/no-ext.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/sapi/no-ext.c')
-rw-r--r-- | c/src/optman/sapi/no-ext.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/c/src/optman/sapi/no-ext.c b/c/src/optman/sapi/no-ext.c index ac3dfe32f2..bd7b91039b 100644 --- a/c/src/optman/sapi/no-ext.c +++ b/c/src/optman/sapi/no-ext.c @@ -19,6 +19,7 @@ #include <rtems/score/object.h> #include <rtems/score/thread.h> #include <rtems/extension.h> +#include <rtems/score/interr.h> void _Extension_Manager_initialization( unsigned32 maximum_extensions @@ -32,6 +33,11 @@ rtems_status_code rtems_extension_create( Objects_Id *id ) { + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); return RTEMS_NOT_CONFIGURED; } @@ -40,6 +46,11 @@ rtems_status_code rtems_extension_ident( Objects_Id *id ) { + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); return RTEMS_NOT_CONFIGURED; } @@ -47,5 +58,10 @@ rtems_status_code rtems_extension_delete( Objects_Id id ) { + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); return RTEMS_NOT_CONFIGURED; } |