summaryrefslogtreecommitdiff
path: root/com32/include
diff options
context:
space:
mode:
authorhpa <hpa>2004-11-30 22:09:56 +0000
committerhpa <hpa>2004-11-30 22:09:56 +0000
commit7a8f0a4ab860f2ad0aa8255120d5d55942327d08 (patch)
tree50c64a5add7501f8a8738789a6f14a5c9a5f5737 /com32/include
parent65c7485dfdcbebe57194d8432439125a8c7ed797 (diff)
downloadsyslinux-2.12-pre2.tar.gz
Actually working ANSI device; add demosyslinux-2.12-pre2
Diffstat (limited to 'com32/include')
-rw-r--r--com32/include/console.h9
-rw-r--r--com32/include/dev.h3
2 files changed, 12 insertions, 0 deletions
diff --git a/com32/include/console.h b/com32/include/console.h
index 55904277..494b0ba1 100644
--- a/com32/include/console.h
+++ b/com32/include/console.h
@@ -47,5 +47,14 @@ extern const struct output_dev dev_stdcon_w;
extern const struct input_dev dev_rawcon_r;
extern const struct output_dev dev_rawcon_w;
+/* These are output-only consoles; combine with one of the input methods */
+
+/* Serial port only */
+extern const struct output_dev dev_serial_w;
+/* ANSI console (output only; combine with one of the input methods) */
+extern const struct output_dev dev_ansicon_w;
+/* ANSI plus serial port */
+extern const struct output_dev dev_ansiserial_w;
+
#endif /* _CONSOLE_H */
diff --git a/com32/include/dev.h b/com32/include/dev.h
index a8cea76c..a5afbaf1 100644
--- a/com32/include/dev.h
+++ b/com32/include/dev.h
@@ -44,9 +44,12 @@ struct output_dev;
__extern int opendev(const struct input_dev *, const struct output_dev *, int);
/* Common generic devices */
+
+/* Null device */
extern const struct input_dev dev_null_r;
extern const struct output_dev dev_null_w;
+/* Error device */
extern const struct input_dev dev_error_r;
extern const struct output_dev dev_error_w;