OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [unix/] [posix/] [shmsupp/] [mpisr.c] - Blame information for rev 846

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  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.OARcorp.com/rtems/license.html.
16
 *
17
 *  $Id: mpisr.c,v 1.2 2001-09-27 12:01:15 chris Exp $
18
 */
19
 
20
#include <bsp.h>
21
#include <shm_driver.h>
22
 
23
void 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.