4.104.114.84.95
Last change
on this file since cb5bfe4 was
98e4ebf5,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/97 at 15:45:54
|
Fixed typo in the pointer to the license terms.
|
-
Property mode set to
100644
|
File size:
1005 bytes
|
Line | |
---|
1 | /* Shm_isr_mvme136() |
---|
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-1997. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * Copyright assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.OARcorp.com/rtems/license.html. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #include <rtems.h> |
---|
18 | #include <bsp.h> |
---|
19 | #include <shm.h> |
---|
20 | |
---|
21 | rtems_isr Shm_isr_mvme136() |
---|
22 | { |
---|
23 | Shm_Interrupt_count += 1; |
---|
24 | rtems_multiprocessing_announce(); |
---|
25 | (*(volatile rtems_unsigned8 *)0xfffb006b) = 0; /* clear MPCSR intr */ |
---|
26 | } |
---|
27 | |
---|
28 | /* void _Shm_setvec( ) |
---|
29 | * |
---|
30 | * This driver routine sets the SHM interrupt vector to point to the |
---|
31 | * driver's SHM interrupt service routine. |
---|
32 | * |
---|
33 | * Input parameters: NONE |
---|
34 | * |
---|
35 | * Output parameters: NONE |
---|
36 | */ |
---|
37 | |
---|
38 | void Shm_setvec() |
---|
39 | { |
---|
40 | /* may need to disable intr */ |
---|
41 | set_vector( Shm_isr_mvme136, 75, 1 ); |
---|
42 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.