[PATCH 06/25] shsim/include/bsp.h: Remove rtems_bsp_delay()

Joel Sherrill joel.sherrill at oarcorp.com
Thu Mar 20 18:29:02 UTC 2014


---
 c/src/lib/libbsp/sh/shsim/include/bsp.h |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/c/src/lib/libbsp/sh/shsim/include/bsp.h b/c/src/lib/libbsp/sh/shsim/include/bsp.h
index 56d4c29..32f5b61 100644
--- a/c/src/lib/libbsp/sh/shsim/include/bsp.h
+++ b/c/src/lib/libbsp/sh/shsim/include/bsp.h
@@ -46,21 +46,11 @@ 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.
- *
- * FIXME: Not applicable with gdb's simulator
- * Kept for sourcecode compatibility with other sh-BSPs
- */
-#define rtems_bsp_delay( microseconds ) CPU_delay(microseconds)
-#define sh_delay( microseconds ) CPU_delay(microseconds)
-
-/*
  * Defined in the linker script 'linkcmds'
  */
 
-extern void *CPU_Interrupt_stack_low ;
-extern void *CPU_Interrupt_stack_high ;
+extern void *CPU_Interrupt_stack_low;
+extern void *CPU_Interrupt_stack_high;
 
 #ifdef __cplusplus
 }
-- 
1.7.1




More information about the devel mailing list