summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-28 13:29:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-28 13:29:25 +0000
commit152790ae61d967200102ca3f914f08b85a858dd3 (patch)
tree30b8e8db91030b45a3891f4867f7c11975294e56 /c/src/lib/libbsp
parentcf28209062c3c3e4247f5daf8aad2907a5494c3e (diff)
downloadrtems-152790ae61d967200102ca3f914f08b85a858dd3.tar.bz2
2001-09-27 Joel Sherrill <joel@OARcorp.com>
* old_exception_processing/cpu.h: Renamed delay() to rtems_bsp_delay(). Renamed delay_in_bus_cycles() to rtems_bsp_delay_in_bus_cycles(). * shared/include/cpu.h: Renamed delay() to rtems_bsp_delay(). Renamed delay_in_bus_cycles() to rtems_bsp_delay_in_bus_cycles().
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h b/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h
index 7a444a58b0..9097e68478 100644
--- a/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h
+++ b/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h
@@ -850,7 +850,7 @@ void _CPU_ISR_install_raw_handler(
#define CPU_Get_timebase_low( _value ) \
asm volatile( "mftb %0" : "=r" (_value) )
-#define delay( _microseconds ) \
+#define rtems_bsp_delay( _microseconds ) \
do { \
unsigned32 start, ticks, now; \
CPU_Get_timebase_low( start ) ; \
@@ -860,7 +860,7 @@ void _CPU_ISR_install_raw_handler(
while (now - start < ticks); \
} while (0)
-#define delay_in_bus_cycles( _cycles ) \
+#define rtems_bsp_delay_in_bus_cycles( _cycles ) \
do { \
unsigned32 start, now; \
CPU_Get_timebase_low( start ); \