diff options
Diffstat (limited to 'com32/include')
| -rw-r--r-- | com32/include/console.h | 9 | ||||
| -rw-r--r-- | com32/include/dev.h | 3 |
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; |
