aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/lm32_pic.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-02-06 14:18:24 +0100
committerMarkus Armbruster <armbru@redhat.com>2015-02-18 11:58:50 +0100
commit1ce6be24df0a2f634b61b9b882ac6d10af485ad6 (patch)
tree9fe55b653ce5794397e83844115fa8d5cef891db /hw/intc/lm32_pic.c
parent3e5a50d64ca9c323f8099fdf1aef02813598882d (diff)
downloadqemu-1ce6be24df0a2f634b61b9b882ac6d10af485ad6.zip
qemu-1ce6be24df0a2f634b61b9b882ac6d10af485ad6.tar.gz
qemu-1ce6be24df0a2f634b61b9b882ac6d10af485ad6.tar.bz2
hmp: Name HMP info handler functions hmp_info_SUBCOMMAND()
Some are called do_info_SUBCOMMAND() (old ones, usually), some hmp_info_SUBCOMMAND(), some SUBCOMMAND_info(), sometimes SUBCOMMAND pointlessly differs in spelling. Normalize to hmp_info_SUBCOMMAND(), where SUBCOMMAND is exactly the subcommand name with '-' replaced by '_'. Exceptions: * sun4m_irq_info(), sun4m_pic_info() renamed to sun4m_hmp_info_irq(), sun4m_hmp_info_pic(). * lm32_irq_info(), lm32_pic_info() renamed to lm32_hmp_info_irq(), lm32_hmp_info_pic(). Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/intc/lm32_pic.c')
-rw-r--r--hw/intc/lm32_pic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/intc/lm32_pic.c b/hw/intc/lm32_pic.c
index 72fc9ef..641ee47 100644
--- a/hw/intc/lm32_pic.c
+++ b/hw/intc/lm32_pic.c
@@ -43,7 +43,7 @@ struct LM32PicState {
typedef struct LM32PicState LM32PicState;
static LM32PicState *pic;
-void lm32_do_pic_info(Monitor *mon, const QDict *qdict)
+void lm32_hmp_info_pic(Monitor *mon, const QDict *qdict)
{
if (pic == NULL) {
return;
@@ -53,7 +53,7 @@ void lm32_do_pic_info(Monitor *mon, const QDict *qdict)
pic->im, pic->ip, pic->irq_state);
}
-void lm32_irq_info(Monitor *mon, const QDict *qdict)
+void lm32_hmp_info_irq(Monitor *mon, const QDict *qdict)
{
int i;
uint32_t count;