diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-27 20:53:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-27 20:53:58 +0000 |
commit | 37f4c2d99fbf09142aeafe3a9908a81e283f8186 (patch) | |
tree | 04dc487b28113dc17f1c3c9ab2241390b4ed95ea /c/src/lib/libbsp/unix/posix/shmsupp/intr.c | |
parent | Fixed typo (diff) | |
download | rtems-37f4c2d99fbf09142aeafe3a9908a81e283f8186.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/shmsupp/intr.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/unix/posix/shmsupp/intr.c b/c/src/lib/libbsp/unix/posix/shmsupp/intr.c index 2f8cd6db11..243af403d9 100644 --- a/c/src/lib/libbsp/unix/posix/shmsupp/intr.c +++ b/c/src/lib/libbsp/unix/posix/shmsupp/intr.c @@ -19,18 +19,15 @@ * $Id$ */ -#include <rtems.h> +#include <bsp.h> #include <shm.h> -#include <stdio.h> -#include <signal.h> - void Shm_Cause_interrupt_unix( rtems_unsigned32 node ) { - Shm_Interrupt_information *intr; - intr = &Shm_Interrupt_table[node]; + Shm_Interrupt_information *intr; + intr = &Shm_Interrupt_table[node]; - kill((pid_t) intr->address, intr->value); + _CPU_SHM_Send_interrupt( (int) intr->address, (int) intr->value ); } |