forked from Imagelibrary/rtems
2001-10-29 Joel Sherrill <joel@OARcorp.com>
* 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.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2001-10-29 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2001-10-24 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* mpc8260/clock/.cvsignore, mpc8260/console-generic/.cvsignore,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user