mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
target/i386: Eliminate SVM helpers for user-only
Use STUB_HELPER to ensure that such calls are always eliminated. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210514151342.384376-34-richard.henderson@linaro.org>
This commit is contained in:
parent
e6aeb948bb
commit
8d6806c7dd
3 changed files with 10 additions and 40 deletions
|
@ -193,7 +193,16 @@ typedef struct DisasContext {
|
|||
{ qemu_build_not_reached(); }
|
||||
|
||||
#ifdef CONFIG_USER_ONLY
|
||||
STUB_HELPER(clgi, TCGv_env env)
|
||||
STUB_HELPER(invlpga, TCGv_env env, TCGv_i32 aflag)
|
||||
STUB_HELPER(set_dr, TCGv_env env, TCGv_i32 reg, TCGv val)
|
||||
STUB_HELPER(stgi, TCGv_env env)
|
||||
STUB_HELPER(svm_check_intercept_param, TCGv_env env, TCGv_i32 t, TCGv_i64 p)
|
||||
STUB_HELPER(svm_check_io, TCGv_env env, TCGv_i32 port, TCGv_i32 p, TCGv_i32 a)
|
||||
STUB_HELPER(vmload, TCGv_env env, TCGv_i32 aflag)
|
||||
STUB_HELPER(vmmcall, TCGv_env env)
|
||||
STUB_HELPER(vmrun, TCGv_env env, TCGv_i32 aflag, TCGv_i32 pc_ofs)
|
||||
STUB_HELPER(vmsave, TCGv_env env, TCGv_i32 aflag)
|
||||
#endif
|
||||
|
||||
static void gen_eob(DisasContext *s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue