diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 04:20:42 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 04:20:42 +0000 |
commit | 090760c5f11c62ac7f206140ee94747c912dfb96 (patch) | |
tree | 762481bb2fc16382b99fd47da62b13eef741bda6 /c/src/lib/libbsp/i960/cvme961/shmsupp/getcfg.c | |
parent | 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-090760c5f11c62ac7f206140ee94747c912dfb96.tar.bz2 |
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/ckinit.c, include/bsp.h, shmsupp/addrconv.c,
shmsupp/getcfg.c, shmsupp/lock.c, shmsupp/mpisr.c,
startup/bspstart.c, timer/timer.c: Convert to using c99 fixed size
types.
Diffstat (limited to 'c/src/lib/libbsp/i960/cvme961/shmsupp/getcfg.c')
-rw-r--r-- | c/src/lib/libbsp/i960/cvme961/shmsupp/getcfg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/i960/cvme961/shmsupp/getcfg.c b/c/src/lib/libbsp/i960/cvme961/shmsupp/getcfg.c index 2fac8e1567..6be8343522 100644 --- a/c/src/lib/libbsp/i960/cvme961/shmsupp/getcfg.c +++ b/c/src/lib/libbsp/i960/cvme961/shmsupp/getcfg.c @@ -54,17 +54,17 @@ shm_config_table BSP_shm_cfgtbl; void Shm_Get_configuration( - rtems_unsigned32 localnode, + uint32_t localnode, shm_config_table **shmcfg ) { #if ( USE_ONBOARD_RAM == 1 ) if ( Shm_RTEMS_MP_Configuration->node == MASTER ) - BSP_shm_cfgtbl.base = (rtems_unsigned32 *)0x00300000; + BSP_shm_cfgtbl.base = (uint32_t*)0x00300000; else - BSP_shm_cfgtbl.base = (rtems_unsigned32 *)0x10300000; + BSP_shm_cfgtbl.base = (uint32_t*)0x10300000; #else - BSP_shm_cfgtbl.base = (rtems_unsigned32 *)0x20000000; + BSP_shm_cfgtbl.base = (uint32_t*)0x20000000; #endif BSP_shm_cfgtbl.length = 1 * MEGABYTE; @@ -86,7 +86,7 @@ void Shm_Get_configuration( #else BSP_shm_cfgtbl.poll_intr = INTR_MODE; BSP_shm_cfgtbl.Intr.address = - (rtems_unsigned32 *) (0xffff0021|((localnode-1) << 12)); + (uint32_t*) (0xffff0021|((localnode-1) << 12)); /* use ICMS0 */ BSP_shm_cfgtbl.Intr.value = 1; BSP_shm_cfgtbl.Intr.length = BYTE; |