diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-12-20 15:39:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-12-20 15:39:19 +0000 |
commit | 5c491aef41558df022032b543d826ef4e49493b5 (patch) | |
tree | 248c4d31610a83b98c65dc26fb6a9b54b9db77e1 /c/src/lib/libbsp/unix/posix/shmsupp/intr.c | |
parent | initial history lost in disk crash (diff) | |
download | rtems-5c491aef41558df022032b543d826ef4e49493b5.tar.bz2 |
changes remerged after lost in disk crash -- recovered from snapshot, partially recovered working tree, etc
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/shmsupp/intr.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/unix/posix/shmsupp/intr.c b/c/src/lib/libbsp/unix/posix/shmsupp/intr.c index e69de29bb2..243af403d9 100644 --- a/c/src/lib/libbsp/unix/posix/shmsupp/intr.c +++ b/c/src/lib/libbsp/unix/posix/shmsupp/intr.c @@ -0,0 +1,33 @@ +/* void Shm_interrupt_unix( node ) + * + * This routine is the shared memory driver routine which + * generates interrupts to other CPUs. + * + * Input parameters: + * node - destination of this packet (0 = broadcast) + * + * Output parameters: NONE + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + */ + +#include <bsp.h> +#include <shm.h> + +void Shm_Cause_interrupt_unix( + rtems_unsigned32 node +) +{ + Shm_Interrupt_information *intr; + intr = &Shm_Interrupt_table[node]; + + _CPU_SHM_Send_interrupt( (int) intr->address, (int) intr->value ); +} |