summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/dmv177/console/z85c30cfg.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-05 11:00:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-05 11:00:00 +0000
commit92a6454654b03e2ae1204f9ad2bac940ebad079a (patch)
treec42a9773ef38e2bd1f3f1655cd0a86c4aa26c2a7 /c/src/lib/libbsp/powerpc/dmv177/console/z85c30cfg.h
parentRenamed old_start340.s to startfor340only.s (diff)
downloadrtems-92a6454654b03e2ae1204f9ad2bac940ebad079a.tar.bz2
Converted the console driver to use libchip/serial and added support
for the z85c30 found on the DMV177. This effort started with the console driver from the Radstone PPC2. But some simplifications were made in the hope that console.c can be made a shared file at some point in the near future. Split the debugio from console. This was done so at some point in the future printk support as is found in the pc386 BSP can be shared across all BSPs.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/console/z85c30cfg.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/console/z85c30cfg.h b/c/src/lib/libbsp/powerpc/dmv177/console/z85c30cfg.h
new file mode 100644
index 0000000000..63ad0fce6c
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/dmv177/console/z85c30cfg.h
@@ -0,0 +1,50 @@
+/*
+ * This include file contains all console driver definitions for the z85c30
+ *
+ * COPYRIGHT (c) 1989-1997.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may in
+ * the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#ifndef __Z85C30_CONFIG_H
+#define __Z85C30_CONFIG_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Board specific register access routines
+ */
+
+unsigned8 Read_z85c30_register(
+ unsigned32 ulCtrlPort,
+ unsigned8 ucRegNum
+);
+
+void Write_z85c30_register(
+ unsigned32 ulCtrlPort,
+ unsigned8 ucRegNum,
+ unsigned8 ucData
+);
+
+unsigned8 Read_z85c30_data(
+ unsigned32 ulDataPort
+);
+
+void Write_z85c30_data(
+ unsigned32 ulDataPort,
+ unsigned8 ucData
+);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif