]> git.proxmox.com Git - mirror_qemu.git/commit - target/riscv/translate.c
target/riscv: Remove the hyp load and store functions
authorAlistair Francis <alistair.francis@wdc.com>
Wed, 4 Nov 2020 04:43:31 +0000 (20:43 -0800)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 9 Nov 2020 23:08:57 +0000 (15:08 -0800)
commit743077b35b1ed88ed243daefafe9403d88a958f6
tree762799695d3934a30887ee6725118945bb59c30c
parent1c1c060aa866986ef8b7eb334abbb8c104a46e5c
target/riscv: Remove the hyp load and store functions

Remove the special Virtulisation load and store functions and just use
the standard tcg tcg_gen_qemu_ld_tl() and tcg_gen_qemu_st_tl() functions
instead.

As part of this change we ensure we still run an access check to make
sure we can perform the operations.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 189ac3e53ef2854824d18aad7074c6649f17de2c.1604464950.git.alistair.francis@wdc.com
target/riscv/cpu.h
target/riscv/helper.h
target/riscv/insn_trans/trans_rvh.c.inc
target/riscv/op_helper.c
target/riscv/translate.c