summaryrefslogtreecommitdiffstats
path: root/include/hw/sparc
diff options
context:
space:
mode:
authorMarkus Armbruster2015-02-06 14:18:24 +0100
committerMarkus Armbruster2015-02-18 11:58:50 +0100
commit1ce6be24df0a2f634b61b9b882ac6d10af485ad6 (patch)
tree9fe55b653ce5794397e83844115fa8d5cef891db /include/hw/sparc
parenthmp: Name HMP command handler functions hmp_COMMAND() (diff)
downloadqemu-1ce6be24df0a2f634b61b9b882ac6d10af485ad6.tar.gz
qemu-1ce6be24df0a2f634b61b9b882ac6d10af485ad6.tar.xz
qemu-1ce6be24df0a2f634b61b9b882ac6d10af485ad6.zip
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 'include/hw/sparc')
-rw-r--r--include/hw/sparc/sun4m.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/sparc/sun4m.h b/include/hw/sparc/sun4m.h
index a587700a8b..9c17425a43 100644
--- a/include/hw/sparc/sun4m.h
+++ b/include/hw/sparc/sun4m.h
@@ -29,8 +29,8 @@ void slavio_pic_info(Monitor *mon, DeviceState *dev);
void slavio_irq_info(Monitor *mon, DeviceState *dev);
/* sun4m.c */
-void sun4m_pic_info(Monitor *mon, const QDict *qdict);
-void sun4m_irq_info(Monitor *mon, const QDict *qdict);
+void sun4m_hmp_info_pic(Monitor *mon, const QDict *qdict);
+void sun4m_hmp_info_irq(Monitor *mon, const QDict *qdict);
/* sparc32_dma.c */
#include "hw/sparc/sparc32_dma.h"