diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-04 18:28:57 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-06 07:04:28 +0200 |
commit | 54d87f2e52d07207f6f75d44f18c34ecd4dbd61b (patch) | |
tree | 07accff46bce76966388230ad0dc56eedab2c6cb /bsps/powerpc/virtex5 | |
parent | bsp/mpc55xxevb: Fix format warning (diff) | |
download | rtems-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/virtex5')
-rw-r--r-- | bsps/powerpc/virtex5/start/bspstart.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/bsps/powerpc/virtex5/start/bspstart.c b/bsps/powerpc/virtex5/start/bspstart.c index 8297b164b6..c2783f6225 100644 --- a/bsps/powerpc/virtex5/start/bspstart.c +++ b/bsps/powerpc/virtex5/start/bspstart.c @@ -155,9 +155,6 @@ uint32_t _CPU_Counter_frequency(void) */ void bsp_start(void) { - uintptr_t intrStackStart; - uintptr_t intrStackSize; - ppc_cpu_id_t myCpu; ppc_cpu_revision_t myCpuRevision; @@ -187,25 +184,17 @@ void bsp_start(void) /* Timebase register ticks/microsecond; The application may override these */ bsp_clicks_per_usec = BSP_bus_frequency/(BSP_time_base_divisor * 1000); - /* - * Initialize the interrupt related settings. - */ - intrStackStart = (uintptr_t)_Configuration_Interrupt_stack_area_begin; - intrStackSize = rtems_configuration_get_interrupt_stack_size(); - - ppc_exc_initialize(intrStackStart, intrStackSize); + ppc_exc_initialize(); /* Let the user know what parameters we were compiled with */ printk(" Base/Start End Size\n" "RAM: %p %p\n" "RTEMS: %p\n" - "Interrupt Stack: 0x%08x 0x%x\n" "Workspace: %p %p\n" "MsgArea: %p %p\n" "Physical RAM %p\n", RamBase, RamSize, __rtems_end, - intrStackStart, intrStackSize, WorkAreaBase, __bsp_ram_end, MsgAreaBase, MsgAreaSize, __phy_ram_end); |