From 54d87f2e52d07207f6f75d44f18c34ecd4dbd61b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 4 Sep 2018 18:28:57 +0200 Subject: bsps/powerpc: Simplify ppc_exc_initialize() Remove parameters from ppc_exc_initialize() since all BSPs passed the same values. Update #3459. --- bsps/powerpc/mvme3100/start/bspstart.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'bsps/powerpc/mvme3100/start/bspstart.c') diff --git a/bsps/powerpc/mvme3100/start/bspstart.c b/bsps/powerpc/mvme3100/start/bspstart.c index 6f15b2d7a3..527247af1b 100644 --- a/bsps/powerpc/mvme3100/start/bspstart.c +++ b/bsps/powerpc/mvme3100/start/bspstart.c @@ -210,8 +210,6 @@ SPR_RW(HID1) void bsp_start( void ) { unsigned char *stack; - uintptr_t intrStackStart; - uintptr_t intrStackSize; char *chpt; int i; ppc_cpu_id_t myCpu; @@ -252,23 +250,13 @@ VpdBufRec vpdData [] = { /* tag the bottom */ *((uint32_t*)stack) = 0; - /* - * Initialize the interrupt related settings. - */ - intrStackStart = (uintptr_t) _Configuration_Interrupt_stack_area_begin; - intrStackSize = rtems_configuration_get_interrupt_stack_size(); - - /* - * Initialize default raw exception handlers. - */ - ppc_exc_initialize(intrStackStart, intrStackSize); + ppc_exc_initialize(); printk("CPU 0x%x - rev 0x%x\n", myCpu, myCpuRevision); #ifdef SHOW_MORE_INIT_SETTINGS printk("Additionnal boot options are %s\n", BSP_commandline_string); printk("Initial system stack at %" PRIxPTR "\n", (uintptr_t) stack); - printk("Software IRQ stack starts at %x with size %u\n", intrStackStart, intrStackSize); #endif #ifdef SHOW_MORE_INIT_SETTINGS -- cgit v1.2.3