summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-22 21:50:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-22 21:50:25 +0000
commit5734337319c6089887f4f025d87687a5fdbd741b (patch)
tree22eb5722897ed985926b5f0a59624199d1d7d264 /c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
parent2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-5734337319c6089887f4f025d87687a5fdbd741b.tar.bz2
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, README.booting, include/bsp.h, startup/bspclean.c, vectors/exceptionhandler.c: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants. * startup/bspreset.c: New file. * startup/reboot.c: Removed.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c b/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
index 5d29b395ea..698ef6d225 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
+++ b/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
@@ -63,10 +63,6 @@
extern void
BSP_printStackTrace(BSP_Exception_frame* excPtr);
-
-extern void
-rtemsReboot(void);
-
static volatile BSP_ExceptionExtension BSP_exceptionExtension = 0;
BSP_ExceptionExtension
@@ -236,7 +232,7 @@ int quiet=0;
rtems_task_suspend(id);
} else {
printk("PANIC, rebooting...\n");
- rtemsReboot();
+ bsp_reset();
}
}
}