summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/shsim/include/gdbsci.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-29 18:35:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-29 18:35:10 +0000
commit4e568769d337e3681f99cba97feed7b572700829 (patch)
tree62c24e5077cefea56e72f809219c65ae6bfae23b /c/src/lib/libbsp/sh/shsim/include/gdbsci.h
parent2001-01-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-4e568769d337e3681f99cba97feed7b572700829.tar.bz2
2001-01-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add scitab, gdbsci to SUBDIRS. * include/gdbsci.h: New file. * include/.cvsignore: Add stamp-h? and bspopts.h*. * console/Makefile.am: Use shared/console.c. * console/console-io.c, console/console-support.S: Remove.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/sh/shsim/include/gdbsci.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/include/gdbsci.h b/c/src/lib/libbsp/sh/shsim/include/gdbsci.h
new file mode 100644
index 0000000000..5234fc253a
--- /dev/null
+++ b/c/src/lib/libbsp/sh/shsim/include/gdbsci.h
@@ -0,0 +1,69 @@
+/*
+ * Driver for gdb's sh-simulator's sci emulation
+ *
+ * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
+ *
+ * COPYRIGHT (c) 2001, Ralf Corsepius, Ulm, Germany
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * $Id$
+ */
+
+#ifndef _sh_gdbsci_h
+#define _sh_gdbsci_h
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ */
+
+#define DEVGDBSCI_DRIVER_TABLE_ENTRY \
+ { sh_gdbsci_initialize, sh_gdbsci_open, sh_gdbsci_close, sh_gdbsci_read, \
+ sh_gdbsci_write, sh_gdbsci_control }
+
+extern rtems_device_driver sh_gdbsci_initialize(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+extern rtems_device_driver sh_gdbsci_open(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+extern rtems_device_driver sh_gdbsci_close(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+extern rtems_device_driver sh_gdbsci_read(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+extern rtems_device_driver sh_gdbsci_write(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+extern rtems_device_driver sh_gdbsci_control(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif