summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c
diff options
context:
space:
mode:
authorEric Norum <WENorum@lbl.gov>2005-01-28 19:35:23 +0000
committerEric Norum <WENorum@lbl.gov>2005-01-28 19:35:23 +0000
commit572484f1aef2d9544b2b3db98362737a597bf093 (patch)
tree7b2b0eef034f4dd98551f1707aec9014b07e0b1c /c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c
parent2005-01-28 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-572484f1aef2d9544b2b3db98362737a597bf093.tar.bz2
New BSP for Arcturus uCDIMM ColdFire 5282.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c b/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c
new file mode 100644
index 0000000000..b3a8536f4f
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c
@@ -0,0 +1,35 @@
+/*
+ * SBC5206 bsp_cleanup
+ *
+ * This routine returns control from RTEMS to the monitor.
+ *
+ * Author:
+ * David Fiddes, D.J@fiddes.surfaid.org
+ * http://www.calm.hw.ac.uk/davidf/coldfire/
+ *
+ * COPYRIGHT (c) 1989-1998.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ *
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#include <bsp.h>
+#include <rtems/bspIo.h>
+
+void bsp_cleanup( void )
+{
+ printk("\nRTEMS exited!\n");
+ for ( ;; )
+ {
+ asm volatile ( " nop " );
+ asm volatile ( " nop " );
+ }
+
+}