Changeset 2ab000f in rtems


Ignore:
Timestamp:
Mar 31, 2004, 11:11:09 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ae5901be
Parents:
4debfd36
Message:

2004-03-31 Ralf Corsepius <ralf_corsepius@…>

  • mcf5206/console/mcfuart.c, mcf5206/include/mcf5206e.h: Cosmetics.
Location:
c/src/lib/libcpu/m68k
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/m68k/ChangeLog

    r4debfd36 r2ab000f  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * mcf5206/console/mcfuart.c, mcf5206/include/mcf5206e.h: Cosmetics.
     4
    152004-03-30      Ralf Corsepius <ralf_corsepius@rtems.org>
    26
  • c/src/lib/libcpu/m68k/mcf5206/console/mcfuart.c

    r4debfd36 r2ab000f  
    111111    div = SYSTEM_CLOCK_FREQUENCY / (rate * 32);
    112112   
    113     *MCF5206E_UBG1(MBAR,uart->chn) = (uint8_t  )((div >> 8) & 0xff);
    114     *MCF5206E_UBG2(MBAR,uart->chn) = (uint8_t  )(div & 0xff);
     113    *MCF5206E_UBG1(MBAR,uart->chn) = (uint8_t)((div >> 8) & 0xff);
     114    *MCF5206E_UBG2(MBAR,uart->chn) = (uint8_t)(div & 0xff);
    115115}
    116116
  • c/src/lib/libcpu/m68k/mcf5206/include/mcf5206e.h

    r4debfd36 r2ab000f  
    2424#else
    2525#define MCF5206E_REG8(base,ofs) \
    26     (volatile uint8_t   *)((uint8_t   *)(base) + (ofs))
     26    (volatile uint8_t*)((uint8_t*)(base) + (ofs))
    2727#define MCF5206E_REG16(base,ofs) \
    28     (volatile uint16_t   *)((uint8_t   *)(base) + (ofs))
     28    (volatile uint16_t*)((uint8_t*)(base) + (ofs))
    2929#define MCF5206E_REG32(base,ofs) \
    30     (volatile uint32_t   *)((uint8_t   *)(base) + (ofs))
     30    (volatile uint32_t*)((uint8_t*)(base) + (ofs))
    3131#endif
    3232
Note: See TracChangeset for help on using the changeset viewer.