source: rtems/c/src/lib/libbsp/unix/posix/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: 670 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-1997.
11 *  On-Line Applications Research Corporation (OAR).
12 *  Copyright assigned to U.S. Government, 1994.
13 *
14 *  The license and distribution terms for this file may in
15 *  the file LICENSE in this distribution or at
16 *  http://www.OARcorp.com/rtems/license.html.
17 *
18 *  $Id$
19 */
20
21#include <bsp.h>
22#include <shm.h>
23
24void Shm_setvec( void )
25{
26  int vector;
27
28  vector = _CPU_SHM_Get_vector();
29
30  if ( vector )
31    set_vector( Shm_isr, vector, 1 );
32}
Note: See TracBrowser for help on using the repository browser.