Changeset 2ab000f in rtems
- Timestamp:
- 03/31/04 11:11:09 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ae5901be
- Parents:
- 4debfd36
- Location:
- c/src/lib/libcpu/m68k
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/m68k/ChangeLog
r4debfd36 r2ab000f 1 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * mcf5206/console/mcfuart.c, mcf5206/include/mcf5206e.h: Cosmetics. 4 1 5 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> 2 6 -
c/src/lib/libcpu/m68k/mcf5206/console/mcfuart.c
r4debfd36 r2ab000f 111 111 div = SYSTEM_CLOCK_FREQUENCY / (rate * 32); 112 112 113 *MCF5206E_UBG1(MBAR,uart->chn) = (uint8_t 114 *MCF5206E_UBG2(MBAR,uart->chn) = (uint8_t 113 *MCF5206E_UBG1(MBAR,uart->chn) = (uint8_t)((div >> 8) & 0xff); 114 *MCF5206E_UBG2(MBAR,uart->chn) = (uint8_t)(div & 0xff); 115 115 } 116 116 -
c/src/lib/libcpu/m68k/mcf5206/include/mcf5206e.h
r4debfd36 r2ab000f 24 24 #else 25 25 #define MCF5206E_REG8(base,ofs) \ 26 (volatile uint8_t *)((uint8_t*)(base) + (ofs))26 (volatile uint8_t*)((uint8_t*)(base) + (ofs)) 27 27 #define MCF5206E_REG16(base,ofs) \ 28 (volatile uint16_t *)((uint8_t*)(base) + (ofs))28 (volatile uint16_t*)((uint8_t*)(base) + (ofs)) 29 29 #define MCF5206E_REG32(base,ofs) \ 30 (volatile uint32_t *)((uint8_t*)(base) + (ofs))30 (volatile uint32_t*)((uint8_t*)(base) + (ofs)) 31 31 #endif 32 32
Note: See TracChangeset
for help on using the changeset viewer.