mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/i386: Inline user cpu_svm_check_intercept_param
The user-version is a no-op. This lets us completely remove tcg/user/svm_stubs.c. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210514151342.384376-44-richard.henderson@linaro.org>
This commit is contained in:
parent
35e5a5d5cb
commit
27bd3216a7
3 changed files with 8 additions and 29 deletions
|
@ -2146,8 +2146,16 @@ static inline void cpu_set_fpuc(CPUX86State *env, uint16_t fpuc)
|
|||
void helper_lock_init(void);
|
||||
|
||||
/* svm_helper.c */
|
||||
#ifdef CONFIG_USER_ONLY
|
||||
static inline void
|
||||
cpu_svm_check_intercept_param(CPUX86State *env1, uint32_t type,
|
||||
uint64_t param, uintptr_t retaddr)
|
||||
{ /* no-op */ }
|
||||
#else
|
||||
void cpu_svm_check_intercept_param(CPUX86State *env1, uint32_t type,
|
||||
uint64_t param, uintptr_t retaddr);
|
||||
#endif
|
||||
|
||||
/* apic.c */
|
||||
void cpu_report_tpr_access(CPUX86State *env, TPRAccess access);
|
||||
void apic_handle_tpr_access_report(DeviceState *d, target_ulong ip,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue