diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c b/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c index 81920142ca..fa644edabb 100644 --- a/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c @@ -28,6 +28,7 @@ #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> @@ -155,7 +156,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); |