source: rtems/c/src/lib/libbsp/unix/posix/shmsupp/mpisr.c @ 3e6211b

Last change on this file since 3e6211b was 3e6211b, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 4, 2003 at 6:45:40 PM

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

  • clock/clock.c, console/console.c, include/bsp.h, shmsupp/addrconv.c, shmsupp/cause_intr.c, shmsupp/getcfg.c, shmsupp/lock.c, shmsupp/mpisr.c, startup/bspclean.c, startup/bspstart.c, startup/exit.c, startup/setvec.c, timer/timer.c: URL for license changed.
  • Property mode set to 100644
File size: 632 bytes
Line 
1/*  Shm_setvec
2 *
3 *  This driver routine sets the SHM interrupt vector to point to the
4 *  driver's SHM interrupt service routine.
5 *
6 *  Input parameters:  NONE
7 *
8 *  Output parameters: NONE
9 *
10 *  COPYRIGHT (c) 1989-1999.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.com/license/LICENSE.
16 *
17 *  $Id$
18 */
19
20#include <bsp.h>
21#include <shm_driver.h>
22
23void Shm_setvec( void )
24{
25  int vector;
26
27  vector = _CPU_SHM_Get_vector();
28
29  if ( vector )
30    set_vector( Shm_isr, vector, 1 );
31}
Note: See TracBrowser for help on using the repository browser.