summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-17 13:25:47 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-21 08:55:06 -0500
commit31f1ef9ddbb2d2b0ebad06c2d542f3401d675e58 (patch)
treebef877512d355688e4b9fd686c17721f24695d5a /c/src/lib/libbsp/i386/pc386/include
parenth8sim/include/bsp.h: Remove rtems_bsp_delay() (diff)
downloadrtems-31f1ef9ddbb2d2b0ebad06c2d542f3401d675e58.tar.bz2
pc386/include/bsp.h: Remove rtems_bsp_delay()
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/include')
-rw-r--r--c/src/lib/libbsp/i386/pc386/include/bsp.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/include/bsp.h b/c/src/lib/libbsp/i386/pc386/include/bsp.h
index 71ef3e750b..cb9555adfb 100644
--- a/c/src/lib/libbsp/i386/pc386/include/bsp.h
+++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h
@@ -162,22 +162,6 @@ extern int rtems_3c509_driver_attach(struct rtems_bsdnet_ifconfig *config);
#define BSP_CONSOLE_COM2 2
/*-------------------------------------------------------------------------+
-| Macros
-+--------------------------------------------------------------------------*/
-/* does anyone need this? if so, report it so we can rename this macro */
-#if 0
-/*-------------------------------------------------------------------------+
-| 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) \
-{ \
- uint32_t _cnt = _microseconds; \
- __asm__ volatile ("0: nop; mov %0,%0; loop 0b" : "=c"(_cnt) : "0"(_cnt)); \
-}
-#endif
-
-/*-------------------------------------------------------------------------+
| Convert microseconds to ticks and ticks to microseconds.
+--------------------------------------------------------------------------*/
#define US_TO_TICK(us) (((us)*105+44)/88)