diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-02-17 04:29:15 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-02-17 04:29:15 +0000 |
commit | 1899fe4778e1f5dc4b57942b9e343728b2ef5c02 (patch) | |
tree | 5f4c75075423230a869f8f052f380d85307d9ce1 /c/src/lib/libbsp/powerpc/psim/startup/bspstart.c | |
parent | 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-1899fe4778e1f5dc4b57942b9e343728b2ef5c02.tar.bz2 |
2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
CPU_MINIMUM_STACK_FRAME_SIZE.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/psim/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/bspstart.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c index 582b116ca9..ab3db1c56c 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c @@ -21,6 +21,8 @@ #include <rtems/libio.h> #include <rtems/libcsupport.h> #include <rtems/bspIo.h> +#include <rtems/powerpc/powerpc.h> + #include <libcpu/cpuIdent.h> #include <libcpu/spr.h> @@ -193,7 +195,7 @@ void bsp_start( void ) * some settings below... */ intrStack = ((uint32_t) __rtems_end) + - INIT_STACK_SIZE + INTR_STACK_SIZE - CPU_MINIMUM_STACK_FRAME_SIZE; + INIT_STACK_SIZE + INTR_STACK_SIZE - PPC_MINIMUM_STACK_FRAME_SIZE; /* make sure it's properly aligned */ intrStack &= ~(CPU_STACK_ALIGNMENT-1); |