Last change
on this file since 7cea895 was
48bfd992,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/30/99 at 19:58:02
|
Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.
Renamed file shmsupp/intr.c in some BSPs to shmsupp/cause_intr.c to
avoid conflict with rtems/src/intr.c (Classic API Interrupt Manager).
|
-
Property mode set to
100644
|
File size:
637 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-1999. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.OARcorp.com/rtems/license.html. |
---|
16 | * |
---|
17 | * $Id$ |
---|
18 | */ |
---|
19 | |
---|
20 | #include <bsp.h> |
---|
21 | #include <shm_driver.h> |
---|
22 | |
---|
23 | void Shm_setvec( void ) |
---|
24 | { |
---|
25 | int vector; |
---|
26 | |
---|
27 | vector = _CPU_SHM_Get_vector(); |
---|
28 | |
---|
29 | if ( vector ) |
---|
30 | set_vector( Shm_isr, vector, 1 ); |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.