mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06:00
target-sparc: use SparcV9MMU type for sparc64 I/D-MMUs
Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
This commit is contained in:
parent
4797a68519
commit
96df2bc99f
4 changed files with 25 additions and 37 deletions
|
@ -1166,7 +1166,7 @@ void cpu_loop (CPUSPARCState *env)
|
|||
/* XXX: check env->error_code */
|
||||
info.si_code = TARGET_SEGV_MAPERR;
|
||||
if (trapnr == TT_DFAULT)
|
||||
info._sifields._sigfault._addr = env->dmmuregs[4];
|
||||
info._sifields._sigfault._addr = env->dmmu.mmuregs[4];
|
||||
else
|
||||
info._sifields._sigfault._addr = cpu_tsptr(env)->tpc;
|
||||
queue_signal(env, info.si_signo, QEMU_SI_FAULT, &info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue