2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>

* shared/clock/clockdrv.c: Eliminate copies of the Configuration Table.
	Use the RTEMS provided accessor macros to obtain configuration
	fields.
This commit is contained in:
Joel Sherrill
2007-12-11 15:50:13 +00:00
parent a3ca595f1a
commit bdb600591a
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/clock/clockdrv.c: Eliminate copies of the Configuration Table.
Use the RTEMS provided accessor macros to obtain configuration
fields.
2007-09-10 Alain Schaefer <alani@easc.ch>
* shared/start/start.S: Initialize bss to zero.

View File

@@ -36,7 +36,7 @@
#define Clock_driver_support_initialize_hardware() \
*((uint32_t*)TCNTL) = TAUTORLD|TMREN|TMPWR; \
*((uint32_t*)TPERIOD) = CCLK / 1000000 * BSP_Configuration.microseconds_per_tick; \
*((uint32_t*)TPERIOD) = CCLK / 1000000 * rtems_configuration_get_microseconds_per_tick(); \
*((uint32_t*)TSCALE) = 0; \
do { \
} while (0)