[rtems commit] sim68000/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: 43e5a3ca4b27290883ef2c1638d86e994b9adb5a
Changeset: http://git.rtems.org/rtems/commit/?id=43e5a3ca4b27290883ef2c1638d86e994b9adb5a
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Mar 17 13:25:48 2014 -0500
sim68000/include/bsp.h: Remove rtems_bsp_delay()
---
c/src/lib/libbsp/m68k/sim68000/include/bsp.h | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/c/src/lib/libbsp/m68k/sim68000/include/bsp.h b/c/src/lib/libbsp/m68k/sim68000/include/bsp.h
index e8c1150..ba1254d 100644
--- a/c/src/lib/libbsp/m68k/sim68000/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/sim68000/include/bsp.h
@@ -30,23 +30,6 @@ extern "C" {
* Define some hardware constants here
*/
-/*
- * 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) ); \
- }
-
/* functions */
rtems_isr_entry set_vector( rtems_isr_entry, rtems_vector_number, int );
More information about the vc
mailing list