source: rtems/c/src/lib/libbsp/m68k/mvme136/shmsupp/mpisr.c @ 48bfd992

4.104.114.84.95
Last change on this file since 48bfd992 was 48bfd992, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 30, 1999 at 7:58:02 PM

Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.

Renamed file shmsupp/intr.c in some BSPs to shmsupp/cause_intr.c to
avoid conflict with rtems/src/intr.c (Classic API Interrupt Manager).

  • Property mode set to 100644
File size: 963 bytes
Line 
1/*  Shm_isr_mvme136()
2 *
3 *  NOTE: This routine is not used when in polling mode.  Either
4 *        this routine OR Shm_clockisr is used in a particular system.
5 *
6 *  COPYRIGHT (c) 1989-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16#include <rtems.h>
17#include <bsp.h>
18#include <shm_driver.h>
19
20rtems_isr Shm_isr_mvme136()
21{
22  Shm_Interrupt_count += 1;
23  rtems_multiprocessing_announce();
24  (*(volatile rtems_unsigned8 *)0xfffb006b) = 0; /* clear MPCSR intr */
25}
26
27/*  void _Shm_setvec( )
28 *
29 *  This driver routine sets the SHM interrupt vector to point to the
30 *  driver's SHM interrupt service routine.
31 *
32 *  Input parameters:  NONE
33 *
34 *  Output parameters: NONE
35 */
36
37void Shm_setvec()
38{
39  /* may need to disable intr */
40  set_vector( Shm_isr_mvme136, 75, 1 );
41}
Note: See TracBrowser for help on using the repository browser.