summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart_reg.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 02:02:23 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 02:02:23 +0000
commit35f9701021dce847972c2ebe0d606532db891556 (patch)
treeb71452dbad55c6e8cc378e67e0f6008341be2a05 /c/src/lib/libcpu/mips/mongoosev/duart/mg5uart_reg.c
parent2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-35f9701021dce847972c2ebe0d606532db891556.tar.bz2
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/ckinit.c, clock/clock.h, mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h, mongoosev/duart/mg5uart_reg.c, mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c, shared/interrupts/vectorexceptions.c, timer/timer.c, tx39/include/tx3904.h: Convert to using c99 fixed size types.
Diffstat (limited to 'c/src/lib/libcpu/mips/mongoosev/duart/mg5uart_reg.c')
-rw-r--r--c/src/lib/libcpu/mips/mongoosev/duart/mg5uart_reg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart_reg.c b/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart_reg.c
index cf9fad3a40..b81d851fb2 100644
--- a/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart_reg.c
+++ b/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart_reg.c
@@ -2,7 +2,7 @@
* This file contains a typical set of register access routines which may be
* used with the mg5uart chip if accesses to the chip are as follows:
*
- * + registers are accessed as unsigned32's
+ * + registers are accessed as uint32_t 's
* + registers are only u32-aligned (no address gaps)
*
* COPYRIGHT (c) 1989-2001.
@@ -20,7 +20,7 @@
#ifndef _MG5UART_MULTIPLIER
#define _MG5UART_MULTIPLIER 1
#define _MG5UART_NAME(_X) _X
-#define _MG5UART_TYPE unsigned32
+#define _MG5UART_TYPE uint32_t
#endif
#define CALCULATE_REGISTER_ADDRESS( _base, _reg ) \
@@ -30,9 +30,9 @@
* MG5UART Get Register Routine
*/
-unsigned8 _MG5UART_NAME(mg5uart_get_register)(
- unsigned32 ulCtrlPort,
- unsigned8 ucRegNum
+uint8_t _MG5UART_NAME(mg5uart_get_register)(
+ uint32_t ulCtrlPort,
+ uint8_t ucRegNum
)
{
_MG5UART_TYPE *port;
@@ -47,9 +47,9 @@ unsigned8 _MG5UART_NAME(mg5uart_get_register)(
*/
void _MG5UART_NAME(mg5uart_set_register)(
- unsigned32 ulCtrlPort,
- unsigned8 ucRegNum,
- unsigned8 ucData
+ uint32_t ulCtrlPort,
+ uint8_t ucRegNum,
+ uint8_t ucData
)
{
_MG5UART_TYPE *port;