source: rtems/c/src/lib/libbsp/m68k/mvme136/shmsupp/mpisr.c @ 03f2154e

4.104.114.84.95
Last change on this file since 03f2154e was 03f2154e, checked in by Joel Sherrill <joel.sherrill@…>, on 04/22/97 at 17:20:27

headers updated to reflect new style copyright notice as part
of switching to the modified GNU GPL.

  • Property mode set to 100644
File size: 996 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 in
11 *  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
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.