aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index a80d9057b3..39ea6550b0 100644
--- a/vl.h
+++ b/vl.h
@@ -224,6 +224,12 @@ void console_select(unsigned int index);
extern CharDriverState *serial_hds[MAX_SERIAL_PORTS];
+/* parallel ports */
+
+#define MAX_PARALLEL_PORTS 3
+
+extern CharDriverState *parallel_hds[MAX_PARALLEL_PORTS];
+
/* network redirectors support */
#define MAX_NICS 8
@@ -632,6 +638,11 @@ void rtc_set_date(RTCState *s, const struct tm *tm);
typedef struct SerialState SerialState;
SerialState *serial_init(int base, int irq, CharDriverState *chr);
+/* parallel.c */
+
+typedef struct ParallelState ParallelState;
+ParallelState *parallel_init(int base, int irq, CharDriverState *chr);
+
/* i8259.c */
void pic_set_irq(int irq, int level);