diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-05-09 18:47:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-05-09 18:47:03 +0000 |
commit | ff114dc5bff1783dedf2dae08b1f98c84a915be8 (patch) | |
tree | fe6055d8f1a1704d9d3339f262b09fef4afaa396 /c/src/optman/rtems/no-sem.c | |
parent | 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-ff114dc5bff1783dedf2dae08b1f98c84a915be8.tar.bz2 |
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* optman/Makefile.am, optman/preinstall.am, optman/rtems/no-dpmem.c,
optman/rtems/no-event.c, optman/rtems/no-mp.c, optman/rtems/no-msg.c,
optman/rtems/no-part.c, optman/rtems/no-region.c,
optman/rtems/no-rtmon.c, optman/rtems/no-sem.c,
optman/rtems/no-signal.c, optman/rtems/no-timer.c,
optman/sapi/no-ext.c: Add optional manager stub for Barrier. Simplify
other optional managers so using them reduces application size
instead of increasing it.
* optman/rtems/no-barrier.c: New file.
Diffstat (limited to 'c/src/optman/rtems/no-sem.c')
-rw-r--r-- | c/src/optman/rtems/no-sem.c | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/c/src/optman/rtems/no-sem.c b/c/src/optman/rtems/no-sem.c index 8c22badeae..0240f8a0cf 100644 --- a/c/src/optman/rtems/no-sem.c +++ b/c/src/optman/rtems/no-sem.c @@ -30,84 +30,3 @@ void _Semaphore_Manager_initialization( { } -rtems_status_code rtems_semaphore_create( - rtems_name name, - uint32_t count, - rtems_attribute attribute_set, - rtems_task_priority priority_ceiling, - rtems_id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_semaphore_ident( - rtems_name name, - uint32_t node, - rtems_id *id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_semaphore_delete( - rtems_id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_semaphore_obtain( - rtems_id id, - uint32_t option_set, - rtems_interval timeout -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -rtems_status_code rtems_semaphore_release( - rtems_id id -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - return RTEMS_NOT_CONFIGURED; -} - -boolean _Semaphore_Seize( - Semaphore_Control *the_semaphore, - rtems_option option_set -) -{ - _Internal_error_Occurred( - INTERNAL_ERROR_RTEMS_API, - FALSE, - RTEMS_NOT_CONFIGURED - ); - _Thread_Executing->Wait.return_code = RTEMS_UNSATISFIED; - return TRUE; -} |