source: rtems/bsps/shared/shmdr/shmdr-fatal.c @ 4b28d3c

5
Last change on this file since 4b28d3c was 4b28d3c, checked in by Sebastian Huber <sebastian.huber@…>, on 04/04/18 at 14:39:58

bsps: Move shmdr to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 928 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  rtems_fatal_source source,
23  bool               always_set_to_false,
24  rtems_fatal_code   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.