diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-11 14:27:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-11 14:27:23 +0000 |
commit | aa9f19454a6912a337752fee5e0f98414de3e8a5 (patch) | |
tree | 19f558b8763cda168b1ea2d047c0270297147c2f /c/src/lib/libbsp/unix/posix/shmsupp/mpisr.c | |
parent | clean up -- interrupt support is in place (diff) | |
download | rtems-aa9f19454a6912a337752fee5e0f98414de3e8a5.tar.bz2 |
Initialization of semaphores was incorrect. It did not force
the count to "1" to indicate availability.
Interrupt support was added.
Problem where newlib's errno "overrides" that set by system calls
was addressed.
Fixed bug which resulted in all nodes using the same semaphore although
an array of semaphores was allocated.
Diffstat (limited to 'c/src/lib/libbsp/unix/posix/shmsupp/mpisr.c')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/shmsupp/mpisr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/unix/posix/shmsupp/mpisr.c b/c/src/lib/libbsp/unix/posix/shmsupp/mpisr.c index 02bee168a6..ff24bfa31c 100644 --- a/c/src/lib/libbsp/unix/posix/shmsupp/mpisr.c +++ b/c/src/lib/libbsp/unix/posix/shmsupp/mpisr.c @@ -25,5 +25,7 @@ void Shm_setvec( void ) { +#ifdef INTERRUPT_EXTERNAL_MPCI set_vector( Shm_isr, INTERRUPT_EXTERNAL_MPCI, 1 ); +#endif } |