From 6508fe59e07b263a8f9afd0f5f13e6240651f42c Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 15 Jan 2005 12:02:56 +0000 Subject: PC parallel port support (Mark Jonckheere) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1221 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'vl.h') 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); -- cgit v1.2.3