diff options
Diffstat (limited to 'c/src/exec/sapi/optman/no-ext.c')
-rw-r--r-- | c/src/exec/sapi/optman/no-ext.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/c/src/exec/sapi/optman/no-ext.c b/c/src/exec/sapi/optman/no-ext.c index ac3dfe32f2..bd7b91039b 100644 --- a/c/src/exec/sapi/optman/no-ext.c +++ b/c/src/exec/sapi/optman/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; } |