diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-06-05 14:50:39 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-06-05 14:50:39 +0000 |
commit | 54fa5af54622a9bd2d4e6988a6e402f60bde3653 (patch) | |
tree | 9a1874a408520a45b0ab3e3004870fee128b7858 /hw/openpic.c | |
parent | cc1daa40f188ec3ea6c37db546887488a419e900 (diff) | |
download | qemu-54fa5af54622a9bd2d4e6988a6e402f60bde3653.tar.gz qemu-54fa5af54622a9bd2d4e6988a6e402f60bde3653.tar.bz2 qemu-54fa5af54622a9bd2d4e6988a6e402f60bde3653.zip |
more generic IRQ support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1445 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/openpic.c')
-rw-r--r-- | hw/openpic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/openpic.c b/hw/openpic.c index e6bca3270b..08fb9bd126 100644 --- a/hw/openpic.c +++ b/hw/openpic.c @@ -320,8 +320,9 @@ static void openpic_update_irq(openpic_t *opp, int n_IRQ) } } -void openpic_set_irq(openpic_t *opp, int n_IRQ, int level) +void openpic_set_irq(void *opaque, int n_IRQ, int level) { + openpic_t *opp = opaque; IRQ_src_t *src; src = &opp->src[n_IRQ]; |