[rtems commit] shsim/include/bsp.h: Remove rtems_bsp_delay()
Joel Sherrill
joel at rtems.org
Fri Mar 21 13:47:40 UTC 2014
Module: rtems
Branch: master
Commit: 851c44ef449824f4afddcb011ec95bb5c997912e
Changeset: http://git.rtems.org/rtems/commit/?id=851c44ef449824f4afddcb011ec95bb5c997912e
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Mar 17 13:23:59 2014 -0500
shsim/include/bsp.h: Remove rtems_bsp_delay()
---
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 a699470..e9adb13 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
}
More information about the vc
mailing list