diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-09-28 13:29:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-09-28 13:29:25 +0000 |
commit | 152790ae61d967200102ca3f914f08b85a858dd3 (patch) | |
tree | 30b8e8db91030b45a3891f4867f7c11975294e56 /c/src/lib/libcpu/powerpc/old_exception_processing/cpu.h | |
parent | 2001-09-27 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-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 '')
-rw-r--r-- | c/src/lib/libcpu/powerpc/old_exception_processing/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/powerpc/old_exception_processing/cpu.h b/c/src/lib/libcpu/powerpc/old_exception_processing/cpu.h index 7a444a58b0..9097e68478 100644 --- a/c/src/lib/libcpu/powerpc/old_exception_processing/cpu.h +++ b/c/src/lib/libcpu/powerpc/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 ); \ |