Last change
on this file since 3e6211b was
3e6211b,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:45:40
|
2003-09-04 Joel Sherrill <joel@…>
- clock/clock.c, console/console.c, include/bsp.h, shmsupp/addrconv.c,
shmsupp/cause_intr.c, shmsupp/getcfg.c, shmsupp/lock.c,
shmsupp/mpisr.c, startup/bspclean.c, startup/bspstart.c,
startup/exit.c, startup/setvec.c, timer/timer.c: URL for license
changed.
|
-
Property mode set to
100644
|
File size:
805 bytes
|
Rev | Line | |
---|
[5c491aef] | 1 | /* void Shm_interrupt_unix( node ) |
---|
| 2 | * |
---|
| 3 | * This routine is the shared memory driver routine which |
---|
| 4 | * generates interrupts to other CPUs. |
---|
| 5 | * |
---|
| 6 | * Input parameters: |
---|
| 7 | * node - destination of this packet (0 = broadcast) |
---|
| 8 | * |
---|
| 9 | * Output parameters: NONE |
---|
| 10 | * |
---|
[08311cc3] | 11 | * COPYRIGHT (c) 1989-1999. |
---|
[5c491aef] | 12 | * On-Line Applications Research Corporation (OAR). |
---|
| 13 | * |
---|
[98e4ebf5] | 14 | * The license and distribution terms for this file may be |
---|
| 15 | * found in the file LICENSE in this distribution or at |
---|
[3e6211b] | 16 | * http://www.rtems.com/license/LICENSE. |
---|
[5c491aef] | 17 | * |
---|
| 18 | * $Id$ |
---|
| 19 | */ |
---|
| 20 | |
---|
| 21 | #include <bsp.h> |
---|
[48bfd992] | 22 | #include <shm_driver.h> |
---|
[c64e4ed4] | 23 | #include <sys/types.h> /* pid_t */ |
---|
[5c491aef] | 24 | |
---|
| 25 | void Shm_Cause_interrupt_unix( |
---|
| 26 | rtems_unsigned32 node |
---|
| 27 | ) |
---|
| 28 | { |
---|
| 29 | Shm_Interrupt_information *intr; |
---|
| 30 | intr = &Shm_Interrupt_table[node]; |
---|
| 31 | |
---|
[c64e4ed4] | 32 | _CPU_SHM_Send_interrupt( (pid_t) intr->address, intr->value ); |
---|
[5c491aef] | 33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.