Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup RTEMSBSPsSHSim |
---|
5 | * |
---|
6 | * @brief Global BSP definitions. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * SH-gdb simulator BSP |
---|
11 | * |
---|
12 | * This include file contains all board IO definitions. |
---|
13 | */ |
---|
14 | |
---|
15 | /* |
---|
16 | * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) |
---|
17 | * |
---|
18 | * COPYRIGHT (c) 2001, Ralf Corsepius, Ulm, Germany |
---|
19 | * |
---|
20 | * This program is distributed in the hope that it will be useful, |
---|
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
23 | * |
---|
24 | * COPYRIGHT (c) 2001. |
---|
25 | * On-Line Applications Research Corporation (OAR). |
---|
26 | * |
---|
27 | * The license and distribution terms for this file may be |
---|
28 | * found in the file LICENSE in this distribution or at |
---|
29 | * http://www.rtems.org/license/LICENSE. |
---|
30 | */ |
---|
31 | |
---|
32 | #ifndef LIBBSP_SH_SHSIM_BSP_H |
---|
33 | #define LIBBSP_SH_SHSIM_BSP_H |
---|
34 | |
---|
35 | /** |
---|
36 | * @defgroup RTEMSBSPsSHSim Simulator |
---|
37 | * |
---|
38 | * @ingroup RTEMSBSPsSH |
---|
39 | * |
---|
40 | * @brief Simulator Board Support Package. |
---|
41 | * |
---|
42 | * @{ |
---|
43 | */ |
---|
44 | |
---|
45 | #ifndef ASM |
---|
46 | |
---|
47 | #include <rtems.h> |
---|
48 | |
---|
49 | #include <bspopts.h> |
---|
50 | #include <bsp/default-initial-extension.h> |
---|
51 | |
---|
52 | /* |
---|
53 | * FIXME: One of these would be enough. |
---|
54 | */ |
---|
55 | #include <rtems/devnull.h> |
---|
56 | |
---|
57 | #ifdef __cplusplus |
---|
58 | extern "C" { |
---|
59 | #endif |
---|
60 | |
---|
61 | /* Constants */ |
---|
62 | |
---|
63 | void *clock_driver_sim_idle_body(uintptr_t); |
---|
64 | #define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body |
---|
65 | |
---|
66 | /* |
---|
67 | * BSP methods that cross file boundaries. |
---|
68 | */ |
---|
69 | int _sys_exit (int n); |
---|
70 | void bsp_hw_init(void); |
---|
71 | |
---|
72 | #ifdef __cplusplus |
---|
73 | } |
---|
74 | #endif |
---|
75 | |
---|
76 | #endif /* !ASM */ |
---|
77 | |
---|
78 | /** @} */ |
---|
79 | |
---|
80 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.