summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/bfin/TLL6527M/include/tm27.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-20 20:23:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-20 20:23:39 +0000
commitad65fc7fb7eb05af2df8ef0639653ef46c88788c (patch)
tree3669658647739567f01bfcb4eaff9b6f78b0f8e7 /c/src/lib/libbsp/bfin/TLL6527M/include/tm27.h
parent2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu> (diff)
downloadrtems-ad65fc7fb7eb05af2df8ef0639653ef46c88788c.tar.bz2
2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps * ChangeLog, Makefile.am, README, bsp_specs, configure.ac, preinstall.am, times, console/console.c, include/bsp.h, include/cplb.h, include/tm27.h, make/custom/TLL6527M.cfg, startup/bspstart.c, startup/linkcmds: New files. Initial port for the TLL6527Mboard that contains blackfin 52X range of processors. Used eZKit533 as a reference for building the port.
Diffstat (limited to 'c/src/lib/libbsp/bfin/TLL6527M/include/tm27.h')
-rw-r--r--c/src/lib/libbsp/bfin/TLL6527M/include/tm27.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/bfin/TLL6527M/include/tm27.h b/c/src/lib/libbsp/bfin/TLL6527M/include/tm27.h
new file mode 100644
index 0000000000..8e126bf1ba
--- /dev/null
+++ b/c/src/lib/libbsp/bfin/TLL6527M/include/tm27.h
@@ -0,0 +1,37 @@
+/*
+ * tm27.h
+ *
+ * COPYRIGHT (c) 2010 by ECE Northeastern University.
+ *
+ * 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
+ *
+ * $Id$
+ */
+
+#ifndef _RTEMS_TMTEST27
+#error "This is an RTEMS internal file you must not include directly."
+#endif
+
+#ifndef __tm27_h
+#define __tm27_h
+
+/*
+ * Define the interrupt mechanism for Time Test 27
+ */
+
+#define MUST_WAIT_FOR_INTERRUPT 0
+
+#define Install_tm27_vector(handler) \
+{ \
+ set_vector( handler, 0x06, 1 ); \
+}
+
+#define Cause_tm27_intr() asm volatile("raise 0x06;" : :);
+
+#define Clear_tm27_intr() /* empty */
+
+#define Lower_tm27_intr() /* empty */
+
+#endif