source: rtems/c/src/lib/libbsp/mips/jmr3904/include/bsp.h @ a052181

4.115
Last change on this file since a052181 was a052181, checked in by Sebastian Huber <sebastian.huber@…>, on 11/14/12 at 08:59:10

score: Add RTEMS_FATAL_SOURCE_EXIT

Include <bsp/default-initial-extension.h> in all BSPs. Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup(). Move previous
bsp_cleanup() code into bsp_fatal_extension().

  • Property mode set to 100644
File size: 781 bytes
Line 
1/**
2 *  @file
3 * 
4 *  This include file contains some definitions specific to the
5 *  JMR3904 simulator in gdb.
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2012.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.com/license/LICENSE.
15 */
16
17#ifndef _BSP_H
18#define _BSP_H
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include <bspopts.h>
25#include <bsp/default-initial-extension.h>
26
27#include <rtems.h>
28#include <rtems/iosupp.h>
29#include <rtems/console.h>
30#include <rtems/clockdrv.h>
31#include <libcpu/tx3904.h>
32
33#define BSP_FEATURE_IRQ_EXTENSION
34#define BSP_SHARED_HANDLER_SUPPORT      1
35#define BSP_RESET_BOARD_AT_EXIT 1
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif
Note: See TracBrowser for help on using the repository browser.