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/mbx8xx/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/mbx8xx/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c index e62cd0715b..e6e94a44cf 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c @@ -27,6 +27,7 @@ #include <rtems/bspIo.h> #include <libcpu/cpuIdent.h> #include <libcpu/spr.h> +#include <rtems/powerpc/powerpc.h> SPR_RW(SPRG0) SPR_RW(SPRG1) @@ -167,7 +168,7 @@ void bsp_start(void) * Initialize some SPRG registers related to irq handling */ - intrStack = (((unsigned char*)&intrStackPtr) - CPU_MINIMUM_STACK_FRAME_SIZE); + intrStack = (((unsigned char*)&intrStackPtr) - PPC_MINIMUM_STACK_FRAME_SIZE); _write_SPRG1((unsigned int)intrStack); /* signal them that we have fixed PR288 - eventually, this should go away */ _write_SPRG0(PPC_BSP_HAS_FIXED_PR288); |