4.104.114.84.95
Last change
on this file since 37f4c2d was
37f4c2d,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/27/95 at 20:53:58
|
Modified UNIX simulator port so all references to native unix
stuff is in the executive source proper in the file cpu.c. This
should help avoid conflicts between RTEMS POSIX files and UNIX files.
|
-
Property mode set to
100644
|
File size:
762 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 <bsp.h> |
---|
22 | #include <shm.h> |
---|
23 | |
---|
24 | void Shm_setvec( void ) |
---|
25 | { |
---|
26 | int vector; |
---|
27 | |
---|
28 | vector = _CPU_SHM_Get_vector(); |
---|
29 | |
---|
30 | if ( vector ) |
---|
31 | set_vector( Shm_isr, vector, 1 ); |
---|
32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.