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/exec/rtems/optman/no-dpmem.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/exec/rtems/optman/no-dpmem.c')
-rw-r--r-- | c/src/exec/rtems/optman/no-dpmem.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/c/src/exec/rtems/optman/no-dpmem.c b/c/src/exec/rtems/optman/no-dpmem.c index ac0dc13c7f..11f2641feb 100644 --- a/c/src/exec/rtems/optman/no-dpmem.c +++ b/c/src/exec/rtems/optman/no-dpmem.c @@ -16,6 +16,7 @@ #include <rtems/score/address.h> #include <rtems/score/object.h> #include <rtems/score/thread.h> +#include <rtems/score/interr.h> #include <rtems/rtems/status.h> #include <rtems/rtems/types.h> @@ -35,6 +36,11 @@ rtems_status_code rtems_port_create( Objects_Id *id ) { + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); return RTEMS_NOT_CONFIGURED; } @@ -43,6 +49,11 @@ rtems_status_code rtems_port_ident( Objects_Id *id ) { + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); return RTEMS_NOT_CONFIGURED; } @@ -50,6 +61,11 @@ rtems_status_code rtems_port_delete( Objects_Id id ) { + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); return RTEMS_NOT_CONFIGURED; } @@ -59,6 +75,11 @@ rtems_status_code rtems_port_internal_to_external( void **external ) { + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); return RTEMS_NOT_CONFIGURED; } @@ -68,5 +89,10 @@ rtems_status_code rtems_port_external_to_internal( void **internal ) { + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); return RTEMS_NOT_CONFIGURED; } |