source: rtems/c/src/lib/libbsp/m68k/mvme136/shmsupp/mpisr.c @ 3a4ae6c

4.104.114.84.95
Last change on this file since 3a4ae6c was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/95 at 17:39:37

Initial revision

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[ac7d5ef0]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, 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 *  $Id$
15 */
16
17#include <rtems.h>
18#include <bsp.h>
19#include <shm.h>
20
21rtems_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
38void 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.