summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/c4x/c4xsim/startup/bsppretaskinghook.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-19 15:50:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-19 15:50:44 +0000
commit0dba2a55d7d89c20d119b0f15eaf0d696cdff7c0 (patch)
treed365e3842fb5b0b6b8f326908518a9d4b6976710 /c/src/lib/libbsp/c4x/c4xsim/startup/bsppretaskinghook.c
parent2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-0dba2a55d7d89c20d119b0f15eaf0d696cdff7c0.tar.bz2
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, console/debugio.c: Split out bspstart contents. Use shared stub for bsp_start. * startup/bsppretaskinghook.c: New file. * startup/bspstart.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/c4x/c4xsim/startup/bsppretaskinghook.c')
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/startup/bsppretaskinghook.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/c4x/c4xsim/startup/bsppretaskinghook.c b/c/src/lib/libbsp/c4x/c4xsim/startup/bsppretaskinghook.c
new file mode 100644
index 0000000000..d7674222c7
--- /dev/null
+++ b/c/src/lib/libbsp/c4x/c4xsim/startup/bsppretaskinghook.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 <bsp.h>
+
+extern void bsp_spurious_initialize();
+
+void bsp_pretasking_hook(void)
+{
+ bsp_spurious_initialize();
+}