diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-01 16:05:41 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-01 16:05:41 +0000 |
commit | 52cc07d04774676c69e3998cdb5d10c8f5286072 (patch) | |
tree | faa2f9256f55845154f602a57f4443456e367db9 /hw/slavio_intctl.c | |
parent | e0353fe250eacac23104ff7fe466cd6533536509 (diff) | |
download | qemu-52cc07d04774676c69e3998cdb5d10c8f5286072.zip qemu-52cc07d04774676c69e3998cdb5d10c8f5286072.tar.gz qemu-52cc07d04774676c69e3998cdb5d10c8f5286072.tar.bz2 |
Change Sparc uses of pic_set_irq to pic_set_irq_new
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2572 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_intctl.c')
-rw-r--r-- | hw/slavio_intctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/slavio_intctl.c b/hw/slavio_intctl.c index 6a29860..ed145a3 100644 --- a/hw/slavio_intctl.c +++ b/hw/slavio_intctl.c @@ -277,7 +277,7 @@ static void slavio_check_interrupts(void *opaque) * "irq" here is the bit number in the system interrupt register to * separate serial and keyboard interrupts sharing a level. */ -void slavio_pic_set_irq(void *opaque, int irq, int level) +void pic_set_irq_new(void *opaque, int irq, int level) { SLAVIO_INTCTLState *s = opaque; @@ -299,13 +299,13 @@ void slavio_pic_set_irq(void *opaque, int irq, int level) } } -void slavio_pic_set_irq_cpu(void *opaque, int irq, int level, unsigned int cpu) +void pic_set_irq_cpu(void *opaque, int irq, int level, unsigned int cpu) { SLAVIO_INTCTLState *s = opaque; DPRINTF("Set cpu %d local irq %d level %d\n", cpu, irq, level); if (cpu == (unsigned int)-1) { - slavio_pic_set_irq(opaque, irq, level); + pic_set_irq_new(opaque, irq, level); return; } if (irq < 32) { |