forked from Imagelibrary/rtems
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:
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user