monitor: remove target-specific code from monitor.c
Move target-specific code out of /monitor.c to /target-*/monitor.c, this will avoid code cluttering and using random ifdeffery. The solution is quite simple, but solves the issue of the separation of target-specific code from monitor. Signed-off-by:Pavel Butsykin <pbutsykin@virtuozzo.com> Signed-off-by:
Denis V. Lunev <den@openvz.org> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Peter Maydell <peter.maydell@linaro.org> Message-Id: <1441899541-1856-3-git-send-email-den@openvz.org> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- include/monitor/hmp-target.h 45 additions, 0 deletionsinclude/monitor/hmp-target.h
- include/qemu/typedefs.h 1 addition, 0 deletionsinclude/qemu/typedefs.h
- monitor.c 8 additions, 852 deletionsmonitor.c
- stubs/Makefile.objs 1 addition, 0 deletionsstubs/Makefile.objs
- stubs/target-monitor-defs.c 9 additions, 0 deletionsstubs/target-monitor-defs.c
- target-i386/Makefile.objs 1 addition, 1 deletiontarget-i386/Makefile.objs
- target-i386/monitor.c 494 additions, 0 deletionstarget-i386/monitor.c
- target-ppc/Makefile.objs 1 addition, 1 deletiontarget-ppc/Makefile.objs
- target-ppc/monitor.c 255 additions, 0 deletionstarget-ppc/monitor.c
- target-sh4/Makefile.objs 1 addition, 0 deletionstarget-sh4/Makefile.objs
- target-sh4/monitor.c 52 additions, 0 deletionstarget-sh4/monitor.c
- target-sparc/Makefile.objs 1 addition, 1 deletiontarget-sparc/Makefile.objs
- target-sparc/monitor.c 158 additions, 0 deletionstarget-sparc/monitor.c
- target-xtensa/Makefile.objs 1 addition, 0 deletionstarget-xtensa/Makefile.objs
- target-xtensa/monitor.c 34 additions, 0 deletionstarget-xtensa/monitor.c
Loading
Please register or sign in to comment