OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [shmdr/] [fatal.c] - Blame information for rev 389

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  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.OARcorp.com/rtems/license.html.
16
 *
17
 *  $Id: fatal.c,v 1.2 2001-09-27 12:01:12 chris Exp $
18
 */
19
 
20
#include <rtems.h>
21
#include "shm_driver.h"
22
 
23
void MPCI_Fatal(
24
  Internal_errors_Source  source,
25
  boolean                 is_internal,
26
  rtems_unsigned32        error
27
)
28
{
29
   /*   Eventually need to attempt to broadcast a K_FATAL message
30
    *   without checking for all possible errors (do not want to
31
    *   recurse).
32
    *
33
    *   Also need to avoid using Shm_Node_statuses if the driver has not been
34
    *   initialized.
35
    */
36
 
37
   Shm_Local_node_status->error = Shm_Convert(error);
38
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.