source: rtems/c/src/lib/libbsp/arm/edb7312/include/bsp.h @ 3d6e1740

4.115
Last change on this file since 3d6e1740 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: 1022 bytes
Line 
1/*
2 * Cirrus EP7312 BSP header file
3 *
4 * Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com>
5 *
6 *  The license and distribution terms for this file may be
7 *  found in the file LICENSE in this distribution or at
8 *  http://www.rtems.com/license/LICENSE.
9*/
10#ifndef _BSP_H
11#define _BSP_H
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#include <bspopts.h>
18#include <bsp/default-initial-extension.h>
19
20#include <rtems.h>
21#include <rtems/iosupp.h>
22#include <rtems/console.h>
23#include <rtems/clockdrv.h>
24
25#define BSP_FEATURE_IRQ_EXTENSION
26
27/*
28 *  Define the interrupt mechanism for Time Test 27
29 *
30 *  NOTE: Following are not defined and are board independent
31 *
32 */
33struct rtems_bsdnet_ifconfig;
34int cs8900_driver_attach (struct rtems_bsdnet_ifconfig *config,
35                          int                          attaching);
36
37/*
38 * Network driver configuration
39 */
40#define RTEMS_BSP_NETWORK_DRIVER_NAME   "eth0"
41#define RTEMS_BSP_NETWORK_DRIVER_ATTACH cs8900_driver_attach
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* _BSP_H */
Note: See TracBrowser for help on using the repository browser.