]> git.proxmox.com Git - mirror_qemu.git/commit
accel/tcg: Add cpu_ld*_code_mmu
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 12 Apr 2023 11:43:16 +0000 (13:43 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 May 2023 20:05:45 +0000 (13:05 -0700)
commit2899062614ab68ffcd034909b5ea993d8403d6d6
tree41395a79f587056926c79c0dd2919d66c6810776
parentdc165fcd4effb9e005a4514ab7d666322648e971
accel/tcg: Add cpu_ld*_code_mmu

At least RISC-V has the need to be able to perform a read
using execute permissions, outside of translation.
Add helpers to facilitate this.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Tested-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230325105429.1142530-9-richard.henderson@linaro.org>
Message-Id: <20230412114333.118895-9-richard.henderson@linaro.org>
accel/tcg/cputlb.c
accel/tcg/user-exec.c
include/exec/cpu_ldst.h