summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/ss555/startup/tm27supp.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-04-21 20:24:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-04-21 20:24:36 +0000
commit7312649847ee783fdb1a5330761696781ab22dc1 (patch)
treed3c86900efc1bd022d53a104cd75f9b028ce2292 /c/src/lib/libbsp/powerpc/ss555/startup/tm27supp.c
parent2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-7312649847ee783fdb1a5330761696781ab22dc1.tar.bz2
2004-04-21 Joel Sherrill <joel@OARcorp.com>
PR 611/bsps * Makefile.am, include/bsp.h, wrapup/Makefile.am: Follow conventions for tm27 and do not add another macro definition. * startup/tm27supp.c: New file.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/startup/tm27supp.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/ss555/startup/tm27supp.c b/c/src/lib/libbsp/powerpc/ss555/startup/tm27supp.c
new file mode 100644
index 0000000000..a05b4e5b7a
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/ss555/startup/tm27supp.c
@@ -0,0 +1,29 @@
+/*
+ * Support routines for TM27
+ *
+ * $Id$
+ */
+
+#include <bsp.h>
+
+void tm27On()
+{
+}
+
+void tm27Off()
+{
+}
+
+int tm27IsOn()
+{
+ return 1;
+}
+
+rtems_irq_connect_data tm27IrqData = {
+ CPU_USIU_EXT_IRQ_7,
+ (rtems_irq_hdl)0,
+ (rtems_irq_enable)tm27On,
+ (rtems_irq_disable)tm27Off,
+ (rtems_irq_is_enabled)tm27IsOn
+};
+