source: rtems/c/src/lib/libbsp/unix/posix/shmsupp/cause_intr.c @ 49c8f45

4.104.115
Last change on this file since 49c8f45 was 6128a4a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/21/04 at 10:43:04

Remove stray white spaces.

  • Property mode set to 100644
File size: 804 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-1999.
12 *  On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.com/license/LICENSE.
17 *
18 *  $Id$
19 */
20
21#include <bsp.h>
22#include <shm_driver.h>
23#include <sys/types.h>      /* pid_t */
24
25void Shm_Cause_interrupt_unix(
26  uint32_t         node
27)
28{
29  Shm_Interrupt_information *intr;
30  intr = &Shm_Interrupt_table[node];
31
32  _CPU_SHM_Send_interrupt( (pid_t) intr->address, intr->value );
33}
Note: See TracBrowser for help on using the repository browser.