[rtems commit] gensh1/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:    8fd544d59d726a8ca42f327c6414e26582982fd0
Changeset: http://git.rtems.org/rtems/commit/?id=8fd544d59d726a8ca42f327c6414e26582982fd0

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon Mar 17 13:23:59 2014 -0500

gensh1/include/bsp.h: Remove rtems_bsp_delay()

---

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

diff --git a/c/src/lib/libbsp/sh/gensh1/include/bsp.h b/c/src/lib/libbsp/sh/gensh1/include/bsp.h
index 17b1fc0..af4653a 100644
--- a/c/src/lib/libbsp/sh/gensh1/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh1/include/bsp.h
@@ -50,19 +50,11 @@ extern "C" {
 /* Constants */
 
 /*
- *  Simple spin delay in microsecond units for device drivers.
- *  This is very dependent on the clock speed of the target.
- */
-
-#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;
 
 /*
  *  Device Driver Table Entries




More information about the vc mailing list