mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -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
|
@ -6955,7 +6955,7 @@ static void i386_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cpu)
|
|||
dc->cc_op_dirty = false;
|
||||
dc->popl_esp_hack = 0;
|
||||
/* select memory access functions */
|
||||
dc->mem_index = cpu_mmu_index(env, false);
|
||||
dc->mem_index = cpu_mmu_index(cpu, false);
|
||||
dc->cpuid_features = env->features[FEAT_1_EDX];
|
||||
dc->cpuid_ext_features = env->features[FEAT_1_ECX];
|
||||
dc->cpuid_ext2_features = env->features[FEAT_8000_0001_EDX];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue