[rtems commit] gen68340/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: 99a1a2c5e95ca5ee26487da7df3385e1e5b4149d
Changeset: http://git.rtems.org/rtems/commit/?id=99a1a2c5e95ca5ee26487da7df3385e1e5b4149d
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Mar 17 13:25:47 2014 -0500
gen68340/include/bsp.h: Remove rtems_bsp_delay()
---
c/src/lib/libbsp/m68k/gen68340/include/bsp.h | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/c/src/lib/libbsp/m68k/gen68340/include/bsp.h b/c/src/lib/libbsp/m68k/gen68340/include/bsp.h
index 735cfc8..f4598b3 100644
--- a/c/src/lib/libbsp/m68k/gen68340/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68340/include/bsp.h
@@ -46,22 +46,6 @@ extern "C" {
* @brief Motorola MC68340 support.
*/
-/*
- * 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=123; \
- __asm__ volatile( "0: \
- nbcd %0 ; \
- nbcd %0 ; \
- dbf %1,0b" \
- : "=d" (_tmp), "=d" (_delay) \
- : "0" (_tmp), "1" (_delay) ); \
- }
-
/* Constants */
/* Structures */
More information about the vc
mailing list