summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-01 14:13:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-01 14:13:02 +0000
commitff0187023fd6b1834217d7f2b9fe035b39305a46 (patch)
treeefba5c19035d938125c7e7f43446162a5f2b3929 /c/src/lib/libbsp
parentCorrected BSP name in script. (diff)
downloadrtems-ff0187023fd6b1834217d7f2b9fe035b39305a46.tar.bz2
Removed unused macro.
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/i960/i960sim/include/bsp.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/c/src/lib/libbsp/i960/i960sim/include/bsp.h b/c/src/lib/libbsp/i960/i960sim/include/bsp.h
index ac8ecb48bb..5e641736bf 100644
--- a/c/src/lib/libbsp/i960/i960sim/include/bsp.h
+++ b/c/src/lib/libbsp/i960/i960sim/include/bsp.h
@@ -53,23 +53,6 @@ extern "C" {
#define Lower_tm27_intr()
-/*
- * Simple spin delay in microsecond units for device drivers.
- * This is very dependent on the clock speed of the target.
- */
-
-#define delay( microseconds ) \
- { register rtems_unsigned32 _delay=(microseconds); \
- register rtems_unsigned32 _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) ); \
- }
-
/* Constants */
/* miscellaneous stuff assumed to exist */