diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-03-11 20:21:26 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-23 14:08:17 -0700 |
| commit | 028119c8baedb091e4f358a6176710507b4ce37d (patch) | |
| tree | fd466d56d01437b3529771e69acbee5c2b3fe28f /include/exec/translator.h | |
| parent | 6a9dfe1984b0c593fb0ddb52d4e70832e6201dd6 (diff) | |
| download | focaccia-qemu-028119c8baedb091e4f358a6176710507b4ce37d.tar.gz focaccia-qemu-028119c8baedb091e4f358a6176710507b4ce37d.zip | |
accel/tcg: Use cpu_ld*_code_mmu in translator.c
Cache the mmu index in DisasContextBase. Perform the read on host endianness, which lets us share code with the translator_ld fast path. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/translator.h')
| -rw-r--r-- | include/exec/translator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/exec/translator.h b/include/exec/translator.h index d70942a10f..205dd85bba 100644 --- a/include/exec/translator.h +++ b/include/exec/translator.h @@ -73,6 +73,7 @@ struct DisasContextBase { int max_insns; bool plugin_enabled; bool fake_insn; + uint8_t code_mmuidx; struct TCGOp *insn_start; void *host_addr[2]; |