summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-10-01 21:48:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-10-01 21:48:42 +0000
commit44bb5cd0cb1fce60be0cf83d7a590c56169d3b31 (patch)
tree1c4a5cc5ff47f677959fbca04d4602f447bef296 /c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h
parent2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-44bb5cd0cb1fce60be0cf83d7a590c56169d3b31.tar.bz2
2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, ChangeLog, Makefile.am, bsp_specs, configure.ac, preinstall.am, console/.cvsignore, console/console-io.c, include/.cvsignore, include/bsp.h, include/irq.h, include/swi.h, start/.cvsignore, start/start.S, startup/.cvsignore, startup/bspreset.c, startup/bspstart.c, startup/linkcmds, startup/syscalls.c: New files.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h b/c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h
new file mode 100644
index 0000000000..deffeb71b3
--- /dev/null
+++ b/c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h
@@ -0,0 +1,35 @@
+/*
+ * COPYRIGHT (c) 1989-2009.
+ * 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$
+ */
+
+#ifndef _BSP_H
+#define _BSP_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <bspopts.h>
+
+#include <rtems.h>
+#include <rtems/iosupp.h>
+#include <rtems/console.h>
+#include <rtems/clockdrv.h>
+
+/* support for simulated clock tick */
+Thread clock_driver_sim_idle_body(uintptr_t);
+#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _BSP_H */
+