summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bspreset_loop.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-22 21:50:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-22 21:50:54 +0000
commit54cf1198e320e1a67efe501efed98290d24b582d (patch)
tree566dc713aae7891cdb70ecf2ab812ad049a17efc /c/src/lib/libbsp/shared/bspreset_loop.c
parent2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-54cf1198e320e1a67efe501efed98290d24b582d.tar.bz2
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspclean.c, include/bootcard.h: 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. * bspreset.c, bspreset_fatal.c, bspreset_loop.c: New files.
Diffstat (limited to 'c/src/lib/libbsp/shared/bspreset_loop.c')
-rw-r--r--c/src/lib/libbsp/shared/bspreset_loop.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/bspreset_loop.c b/c/src/lib/libbsp/shared/bspreset_loop.c
new file mode 100644
index 0000000000..e3e9029ee6
--- /dev/null
+++ b/c/src/lib/libbsp/shared/bspreset_loop.c
@@ -0,0 +1,19 @@
+/*
+ * COPYRIGHT (c) 1989-2008.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#include <bsp/bootcard.h>
+
+void bsp_reset( void )
+{
+ while (1)
+ ;
+}