diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 03:26:46 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 03:26:46 +0000 |
commit | cba5e8199de315aaa14742df79ee47bcfe5dc99d (patch) | |
tree | b48c315af6dfa971810140b3a6651bb170903e56 /c/src/lib/libbsp/powerpc | |
parent | 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-cba5e8199de315aaa14742df79ee47bcfe5dc99d.tar.bz2 |
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* startup/bspstart.c: Convert to using c99 fixed size types.
Diffstat (limited to 'c/src/lib/libbsp/powerpc')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen405/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen405/ChangeLog b/c/src/lib/libbsp/powerpc/gen405/ChangeLog index 431ad28a0b..82c6ea6c88 100644 --- a/c/src/lib/libbsp/powerpc/gen405/ChangeLog +++ b/c/src/lib/libbsp/powerpc/gen405/ChangeLog @@ -1,3 +1,7 @@ +2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> + + * startup/bspstart.c: Convert to using c99 fixed size types. + 2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Reflect changes to bsp.am. diff --git a/c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c index da776cc0c6..82ac8f0ac1 100644 --- a/c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c @@ -83,7 +83,7 @@ void *bsp_ram_end = (void *)RAM_END; /* first addr behind avail. ram area */ */ void bsp_postdriver_hook(void); -void bsp_libc_init( void *, unsigned32, int ); +void bsp_libc_init( void *, uint32_t, int ); /* * @@ -117,16 +117,16 @@ void bsp_pretasking_hook(void) { extern int _end; extern int _heap_end; - rtems_unsigned32 heap_start; - rtems_unsigned32 heap_size; - rtems_unsigned32 heap_end; + uint32_t heap_start; + uint32_t heap_size; + uint32_t heap_end; - heap_start = (rtems_unsigned32) &_end; + heap_start = (uint32_t ) &_end; if (heap_start & (CPU_ALIGNMENT-1)) heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1); - heap_end = (rtems_unsigned32) &_heap_end; + heap_end = (uint32_t ) &_heap_end; if (heap_end & (CPU_ALIGNMENT-1)) heap_end = (heap_end + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1); |