]> git.proxmox.com Git - mirror_qemu.git/commit - gdbstub.c
semihosting: create SemihostingConfig structure and semihost.h
authorLeon Alrae <leon.alrae@imgtec.com>
Fri, 19 Jun 2015 13:17:45 +0000 (14:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Jun 2015 13:17:45 +0000 (14:17 +0100)
commitcfe67cef48696e8b901aff38a82056ae64d69c98
tree2b09c2099a645932fc3d41742517f67d918b065e
parentb58850e79d8df1185bd4999df81fbe6954cd2790
semihosting: create SemihostingConfig structure and semihost.h

Remove semihosting_enabled and semihosting_target and replace them with
SemihostingConfig structure containing equivalent fields. The structure
is defined in vl.c where it is actually set.

Also introduce separate header file include/exec/semihost.h allowing to
access semihosting config related stuff from target specific semihosting
code.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1434643256-16858-2-git-send-email-leon.alrae@imgtec.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
gdbstub.c
include/exec/gdbstub.h
include/exec/semihost.h [new file with mode: 0644]
include/sysemu/sysemu.h
target-arm/helper.c
target-lm32/helper.c
target-m68k/op_helper.c
target-xtensa/translate.c
vl.c