mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
target/hppa: Add space registers
Not used where they should be yet, but we can copy them. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
e1b5a5ed6f
commit
33423472f0
3 changed files with 77 additions and 11 deletions
|
@ -168,12 +168,16 @@ void hppa_cpu_dump_state(CPUState *cs, FILE *f,
|
|||
psw, psw_cb, psw_c);
|
||||
|
||||
for (i = 0; i < 32; i++) {
|
||||
cpu_fprintf(f, "GR%02d " TREG_FMT_lx " ", i, env->gr[i]);
|
||||
if ((i % 4) == 3) {
|
||||
cpu_fprintf(f, "\n");
|
||||
}
|
||||
cpu_fprintf(f, "GR%02d " TREG_FMT_lx "%c", i, env->gr[i],
|
||||
(i & 3) == 3 ? '\n' : ' ');
|
||||
}
|
||||
cpu_fprintf(f, "\n");
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
for (i = 0; i < 8; i++) {
|
||||
cpu_fprintf(f, "SR%02d %08x%c", i, (uint32_t)(env->sr[i] >> 32),
|
||||
(i & 3) == 3 ? '\n' : ' ');
|
||||
}
|
||||
#endif
|
||||
cpu_fprintf(f, "\n");
|
||||
|
||||
/* ??? FR */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue