mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
mos6522: add "info via" HMP command for debugging
This displays detailed information about the device registers and timers to aid debugging problems with timers and interrupts. Currently the QAPI generators for HumanReadableText don't work correctly if used in qapi/target-misc.json when a non-specified target is built, so for now manually add a hmp_info_via() wrapper until direct support for per-device HMP/QMP commands is implemented. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20220305150957.5053-9-mark.cave-ayland@ilande.co.uk> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
6c72669872
commit
409e9f7131
4 changed files with 121 additions and 0 deletions
|
@ -879,3 +879,18 @@ SRST
|
|||
``info sgx``
|
||||
Show intel SGX information.
|
||||
ERST
|
||||
|
||||
#if defined(TARGET_M68K) || defined(TARGET_PPC)
|
||||
{
|
||||
.name = "via",
|
||||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "show guest mos6522 VIA devices",
|
||||
.cmd = hmp_info_via,
|
||||
},
|
||||
#endif
|
||||
|
||||
SRST
|
||||
``info via``
|
||||
Show guest mos6522 VIA devices.
|
||||
ERST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue