diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2016-09-26 22:23:27 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-04 10:00:25 +0200 |
commit | 61b97833b38122e22c7af08685277681c6b79653 (patch) | |
tree | dd61e66939e02daf4593190b51d534a9a983dba1 /hw/sparc | |
parent | 7c468ec54cf1b077022f870e211c41966bf58a2f (diff) | |
download | qemu-61b97833b38122e22c7af08685277681c6b79653.zip qemu-61b97833b38122e22c7af08685277681c6b79653.tar.gz qemu-61b97833b38122e22c7af08685277681c6b79653.tar.bz2 |
intc: make HMP 'info irq' and 'info pic' commands use InterruptStatsProvider interface
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Message-Id: <1474921408-24710-6-git-send-email-hpoussin@reactos.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/sparc')
-rw-r--r-- | hw/sparc/sun4m.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c index 478fda8..b3915e4 100644 --- a/hw/sparc/sun4m.c +++ b/hw/sparc/sun4m.c @@ -159,20 +159,6 @@ static void nvram_init(Nvram *nvram, uint8_t *macaddr, } } -static DeviceState *slavio_intctl; - -void sun4m_hmp_info_pic(Monitor *mon, const QDict *qdict) -{ - if (slavio_intctl) - slavio_pic_info(mon, slavio_intctl); -} - -void sun4m_hmp_info_irq(Monitor *mon, const QDict *qdict) -{ - if (slavio_intctl) - slavio_irq_info(mon, slavio_intctl); -} - void cpu_check_irqs(CPUSPARCState *env) { CPUState *cs; @@ -873,6 +859,7 @@ static void dummy_fdc_tc(void *opaque, int irq, int level) static void sun4m_hw_init(const struct sun4m_hwdef *hwdef, MachineState *machine) { + DeviceState *slavio_intctl; const char *cpu_model = machine->cpu_model; unsigned int i; void *iommu, *espdma, *ledma, *nvram; |