summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc55xxevb
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-06-20 11:17:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-06-21 10:26:09 +0200
commit5f91272e9bac6b88b5706c5797f1239fa9952579 (patch)
treebd3565a33dfa3dc2501d1acaf5260715afa2b390 /c/src/lib/libbsp/powerpc/mpc55xxevb
parentsparc in_cksum: Use __sparc__ which is available in -ansi mode (diff)
downloadrtems-5f91272e9bac6b88b5706c5797f1239fa9952579.tar.bz2
bsps/powerpc: Delete bsp_exceptions_in_RAM
Delete ppc_exc_vector_base. Add and use ppc_exc_initialize_with_vector_base().
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc55xxevb')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c
index a679abd23e..32899ee342 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspstart.c
@@ -105,11 +105,11 @@ void bsp_start(void)
bsp_clicks_per_usec = bsp_clock_speed / 1000000;
/* Initialize exceptions */
- ppc_exc_vector_base = (uint32_t) mpc55xx_exc_vector_base;
- ppc_exc_initialize(
+ ppc_exc_initialize_with_vector_base(
PPC_INTERRUPT_DISABLE_MASK_DEFAULT,
- (uintptr_t) bsp_section_work_begin,
- rtems_configuration_get_interrupt_stack_size()
+ (uintptr_t) bsp_section_work_begin,
+ rtems_configuration_get_interrupt_stack_size(),
+ mpc55xx_exc_vector_base
);
#ifndef PPC_EXC_CONFIG_USE_FIXED_HANDLER
ppc_exc_set_handler(ASM_ALIGN_VECTOR, ppc_exc_alignment_handler);