source: rtems/c/src/lib/libbsp/unix/posix/shmsupp/intr.c @ 5c491aef

4.104.114.84.95
Last change on this file since 5c491aef was 5c491aef, checked in by Joel Sherrill <joel.sherrill@…>, on 12/20/95 at 15:39:19

changes remerged after lost in disk crash -- recovered from snapshot, partially recovered working tree, etc

  • 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
25void 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.