Changeset 0f9ecc4e in rtems for c/src/lib/libcpu/m68k/mcf5206/clock
- Timestamp:
- Dec 11, 2007, 3:45:54 PM (13 years ago)
- Branches:
- 4.10, 4.11, 4.9, 5, master
- Children:
- 35f1d89
- Parents:
- 36a8a2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/m68k/mcf5206/clock/ckinit.c
r36a8a2d r0f9ecc4e 80 80 Clock_exit(void) 81 81 { 82 if ( BSP_Configuration.ticks_per_timeslice)82 if (rtems_configuration_get_ticks_per_timeslice()) 83 83 { 84 84 /* disable all timer1 interrupts */ … … 108 108 { 109 109 Clock_driver_ticks = 0; 110 if ( BSP_Configuration.ticks_per_timeslice)110 if (rtems_configuration_get_ticks_per_timeslice()) 111 111 { 112 112 /* Configure timer1 interrupts */ … … 134 134 135 135 /* Set the timer timeout value from the BSP config */ 136 *MCF5206E_TRR(MBAR, 1) = BSP_Configuration.microseconds_per_tick- 1;136 *MCF5206E_TRR(MBAR, 1) = rtems_configuration_get_microseconds_per_tick() - 1; 137 137 138 138 /* Feed system frequency to the timer */
Note: See TracChangeset
for help on using the changeset viewer.