aboutsummaryrefslogtreecommitdiff
path: root/target/riscv/helper.h
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-11-03 20:43:34 -0800
committerAlistair Francis <alistair.francis@wdc.com>2020-11-09 15:09:00 -0800
commit7687537ab0c16e0b1e69e7707456573a64b8e13b (patch)
tree7001f6cc7f112cb2ceaa95ef286eb024920c49a5 /target/riscv/helper.h
parent743077b35b1ed88ed243daefafe9403d88a958f6 (diff)
downloadqemu-7687537ab0c16e0b1e69e7707456573a64b8e13b.zip
qemu-7687537ab0c16e0b1e69e7707456573a64b8e13b.tar.gz
qemu-7687537ab0c16e0b1e69e7707456573a64b8e13b.tar.bz2
target/riscv: Split the Hypervisor execute load helpers
Split the hypervisor execute load functions into two seperate functions. This avoids us having to pass the memop to the C helper functions. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 5b1550f0faa3c435cc77f3c1ae811dea98ab9e36.1604464950.git.alistair.francis@wdc.com
Diffstat (limited to 'target/riscv/helper.h')
-rw-r--r--target/riscv/helper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/riscv/helper.h b/target/riscv/helper.h
index ee35311..939731c 100644
--- a/target/riscv/helper.h
+++ b/target/riscv/helper.h
@@ -81,7 +81,8 @@ DEF_HELPER_1(tlb_flush, void, env)
#ifndef CONFIG_USER_ONLY
DEF_HELPER_1(hyp_tlb_flush, void, env)
DEF_HELPER_1(hyp_gvma_tlb_flush, void, env)
-DEF_HELPER_4(hyp_x_load, tl, env, tl, tl, tl)
+DEF_HELPER_2(hyp_hlvx_hu, tl, env, tl)
+DEF_HELPER_2(hyp_hlvx_wu, tl, env, tl)
#endif
/* Vector functions */