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 | /* bsp.h |
---|
2 | * |
---|
3 | * This include file contains all board IO definitions. |
---|
4 | * |
---|
5 | * XXX : put yours in here |
---|
6 | * |
---|
7 | * COPYRIGHT (c) 1989-1999. |
---|
8 | * On-Line Applications Research Corporation (OAR). |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.com/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #ifndef _BSP_H |
---|
16 | #define _BSP_H |
---|
17 | |
---|
18 | #ifdef __cplusplus |
---|
19 | extern "C" { |
---|
20 | #endif |
---|
21 | |
---|
22 | #include <bspopts.h> |
---|
23 | #include <bsp/default-initial-extension.h> |
---|
24 | |
---|
25 | #include <rtems.h> |
---|
26 | #include <rtems/console.h> |
---|
27 | #include <rtems/clockdrv.h> |
---|
28 | |
---|
29 | /* |
---|
30 | * Simple spin delay in microsecond units for device drivers. |
---|
31 | * This is very dependent on the clock speed of the target. |
---|
32 | */ |
---|
33 | |
---|
34 | #define rtems_bsp_delay( microseconds ) \ |
---|
35 | { \ |
---|
36 | } |
---|
37 | |
---|
38 | /* functions */ |
---|
39 | |
---|
40 | rtems_isr_entry set_vector( /* returns old vector */ |
---|
41 | rtems_isr_entry handler, /* isr routine */ |
---|
42 | rtems_vector_number vector, /* vector number */ |
---|
43 | int type /* RTEMS or RAW intr */ |
---|
44 | ); |
---|
45 | |
---|
46 | #ifdef __cplusplus |
---|
47 | } |
---|
48 | #endif |
---|
49 | |
---|
50 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.