mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -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
|
@ -755,7 +755,7 @@ static inline void cpu_get_tb_cpu_state(CPUSPARCState *env, vaddr *pc,
|
|||
uint32_t flags;
|
||||
*pc = env->pc;
|
||||
*cs_base = env->npc;
|
||||
flags = cpu_mmu_index(env, false);
|
||||
flags = cpu_mmu_index(env_cpu(env), false);
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
if (cpu_supervisor_mode(env)) {
|
||||
flags |= TB_FLAG_SUPER;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue