source: rtems/c/src/lib/libbsp/shmdr/fatal.c @ 11290355

4.104.114.84.95
Last change on this file since 11290355 was 11290355, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 29, 1995 at 5:19:16 PM

all targets compile .. tony's patches in place

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*  void MPCI_Fatal( error )
2 *
3 *  This routine is the shared memory driver fatal error handler.
4 *
5 *  Input parameters:
6 *    error - fatal error code
7 *
8 *  Output parameters:  NEVER RETURNS
9 *
10 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
11 *  On-Line Applications Research Corporation (OAR).
12 *  All rights assigned to U.S. Government, 1994.
13 *
14 *  This material may be reproduced by or for the U.S. Government pursuant
15 *  to the copyright license under the clause at DFARS 252.227-7013.  This
16 *  notice must appear in all copies of this file and its derivatives.
17 *
18 *  $Id$
19 */
20
21#include <rtems.h>
22#include "shm.h"
23
24void MPCI_Fatal(
25  Internal_errors_Source  source,
26  boolean                 is_internal,
27  rtems_unsigned32        error
28)
29{
30   /*   Eventually need to attempt to broadcast a K_FATAL message
31    *   without checking for all possible errors (do not want to
32    *   recurse).
33    *
34    *   Also need to avoid using Shm_Node_statuses if the driver has not been
35    *   initialized.
36    */
37
38   Shm_Local_node_status->error = Shm_Convert(error);
39}
Note: See TracBrowser for help on using the repository browser.