[rtems commit] gensh2/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:    5830f5a9e133cf75d71edafa11cd8f13abcda525
Changeset: http://git.rtems.org/rtems/commit/?id=5830f5a9e133cf75d71edafa11cd8f13abcda525

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

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

---

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

diff --git a/c/src/lib/libbsp/sh/gensh2/include/bsp.h b/c/src/lib/libbsp/sh/gensh2/include/bsp.h
index 9f78eee..969a2ec 100644
--- a/c/src/lib/libbsp/sh/gensh2/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh2/include/bsp.h
@@ -66,19 +66,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