summaryrefslogtreecommitdiffstats
path: root/bsps/arm/smdk2410/start/bspidle.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/smdk2410/start/bspidle.c')
-rw-r--r--bsps/arm/smdk2410/start/bspidle.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/bsps/arm/smdk2410/start/bspidle.c b/bsps/arm/smdk2410/start/bspidle.c
new file mode 100644
index 0000000000..0f96f1f09b
--- /dev/null
+++ b/bsps/arm/smdk2410/start/bspidle.c
@@ -0,0 +1,23 @@
+/*
+ * BSP specific Idle thread
+ */
+
+/*
+ * Copyright (c) 2000 Canon Research Centre France SA.
+ * Emmanuel Raguet, mailto:raguet@crf.canon.fr
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#include <bsp.h>
+
+void *bsp_idle_thread(uintptr_t ignored)
+{
+ while(1) {
+ __asm__ volatile ("MCR p15,0,r0,c7,c0,4 \n");
+ }
+ return NULL;
+}
+