diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-23 21:11:49 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-23 21:11:49 +0000 |
commit | e5d13e2f64904a3181c7656f9d0eb884bb994bb1 (patch) | |
tree | 18330dd632de20b86719e39d92379a6e4e68c3a1 /vl.h | |
parent | 2023a2c836ed0a5af990ddbc927e0ea7fdc317d0 (diff) |
more generic serial port (initial patch by Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1654 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r-- | vl.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -733,7 +733,11 @@ void rtc_set_date(RTCState *s, const struct tm *tm); /* serial.c */ typedef struct SerialState SerialState; -SerialState *serial_init(int base, int irq, CharDriverState *chr); +SerialState *serial_init(SetIRQFunc *set_irq, void *opaque, + int base, int irq, CharDriverState *chr); +SerialState *serial_mm_init (SetIRQFunc *set_irq, void *opaque, + target_ulong base, int it_shift, + int irq, CharDriverState *chr); /* parallel.c */ |