source: rtems/c/src/lib/libbsp/arm/nds/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: 1.1 KB
Line 
1/*
2 * Copyright (c) 2008 by Matthieu Bucchianeri <mbucchia@gmail.com>
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 *
7 * http://www.rtems.com/license/LICENSE
8 */
9
10#ifndef __BSP_H_
11#define __BSP_H_
12
13#ifdef __cplusplus
14extern "C"
15{
16#endif
17
18#include <bspopts.h>
19#include <bsp/default-initial-extension.h>
20#include <rtems.h>
21#include <rtems/iosupp.h>
22#include <rtems/bspIo.h>
23#include <rtems/console.h>
24#include <rtems/clockdrv.h>
25
26  struct rtems_bsdnet_ifconfig;
27
28  int
29    rtems_wifi_driver_attach (struct rtems_bsdnet_ifconfig *config,
30                              int attach);
31
32#define RTEMS_BSP_NETWORK_DRIVER_NAME   "dswifi0"
33#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_wifi_driver_attach
34
35#define RTC_DRIVER_TABLE_ENTRY \
36    { rtc_initialize, NULL, NULL, NULL, NULL, NULL }
37  extern rtems_device_driver rtc_initialize (rtems_device_major_number major,
38                                             rtems_device_minor_number minor,
39                                             void *arg);
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif
Note: See TracBrowser for help on using the repository browser.