source: rtems/c/src/lib/libbsp/sparc/leon3/shmsupp/mpisr.c @ 1c554014

4.115
Last change on this file since 1c554014 was 1c554014, checked in by Ralf Corsépius <ralf.corsepius@…>, on 07/19/12 at 14:14:53

Remove CVS-Ids.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*  Shm_isr_nobsp()
2 *
3 *  COPYRIGHT (c) 1989-1999.
4 *  On-Line Applications Research Corporation (OAR).
5 *
6 *  The license and distribution terms for this file may be
7 *  found in the file LICENSE in this distribution or at
8 *  http://www.rtems.com/license/LICENSE.
9 */
10
11#include <rtems.h>
12#include <bsp.h>
13#include <shm_driver.h>
14
15rtems_isr Shm_isr_nobsp( void )
16{
17  /*
18   *  If this routine has to do anything other than the mpisr.c
19   *  found in the generic driver, then copy the contents of the generic
20   *  mpisr.c and augment it to satisfy this particular board.  Typically,
21   *  you need to have a board specific mpisr.c when the interrupt
22   *  must be cleared.
23   *
24   *  If the generic mpisr.c satisifies your requirements, then
25   *  remove this routine from your target's shmsupp/mpisb.c file.
26   *  Then simply install the generic Shm_isr in the Shm_setvec
27   *  routine below.
28   */
29}
30
31/*  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
41
42void Shm_setvec( void )
43{
44  LEON_Unmask_interrupt(LEON3_MP_IRQ);
45  set_vector(Shm_isr, LEON_TRAP_TYPE(LEON3_MP_IRQ), 1);
46}
Note: See TracBrowser for help on using the repository browser.