source: rtems/c/src/libchip/shmdr/fatal.c @ 74172b7d

5
Last change on this file since 74172b7d was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 935 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-1999.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.org/license/LICENSE.
16 */
17
18#include <rtems.h>
19#include "shm_driver.h"
20
21void MPCI_Fatal(
22  Internal_errors_Source  source,
23  bool                    is_internal,
24  uint32_t                error
25)
26{
27   /*   Eventually need to attempt to broadcast a K_FATAL message
28    *   without checking for all possible errors (do not want to
29    *   recurse).
30    *
31    *   Also need to avoid using Shm_Node_statuses if the driver has not been
32    *   initialized.
33    */
34
35   Shm_Local_node_status->error = Shm_Convert(error);
36}
Note: See TracBrowser for help on using the repository browser.