Changeset 0f9ecc4e in rtems for c/src/lib/libcpu/m68k/mcf5206


Ignore:
Timestamp:
Dec 11, 2007, 3:45:54 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
35f1d89
Parents:
36a8a2d
Message:

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

  • mcf5206/clock/ckinit.c, mcf5272/clock/ckinit.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/m68k/mcf5206/clock/ckinit.c

    r36a8a2d r0f9ecc4e  
    8080Clock_exit(void)
    8181{
    82     if (BSP_Configuration.ticks_per_timeslice)
     82    if (rtems_configuration_get_ticks_per_timeslice())
    8383    {
    8484        /* disable all timer1 interrupts */
     
    108108{
    109109    Clock_driver_ticks = 0;
    110     if (BSP_Configuration.ticks_per_timeslice)
     110    if (rtems_configuration_get_ticks_per_timeslice())
    111111    {
    112112        /* Configure timer1 interrupts */
     
    134134           
    135135        /* 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;
    137137
    138138        /* Feed system frequency to the timer */
Note: See TracChangeset for help on using the changeset viewer.