4.104.114.84.95
Last change
on this file since 48bfd992 was
48bfd992,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/30/99 at 19:58:02
|
Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.
Renamed file shmsupp/intr.c in some BSPs to shmsupp/cause_intr.c to
avoid conflict with rtems/src/intr.c (Classic API Interrupt Manager).
|
-
Property mode set to
100644
|
File size:
952 bytes
|
Rev | Line | |
---|
[ac7d5ef0] | 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 | * |
---|
[08311cc3] | 10 | * COPYRIGHT (c) 1989-1999. |
---|
[ac7d5ef0] | 11 | * On-Line Applications Research Corporation (OAR). |
---|
| 12 | * |
---|
[98e4ebf5] | 13 | * The license and distribution terms for this file may be |
---|
| 14 | * found in the file LICENSE in this distribution or at |
---|
[03f2154e] | 15 | * http://www.OARcorp.com/rtems/license.html. |
---|
[ac7d5ef0] | 16 | * |
---|
| 17 | * $Id$ |
---|
| 18 | */ |
---|
| 19 | |
---|
| 20 | #include <rtems.h> |
---|
[48bfd992] | 21 | #include "shm_driver.h" |
---|
[ac7d5ef0] | 22 | |
---|
| 23 | void MPCI_Fatal( |
---|
[11290355] | 24 | Internal_errors_Source source, |
---|
| 25 | boolean is_internal, |
---|
| 26 | rtems_unsigned32 error |
---|
[ac7d5ef0] | 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 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.