diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-15 12:02:56 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-15 12:02:56 +0000 |
commit | 6508fe59e07b263a8f9afd0f5f13e6240651f42c (patch) | |
tree | 64b4fbd1509c38a88e385549617fd36dbe10f495 /vl.h | |
parent | e5843bc81619d62e95ac714e0d3b403944cfb978 (diff) | |
download | hqemu-6508fe59e07b263a8f9afd0f5f13e6240651f42c.zip hqemu-6508fe59e07b263a8f9afd0f5f13e6240651f42c.tar.gz |
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.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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); |