Ticket #57: pr57.diff

File pr57.diff, 1.6 KB (added by Joel Sherrill, on 12/03/06 at 13:31:12)

pr57.diff

Line 
1Index: ChangeLog
2===================================================================
3RCS file: /usr1/CVS/rtems/c/src/lib/libcpu/powerpc/ChangeLog,v
4retrieving revision 1.46
5diff -c -r1.46 ChangeLog
6*** ChangeLog   2002/04/03 14:22:48     1.46
7--- ChangeLog   2002/04/03 19:08:14
8***************
9*** 1,3 ****
10--- 1,12 ----
11+ 2001-04-03    Joel Sherrill <joel@OARcorp.com>
12+
13+       * Closed PR57.  The hack is OK as it allows a BSP to override
14+       or not at its discretion.
15+       * mpc8xx/timer/timer.c: Removed #warning declaring providing a
16+       default definition for the macros
17+       rtems_cpu_configuration_get_timer_least_valid and
18+       rtems_cpu_configuration_get_timer_average_overhead.
19+
20  2002-02-04    Ralf Corsepius <corsepiu@faw.uni-ulm.de>
21 
22        * shared/include/byteorder.h: Use unsigned instead of __unsigned
23Index: mpc8xx/timer/timer.c
24===================================================================
25RCS file: /usr1/CVS/rtems/c/src/lib/libcpu/powerpc/mpc8xx/timer/timer.c,v
26retrieving revision 1.4
27diff -c -r1.4 timer.c
28*** mpc8xx/timer/timer.c        2001/10/29 14:25:55     1.4
29--- mpc8xx/timer/timer.c        2002/04/03 19:08:14
30***************
31*** 71,82 ****
32 
33  #ifndef  rtems_cpu_configuration_get_timer_least_valid
34  #define  rtems_cpu_configuration_get_timer_least_valid() 0
35- #warning "rtems_cpu_configuration_get_timer_least_valid HACK tripped!"
36  #endif
37 
38  #ifndef  rtems_cpu_configuration_get_timer_average_overhead
39  #define  rtems_cpu_configuration_get_timer_average_overhead() 0
40- #warning "rtems_cpu_configuration_get_timer_average_overhead HACK tripped!"
41  #endif
42 
43  int Read_timer(void)
44--- 71,80 ----