source: rtems/c/src/libchip/shmdr/fatal.c @ ac7d5ef0

4.104.114.84.95
Last change on this file since ac7d5ef0 was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/95 at 17:39:37

Initial revision

  • Property mode set to 100644
File size: 997 bytes
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  rtems_unsigned32 error
26)
27{
28   /*   Eventually need to attempt to broadcast a K_FATAL message
29    *   without checking for all possible errors (do not want to
30    *   recurse).
31    *
32    *   Also need to avoid using Shm_Node_statuses if the driver has not been
33    *   initialized.
34    */
35
36   Shm_Local_node_status->error = Shm_Convert(error);
37}
Note: See TracBrowser for help on using the repository browser.