summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-03-11 17:50:27 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-03-14 10:56:47 +0100
commitf88da30ee8ef1c76410b0fb0fe048a821fd0054e (patch)
tree50af95124ca3857f89b06fa93e3c2f6822200b53 /c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
parentmpc83xx: Copy nothing if necessary (diff)
downloadrtems-f88da30ee8ef1c76410b0fb0fe048a821fd0054e.tar.bz2
mpc83xx: Use shared linkcmds.base
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
index f60d1be5ca..c3e87b4b6d 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
@@ -27,6 +27,7 @@
#include <bsp/vectors.h>
#include <bsp/bootcard.h>
#include <bsp/irq-generic.h>
+#include <bsp/linker-symbols.h>
#include <bsp/u-boot.h>
/* Configuration parameters for console driver, ... */
@@ -80,9 +81,6 @@ void bsp_start( void)
ppc_cpu_id_t myCpu;
ppc_cpu_revision_t myCpuRevision;
- uintptr_t interrupt_stack_start = (uintptr_t) bsp_interrupt_stack_start;
- uintptr_t interrupt_stack_size = (uintptr_t) bsp_interrupt_stack_size;
-
/*
* Get CPU identification dynamically. Note that the get_ppc_cpu_type() function
* store the result in global variables so that it can be used latter...
@@ -136,8 +134,8 @@ void bsp_start( void)
#endif
ppc_exc_initialize(
PPC_INTERRUPT_DISABLE_MASK_DEFAULT,
- interrupt_stack_start,
- interrupt_stack_size
+ (uintptr_t) bsp_section_work_begin,
+ rtems_configuration_get_interrupt_stack_size()
);
/* Install default handler for the decrementer exception */