mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
include/exec: Change cpu_mmu_index argument to CPUState
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a120d32097
commit
3b91614004
23 changed files with 65 additions and 49 deletions
|
@ -690,7 +690,7 @@ uint64_t helper_ld_asi(CPUSPARCState *env, target_ulong addr,
|
|||
case ASI_M_IODIAG: /* Turbosparc IOTLB Diagnostic */
|
||||
break;
|
||||
case ASI_KERNELTXT: /* Supervisor code access */
|
||||
oi = make_memop_idx(memop, cpu_mmu_index(env, true));
|
||||
oi = make_memop_idx(memop, cpu_mmu_index(env_cpu(env), true));
|
||||
switch (size) {
|
||||
case 1:
|
||||
ret = cpu_ldb_code_mmu(env, addr, oi, GETPC());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue