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/libbsp/powerpc/psim/startup/bspstart.c | |
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/libbsp/powerpc/psim/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/bspstart.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c index 134a850bb3..b0dc1e639e 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c @@ -60,12 +60,6 @@ unsigned int BSP_time_base_divisor; extern unsigned long __rtems_end[]; -void BSP_panic(char *s) -{ - printk("%s PANIC %s\n",_RTEMS_version, s); - __asm__ __volatile ("sc"); -} - void _BSP_Fatal_error(unsigned int v) { printk("%s PANIC ERROR %x\n",_RTEMS_version, v); |