diff options
Diffstat (limited to 'target-i386/svm.h')
-rw-r--r-- | target-i386/svm.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/target-i386/svm.h b/target-i386/svm.h index f99f47e899..add52fc986 100644 --- a/target-i386/svm.h +++ b/target-i386/svm.h @@ -71,8 +71,7 @@ struct __attribute__ ((__packed__)) vmcb_control_area { uint32_t int_vector; uint32_t int_state; uint8_t reserved_3[4]; - uint32_t exit_code; - uint32_t exit_code_hi; + uint64_t exit_code; uint64_t exit_info_1; uint64_t exit_info_2; uint32_t exit_int_info; @@ -323,14 +322,6 @@ struct __attribute__ ((__packed__)) vmcb { /* function references */ -void helper_stgi(void); -void vmexit(uint64_t exit_code, uint64_t exit_info_1); -int svm_check_intercept_param(uint32_t type, uint64_t param); -static inline int svm_check_intercept(unsigned int type) { - return svm_check_intercept_param(type, 0); -} - - #define INTERCEPTED(mask) (env->intercept & mask) #define INTERCEPTEDw(var, mask) (env->intercept ## var & mask) #define INTERCEPTEDl(var, mask) (env->intercept ## var & mask) |