4.104.114.84.95
Last change
on this file since 162ffb4 was
162ffb4,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/31/04 at 04:42:37
|
2004-03-31 Ralf Corsepius <ralf_corsepius@…>
- clock/ckinit.c, include/bsp.h, shmsupp/getcfg.c, shmsupp/lock.c,
shmsupp/mpisr.c, startup/bspstart.c, timer/timer.c: Convert to using
c99 fixed size types.
|
-
Property mode set to
100644
|
File size:
949 bytes
|
Rev | Line | |
---|
[ac7d5ef0] | 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 | * |
---|
[08311cc3] | 6 | * COPYRIGHT (c) 1989-1999. |
---|
[ac7d5ef0] | 7 | * On-Line Applications Research Corporation (OAR). |
---|
| 8 | * |
---|
[98e4ebf5] | 9 | * The license and distribution terms for this file may be |
---|
| 10 | * found in the file LICENSE in this distribution or at |
---|
[9977ac6] | 11 | * http://www.rtems.com/license/LICENSE. |
---|
[ac7d5ef0] | 12 | * |
---|
| 13 | * $Id$ |
---|
| 14 | */ |
---|
| 15 | |
---|
| 16 | #include <rtems.h> |
---|
| 17 | #include <bsp.h> |
---|
[48bfd992] | 18 | #include <shm_driver.h> |
---|
[ac7d5ef0] | 19 | |
---|
| 20 | rtems_isr Shm_isr_mvme136() |
---|
| 21 | { |
---|
| 22 | Shm_Interrupt_count += 1; |
---|
| 23 | rtems_multiprocessing_announce(); |
---|
[162ffb4] | 24 | (*(volatile uint8_t*)0xfffb006b) = 0; /* clear MPCSR intr */ |
---|
[ac7d5ef0] | 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 | |
---|
| 37 | void 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.