aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-23 21:11:49 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-23 21:11:49 +0000
commite5d13e2f64904a3181c7656f9d0eb884bb994bb1 (patch)
tree18330dd632de20b86719e39d92379a6e4e68c3a1 /vl.h
parent2023a2c836ed0a5af990ddbc927e0ea7fdc317d0 (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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/vl.h b/vl.h
index 1daae5042e..fda99a7efd 100644
--- a/vl.h
+++ b/vl.h
@@ -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 */