diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-24 16:39:44 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-24 16:39:44 +0000 |
commit | ae1a501c95543752facf37234e8108aa41280357 (patch) | |
tree | b7dc926e7cb11384e050e9b7e433ea630e2d1fba /c/src/lib/libbsp/sh/shsim/include/bsp.h | |
parent | 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-ae1a501c95543752facf37234e8108aa41280357.tar.bz2 |
2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, clock/clockdrv.c, include/bsp.h,
start/start.S, startup/linkcmds: Now runs ticker and hello on
sh-rtems4.10-gdb. The SH simulator in gdb has no hardware IO or
interrupt simulation so we use the trap interface to print.
* gdbsci/gdbsci.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/sh/shsim/include/bsp.h')
-rw-r--r-- | c/src/lib/libbsp/sh/shsim/include/bsp.h | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/include/bsp.h b/c/src/lib/libbsp/sh/shsim/include/bsp.h index 3613fe8fa7..b4b0c3e074 100644 --- a/c/src/lib/libbsp/sh/shsim/include/bsp.h +++ b/c/src/lib/libbsp/sh/shsim/include/bsp.h @@ -42,6 +42,9 @@ extern "C" { /* Constants */ +Thread clock_driver_sim_idle_body(uintptr_t); +#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body + /* * Simple spin delay in microsecond units for device drivers. * This is very dependent on the clock speed of the target. @@ -59,23 +62,6 @@ extern "C" { extern void *CPU_Interrupt_stack_low ; extern void *CPU_Interrupt_stack_high ; -/* - * Device Driver Table Entries - */ - -/* - * Redefine CONSOLE_DRIVER_TABLE_ENTRY to redirect /dev/console - */ -#undef CONSOLE_DRIVER_TABLE_ENTRY -#define CONSOLE_DRIVER_TABLE_ENTRY \ - BSP_CONSOLE_DRIVER_TABLE_ENTRY, \ - { console_initialize, console_open, console_close, \ - console_read, console_write, console_control } - -/* - * NOTE: Use the standard Clock driver entry - */ - #ifdef __cplusplus } #endif |