source: rtems/c/src/lib/libbsp/m68k/mvme147s/shmsupp/mpisr.c @ 4d7f067

4.104.114.84.9
Last change on this file since 4d7f067 was 4d7f067, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 4, 2003 at 6:52:02 PM

2003-09-04 Joel Sherrill <joel@…>

  • include/bsp.h, include/coverhd.h, shmsupp/addrconv.c, shmsupp/getcfg.c, shmsupp/lock.c, shmsupp/mpisr.c, startup/bspstart.c, startup/linkcmds: URL for license changed.
  • Property mode set to 100644
File size: 1.1 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-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  MVME147 port for TNI - Telecom Bretagne
14 *  by Dominique LE CAMPION (Dominique.LECAMPION@enst-bretagne.fr)
15 *  June 1996
16 *
17 *  $Id$
18 */
19
20#include <rtems.h>
21#include <bsp.h>
22#include <shm_driver.h>
23
24rtems_isr Shm_isr_mvme147()
25{
26  Shm_Interrupt_count += 1;
27  rtems_multiprocessing_announce();
28  vme_gcsr->global_1 = 1; /* clear SIGLP intr */
29}
30
31/*  void _Shm_setvec( )
32 *
33 *  This driver routine sets the SHM interrupt vector to point to the
34 *  driver's SHM interrupt service routine.
35 *
36 *  Input parameters:  NONE
37 *
38 *  Output parameters: NONE
39 */
40
41void Shm_setvec()
42{
43  /* may need to disable intr */
44  set_vector( Shm_isr_mvme147, VME_SIGLP_VECTOR, 1 );
45}
Note: See TracBrowser for help on using the repository browser.