mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
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>
This commit is contained in:
committed by
Paolo Bonzini
parent
7c468ec54c
commit
61b97833b3
@@ -179,13 +179,7 @@ ETEXI
|
||||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "show the interrupts statistics (if available)",
|
||||
#ifdef TARGET_SPARC
|
||||
.cmd = sun4m_hmp_info_irq,
|
||||
#elif defined(TARGET_LM32)
|
||||
.cmd = lm32_hmp_info_irq,
|
||||
#else
|
||||
.cmd = hmp_info_irq,
|
||||
#endif
|
||||
},
|
||||
|
||||
STEXI
|
||||
@@ -199,13 +193,7 @@ ETEXI
|
||||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "show i8259 (PIC) state",
|
||||
#ifdef TARGET_SPARC
|
||||
.cmd = sun4m_hmp_info_pic,
|
||||
#elif defined(TARGET_LM32)
|
||||
.cmd = lm32_hmp_info_pic,
|
||||
#else
|
||||
.cmd = hmp_info_pic,
|
||||
#endif
|
||||
},
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user