source: rtems/bsps/no_cpu/no_bsp/mpci/mpisr.c @ 1efa1c8

5
Last change on this file since 1efa1c8 was 1efa1c8, checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 11:38:33

bsps: Move MPCI support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[a0d01664]1/**
2 *  @file
[ac7d5ef0]3 *
[a0d01664]4 *  Template for Shared Memory Driver Interrupt Support
5 */
6
7/*
8 *  COPYRIGHT (c) 1989-2012.
[ac7d5ef0]9 *  On-Line Applications Research Corporation (OAR).
10 *
[98e4ebf5]11 *  The license and distribution terms for this file may be
12 *  found in the file LICENSE in this distribution or at
[c499856]13 *  http://www.rtems.org/license/LICENSE.
[ac7d5ef0]14 */
15
16#include <rtems.h>
17#include <bsp.h>
[48bfd992]18#include <shm_driver.h>
[ac7d5ef0]19
[a0d01664]20rtems_isr Shm_isr_nobsp(rtems_vector_number ignored)
[ac7d5ef0]21{
22  /*
23   *  If this routine has to do anything other than the mpisr.c
24   *  found in the generic driver, then copy the contents of the generic
25   *  mpisr.c and augment it to satisfy this particular board.  Typically,
26   *  you need to have a board specific mpisr.c when the interrupt
27   *  must be cleared.
28   *
29   *  If the generic mpisr.c satisifies your requirements, then
[a0d01664]30   *  remove this routine from your target's shmsupp/mpisr.c file.
[ac7d5ef0]31   *  Then simply install the generic Shm_isr in the Shm_setvec
32   *  routine below.
33   */
34}
35
[a0d01664]36/*
[ac7d5ef0]37 *  This driver routine sets the SHM interrupt vector to point to the
38 *  driver's SHM interrupt service routine.
39 */
40
41void Shm_setvec( void )
42{
43  /* XXX: FIX ME!!! */
44}
Note: See TracBrowser for help on using the repository browser.