summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-17 13:23:06 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-21 08:55:04 -0500
commit8c4821e48c856b9f2c0141a9e4e6ad1e31e5247a (patch)
tree475f4c46ca097e95e5abb9b74ed550bdd6ed5886
parentniagara/include/bsp.h: Remove rtems_bsp_delay() (diff)
downloadrtems-8c4821e48c856b9f2c0141a9e4e6ad1e31e5247a.tar.bz2
usiii/include/bsp.h: Remove rtems_bsp_delay()
-rw-r--r--c/src/lib/libbsp/sparc64/usiii/include/bsp.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/c/src/lib/libbsp/sparc64/usiii/include/bsp.h b/c/src/lib/libbsp/sparc64/usiii/include/bsp.h
index f8e9e1de5b..9d5994af75 100644
--- a/c/src/lib/libbsp/sparc64/usiii/include/bsp.h
+++ b/c/src/lib/libbsp/sparc64/usiii/include/bsp.h
@@ -46,23 +46,6 @@ rtems_isr_entry set_vector( /* returns old vector */
int type /* RTEMS or RAW intr */
);
-/*
- * 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 ) \
- { register uint32_t _delay=(microseconds); \
- register uint32_t _tmp = 0; /* initialized to avoid warning */ \
- __asm__ volatile( "0: \
- remo 3,31,%0 ; \
- cmpo 0,%0 ; \
- subo 1,%1,%1 ; \
- cmpobne.t 0,%1,0b " \
- : "=d" (_tmp), "=d" (_delay) \
- : "0" (_tmp), "1" (_delay) ); \
- }
-
#ifdef __cplusplus
}
#endif