forked from Imagelibrary/rtems
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c: Ensure that clock ticks are long enough to make forward progress. This was modified to improve results on the RTEMS tests and the ACATS. * startup/linkcmds: Modified to work better with gcc 2.8.1 and gnat 3.13p.
This commit is contained in:
@@ -34,7 +34,7 @@ unsigned int PPC_DECREMENTER_CLICKS;
|
|||||||
_old = (rtems_isr_entry) set_vector( _new, CLOCK_VECTOR, 1 ); \
|
_old = (rtems_isr_entry) set_vector( _new, CLOCK_VECTOR, 1 ); \
|
||||||
PPC_DECREMENTER_CLICKS = (unsigned int)&PSIM_INSTRUCTIONS_PER_MICROSECOND; \
|
PPC_DECREMENTER_CLICKS = (unsigned int)&PSIM_INSTRUCTIONS_PER_MICROSECOND; \
|
||||||
PPC_DECREMENTER_CLICKS *= rtems_configuration_get_microseconds_per_tick(); \
|
PPC_DECREMENTER_CLICKS *= rtems_configuration_get_microseconds_per_tick(); \
|
||||||
PPC_DECREMENTER_CLICKS = 1000; \
|
/* PPC_DECREMENTER_CLICKS = 5000; */ \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
#define Clock_driver_support_initialize_hardware() \
|
#define Clock_driver_support_initialize_hardware() \
|
||||||
|
|||||||
@@ -64,8 +64,8 @@ SECTIONS
|
|||||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||||
*(.gnu.warning)
|
*(.gnu.warning)
|
||||||
} >RAM
|
} >RAM
|
||||||
.init : { *(.init) } >RAM
|
.init : { __init = .; *(.init) } >RAM
|
||||||
.fini : { *(.fini) } >RAM
|
.fini : { __fini = .; *(.fini) } >RAM
|
||||||
.rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM
|
.rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM
|
||||||
.rodata1 : { *(.rodata1) } >RAM
|
.rodata1 : { *(.rodata1) } >RAM
|
||||||
PROVIDE (_etext = .);
|
PROVIDE (_etext = .);
|
||||||
|
|||||||
Reference in New Issue
Block a user