diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 03:08:46 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 03:08:46 +0000 |
commit | ed9e44994265d3dccca845c7aade2f634184c339 (patch) | |
tree | 310e30f691e0044c7ee9349939171d913dcb4195 /c/src/lib/libbsp/powerpc/dmv177/sonic | |
parent | 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-ed9e44994265d3dccca845c7aade2f634184c339.tar.bz2 |
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/clock.c, console/conscfg.c, console/debugio.c,
include/bsp.h, include/dmv170.h, scv64/scv64.c, sonic/dmvsonic.c,
startup/bspstart.c, startup/genpvec.c, startup/vmeintr.c,
timer/timer.c, tod/todcfg.c: Convert to using c99 fixed size types.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/dmv177/sonic')
-rw-r--r-- | c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c b/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c index a068c74f31..f769f4e635 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c +++ b/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c @@ -15,11 +15,11 @@ void dmv177_sonic_write_register( void *base, - unsigned32 regno, - unsigned32 value + uint32_t regno, + uint32_t value ) { - volatile unsigned32 *p = base; + volatile uint32_t *p = base; #if (SONIC_DEBUG & SONIC_DEBUG_PRINT_REGISTERS) printf( "%p Write 0x%04x to %s (0x%02x)\n", @@ -29,13 +29,13 @@ void dmv177_sonic_write_register( p[regno] = value; } -unsigned32 dmv177_sonic_read_register( +uint32_t dmv177_sonic_read_register( void *base, - unsigned32 regno + uint32_t regno ) { - volatile unsigned32 *p = base; - unsigned32 value; + volatile uint32_t *p = base; + uint32_t value; value = p[regno]; #if (SONIC_DEBUG & SONIC_DEBUG_PRINT_REGISTERS) |