mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-20 19:21:31 +00:00
sparc64: add PIL to cpu state dump
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
7e8695eda3
commit
68e8a3f05a
|
@ -1452,6 +1452,7 @@ void cpu_dump_state(CPUState *env, FILE *f,
|
||||||
#ifdef TARGET_SPARC64
|
#ifdef TARGET_SPARC64
|
||||||
cpu_fprintf(f, "pstate: 0x%08x ccr: 0x%02x asi: 0x%02x tl: %d fprs: %d\n",
|
cpu_fprintf(f, "pstate: 0x%08x ccr: 0x%02x asi: 0x%02x tl: %d fprs: %d\n",
|
||||||
env->pstate, GET_CCR(env), env->asi, env->tl, env->fprs);
|
env->pstate, GET_CCR(env), env->asi, env->tl, env->fprs);
|
||||||
|
cpu_fprintf(f, "pil=%x\n", env->psrpil);
|
||||||
cpu_fprintf(f, "cansave: %d canrestore: %d otherwin: %d wstate %d "
|
cpu_fprintf(f, "cansave: %d canrestore: %d otherwin: %d wstate %d "
|
||||||
"cleanwin %d cwp %d\n",
|
"cleanwin %d cwp %d\n",
|
||||||
env->cansave, env->canrestore, env->otherwin, env->wstate,
|
env->cansave, env->canrestore, env->otherwin, env->wstate,
|
||||||
|
|
Loading…
Reference in a new issue