source: rtems/c/src/libchip/shmdr/fatal.c @ f619250

4.115
Last change on this file since f619250 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • 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.com/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.