mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
s390x: Add vector registers to HMP output
There are mechanisms to dump registers via the qemu HMP interface, such as the "info registers" command. Expand this output to dump the new vector registers. Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
parent
ca343c7a84
commit
56c4227149
1 changed files with 6 additions and 0 deletions
|
@ -121,6 +121,12 @@ void s390_cpu_dump_state(CPUState *cs, FILE *f, fprintf_function cpu_fprintf,
|
|||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < 32; i++) {
|
||||
cpu_fprintf(f, "V%02d=%016" PRIx64 "%016" PRIx64, i,
|
||||
env->vregs[i][0].ll, env->vregs[i][1].ll);
|
||||
cpu_fprintf(f, (i % 2) ? " " : "\n");
|
||||
}
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
for (i = 0; i < 16; i++) {
|
||||
cpu_fprintf(f, "C%02d=%016" PRIx64, i, env->cregs[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue