From d8459d059ac69597b28bcdcc45607df5b827207d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 29 Oct 2001 14:25:55 +0000 Subject: 2001-10-29 Joel Sherrill * mpc8xx/timer/timer.c: Added hack for two macros that are not defined with the new exception processing model: rtems_cpu_configuration_get_timer_least_valid() rtems_cpu_configuration_get_timer_average_overhead() This is captured as PR57. --- c/src/lib/libcpu/powerpc/mpc8xx/timer/timer.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'c/src/lib/libcpu/powerpc/mpc8xx/timer') diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/timer/timer.c b/c/src/lib/libcpu/powerpc/mpc8xx/timer/timer.c index 2e1c332c73..b75503f381 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/timer/timer.c +++ b/c/src/lib/libcpu/powerpc/mpc8xx/timer/timer.c @@ -69,6 +69,16 @@ void Timer_initialize(void) Timer_starting = get_itimer(); } +#ifndef rtems_cpu_configuration_get_timer_least_valid +#define rtems_cpu_configuration_get_timer_least_valid() 0 +#warning "rtems_cpu_configuration_get_timer_least_valid HACK tripped!" +#endif + +#ifndef rtems_cpu_configuration_get_timer_average_overhead +#define rtems_cpu_configuration_get_timer_average_overhead() 0 +#warning "rtems_cpu_configuration_get_timer_average_overhead HACK tripped!" +#endif + int Read_timer(void) { rtems_unsigned32 clicks; -- cgit v1.2.3