source: rtems/c/src/lib/libbsp/arm/smdk2410/include/bsp.h @ a052181

4.115
Last change on this file since a052181 was a052181, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 14, 2012 at 8:59:10 AM

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: 844 bytes
Line 
1/*-------------------------------------------------------------------------+
2| bsp.h - ARM BSP
3|
4| Copyright (c) Ray,Xu  mailto:ray.cn AT gmail dot 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
11
12#ifndef _BSP_H
13#define _BSP_H
14
15#include <bspopts.h>
16#include <bsp/default-initial-extension.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22/**
23 *  This file will not be pre-installed because the smdk2410 BSP uses
24 *  the bsp.h in gp32 currently.  This file is a placeholder. If you
25 *  need to add something specical for your 2410 BSP please override
26 *  this file with your own and change Makefile.am
27 */
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* _BSP_H */
34
Note: See TracBrowser for help on using the repository browser.