summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/mvme3100/start/bspstart.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-04 18:28:57 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-06 07:04:28 +0200
commit54d87f2e52d07207f6f75d44f18c34ecd4dbd61b (patch)
tree07accff46bce76966388230ad0dc56eedab2c6cb /bsps/powerpc/mvme3100/start/bspstart.c
parentbsp/mpc55xxevb: Fix format warning (diff)
downloadrtems-54d87f2e52d07207f6f75d44f18c34ecd4dbd61b.tar.bz2
bsps/powerpc: Simplify ppc_exc_initialize()
Remove parameters from ppc_exc_initialize() since all BSPs passed the same values. Update #3459.
Diffstat (limited to 'bsps/powerpc/mvme3100/start/bspstart.c')
-rw-r--r--bsps/powerpc/mvme3100/start/bspstart.c14
1 files changed, 1 insertions, 13 deletions
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