4.104.114.84.95
Last change
on this file since aa9f194 was
aa9f194,
checked in by Joel Sherrill <joel.sherrill@…>, on 08/11/95 at 14:27:23
|
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.
|
-
Property mode set to
100644
|
File size:
769 bytes
|
Line | |
---|
1 | /* Shm_setvec |
---|
2 | * |
---|
3 | * This driver routine sets the SHM interrupt vector to point to the |
---|
4 | * driver's SHM interrupt service routine. |
---|
5 | * |
---|
6 | * Input parameters: NONE |
---|
7 | * |
---|
8 | * Output parameters: NONE |
---|
9 | * |
---|
10 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * All rights assigned to U.S. Government, 1994. |
---|
13 | * |
---|
14 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
15 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
16 | * notice must appear in all copies of this file and its derivatives. |
---|
17 | * |
---|
18 | * $Id$ |
---|
19 | */ |
---|
20 | |
---|
21 | #include <rtems.h> |
---|
22 | |
---|
23 | #include <bsp.h> |
---|
24 | #include <shm.h> |
---|
25 | |
---|
26 | void Shm_setvec( void ) |
---|
27 | { |
---|
28 | #ifdef INTERRUPT_EXTERNAL_MPCI |
---|
29 | set_vector( Shm_isr, INTERRUPT_EXTERNAL_MPCI, 1 ); |
---|
30 | #endif |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.