source: rtems/c/src/libchip/shmdr/fatal.c @ 9eef52b

4.104.114.84.95
Last change on this file since 9eef52b was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 994 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-1998.
11 *  On-Line Applications Research Corporation (OAR).
12 *  Copyright assigned to U.S. Government, 1994.
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.OARcorp.com/rtems/license.html.
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.