diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-14 14:47:56 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-14 14:47:56 +0000 |
commit | aeeb69c73e0c239be10ac411c41e986f3c23acf2 (patch) | |
tree | b23e0a4beecea2e880fc92acaefd77cf73774561 /hw/escc.h | |
parent | 13d7ec0f81b5bd3e3b862f635da5a380703230e7 (diff) | |
download | qemu-aeeb69c73e0c239be10ac411c41e986f3c23acf2.zip qemu-aeeb69c73e0c239be10ac411c41e986f3c23acf2.tar.gz qemu-aeeb69c73e0c239be10ac411c41e986f3c23acf2.tar.bz2 |
escc: allow one IRQ per serial channel
The Z85C30 on the PowerMAC machines have one interrupt per serial
channel, while the Sparc machines have only one for both. Allow the
emulated device to use one IRQ per channel.
Patch by Laurent Vivier.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6295 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/escc.h')
-rw-r--r-- | hw/escc.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,8 @@ /* escc.c */ #define ESCC_SIZE 4 -int escc_init(target_phys_addr_t base, qemu_irq irq, CharDriverState *chrA, - CharDriverState *chrB, int clock, int it_shift); +int escc_init(target_phys_addr_t base, qemu_irq irqA, qemu_irq irqB, + CharDriverState *chrA, CharDriverState *chrB, + int clock, int it_shift); void slavio_serial_ms_kbd_init(target_phys_addr_t base, qemu_irq irq, int disabled, int clock, int it_shift); |