4.104.114.84.95
Last change
on this file since 9700578 was
37f4c2d,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/27/95 at 20:53:58
|
Modified UNIX simulator port so all references to native unix
stuff is in the executive source proper in the file cpu.c. This
should help avoid conflicts between RTEMS POSIX files and UNIX files.
|
-
Property mode set to
100644
|
File size:
899 bytes
|
Line | |
---|
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 | * |
---|
11 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
12 | * On-Line Applications Research Corporation (OAR). |
---|
13 | * All rights assigned to U.S. Government, 1994. |
---|
14 | * |
---|
15 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
16 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
17 | * notice must appear in all copies of this file and its derivatives. |
---|
18 | * |
---|
19 | * $Id$ |
---|
20 | */ |
---|
21 | |
---|
22 | #include <bsp.h> |
---|
23 | #include <shm.h> |
---|
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 | |
---|
32 | _CPU_SHM_Send_interrupt( (int) intr->address, (int) intr->value ); |
---|
33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.