4.104.114.84.95
Last change
on this file since b1b5a7cb was
afe99c2,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/18/96 at 14:17:54
|
new file submitted by Dominique le Campion.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* Shm_isr_mvme147() |
---|
2 | * |
---|
3 | * NOTE: This routine is not used when in polling mode. Either |
---|
4 | * this routine OR Shm_clockisr is used in a particular system. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * All rights assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
11 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
12 | * notice must appear in all copies of this file and its derivatives. |
---|
13 | * |
---|
14 | * MVME147 port for TNI - Telecom Bretagne |
---|
15 | * by Dominique LE CAMPION (Dominique.LECAMPION@enst-bretagne.fr) |
---|
16 | * June 1996 |
---|
17 | * |
---|
18 | * $Id$ |
---|
19 | */ |
---|
20 | |
---|
21 | #include <rtems.h> |
---|
22 | #include <bsp.h> |
---|
23 | #include <shm.h> |
---|
24 | |
---|
25 | rtems_isr Shm_isr_mvme147() |
---|
26 | { |
---|
27 | Shm_Interrupt_count += 1; |
---|
28 | rtems_multiprocessing_announce(); |
---|
29 | vme_gcsr->global_1 = 1; /* clear SIGLP intr */ |
---|
30 | } |
---|
31 | |
---|
32 | /* void _Shm_setvec( ) |
---|
33 | * |
---|
34 | * This driver routine sets the SHM interrupt vector to point to the |
---|
35 | * driver's SHM interrupt service routine. |
---|
36 | * |
---|
37 | * Input parameters: NONE |
---|
38 | * |
---|
39 | * Output parameters: NONE |
---|
40 | */ |
---|
41 | |
---|
42 | void Shm_setvec() |
---|
43 | { |
---|
44 | /* may need to disable intr */ |
---|
45 | set_vector( Shm_isr_mvme147, VME_SIGLP_VECTOR, 1 ); |
---|
46 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.