[rtems commit] gensh4/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:    770ad77a1527fe7149acb252831487d86fc09f75
Changeset: http://git.rtems.org/rtems/commit/?id=770ad77a1527fe7149acb252831487d86fc09f75

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

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

---

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

diff --git a/c/src/lib/libbsp/sh/gensh4/include/bsp.h b/c/src/lib/libbsp/sh/gensh4/include/bsp.h
index 061885b..611c72e 100644
--- a/c/src/lib/libbsp/sh/gensh4/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh4/include/bsp.h
@@ -53,19 +53,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 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;
 
 /*
  * Defined in start.S




More information about the vc mailing list