Changeset f817b02 in rtems for c/src/lib/libcpu/sh/sh7032/clock/ckinit.c
- Timestamp:
- 11/04/99 18:05:09 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 707f5c7
- Parents:
- d5704c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/sh/sh7032/clock/ckinit.c
rd5704c6 rf817b02 23 23 */ 24 24 25 #include < bsp.h>25 #include <rtems.h> 26 26 27 27 #include <stdlib.h> … … 144 144 145 145 Clock_driver_ticks = 0; 146 Clock_isrs_const = BSP_Configuration.microseconds_per_tick/ 10000;146 Clock_isrs_const = rtems_configuration_get_microseconds_per_tick() / 10000; 147 147 Clock_isrs = Clock_isrs_const; 148 148 … … 152 152 */ 153 153 154 if ( BSP_Configuration.ticks_per_timeslice) {154 if ( rtems_configuration_get_ticks_per_timeslice() ) { 155 155 rtems_interrupt_catch( Clock_isr, CLOCK_VECTOR, &Old_ticker ); 156 156 /* … … 192 192 193 193 /* set counter limits */ 194 write16( _ITU_COUNTER0_MICROSECOND * BSP_Configuration.microseconds_per_tick,194 write16( _ITU_COUNTER0_MICROSECOND * rtems_configuration_get_microseconds_per_tick(), 195 195 ITU_GRA0); 196 196 … … 215 215 { 216 216 unsigned8 temp8 = 0; 217 if ( BSP_Configuration.ticks_per_timeslice) {217 if ( rtems_configuration_get_ticks_per_timeslice() ) { 218 218 219 219 /* turn off the timer interrupts */
Note: See TracChangeset
for help on using the changeset viewer.