diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-21 11:43:13 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-22 09:40:23 +0100 |
commit | 1c193a26d227a42a1ea76564950488f48189dbde (patch) | |
tree | 5818e3c47383605bd5fd78f80ceb0c9f9ce3cef8 /c/src/lib/libcpu/powerpc | |
parent | sapi: New implementation of rtems_panic() (diff) | |
download | rtems-1c193a26d227a42a1ea76564950488f48189dbde.tar.bz2 |
powerpc: Replace BSP_panic() with rtems_panic()
Due to a new rtems_panic() implementation, it is possible to replace the
PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic()
implementations.
Close #3245.
Diffstat (limited to 'c/src/lib/libcpu/powerpc')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c b/c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c index 3ba7e8f505..351edb4ffe 100644 --- a/c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c +++ b/c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c @@ -141,7 +141,7 @@ void CPU_rtems_irq_mng_init(unsigned cpuId) /* * put something here that will show the failure... */ - BSP_panic("Unable to initialize RTEMS interrupt Management\n"); + rtems_panic("Unable to initialize RTEMS interrupt Management\n"); } /* @@ -155,11 +155,11 @@ void CPU_rtems_irq_mng_init(unsigned cpuId) vectorDesc.off = nop_raw_enable; vectorDesc.isOn = raw_is_connected; if (!mpc5xx_set_exception (&vectorDesc)) { - BSP_panic("Unable to initialize RTEMS decrementer raw exception\n"); + rtems_panic("Unable to initialize RTEMS decrementer raw exception\n"); } vectorDesc.exceptIndex = ASM_EXT_VECTOR; vectorDesc.hdl.vector = ASM_EXT_VECTOR; if (!mpc5xx_set_exception (&vectorDesc)) { - BSP_panic("Unable to initialize RTEMS external raw exception\n"); + rtems_panic("Unable to initialize RTEMS external raw exception\n"); } } |