4.115
Last change
on this file since 032e5e4 was
032e5e4,
checked in by Anthony Green <green@…>, on 02/27/13 at 18:13:20
|
Add sample Moxie BSP for GDB sim
Signed-off-by: Anthony Green <green@…>
|
-
Property mode set to
100644
|
File size:
918 bytes
|
Line | |
---|
1 | /* bsp.h |
---|
2 | * |
---|
3 | * This include file contains some definitions specific to the |
---|
4 | * moxie simulator in gdb. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-1999, 2010. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.rtems.com/license/LICENSE. |
---|
12 | */ |
---|
13 | |
---|
14 | #ifndef _BSP_H |
---|
15 | #define _BSP_H |
---|
16 | |
---|
17 | #ifdef __cplusplus |
---|
18 | extern "C" { |
---|
19 | #endif |
---|
20 | |
---|
21 | #include <bspopts.h> |
---|
22 | |
---|
23 | #include <rtems.h> |
---|
24 | #include <rtems/iosupp.h> |
---|
25 | #include <rtems/console.h> |
---|
26 | #include <rtems/clockdrv.h> |
---|
27 | |
---|
28 | /* support for simulated clock tick */ |
---|
29 | Thread clock_driver_sim_idle_body(uintptr_t); |
---|
30 | #define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body |
---|
31 | |
---|
32 | /* |
---|
33 | * Simple spin delay in microsecond units for device drivers. |
---|
34 | * This is very dependent on the clock speed of the target. |
---|
35 | */ |
---|
36 | |
---|
37 | #define rtems_bsp_delay( microseconds ) \ |
---|
38 | { \ |
---|
39 | } |
---|
40 | |
---|
41 | #ifdef __cplusplus |
---|
42 | } |
---|
43 | #endif |
---|
44 | |
---|
45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.