summaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-15 12:02:56 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-15 12:02:56 +0000
commit6508fe59e07b263a8f9afd0f5f13e6240651f42c (patch)
tree64b4fbd1509c38a88e385549617fd36dbe10f495 /vl.h
parente5843bc81619d62e95ac714e0d3b403944cfb978 (diff)
downloadqemu-6508fe59e07b263a8f9afd0f5f13e6240651f42c.zip
PC parallel port support (Mark Jonckheere)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1221 c046a42c-6fe2-441c-8c8c-71466251a162
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);