diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-15 16:46:30 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-15 16:46:30 +0000 |
commit | b8b6a50b552e1ddb9f0c563cbfb6f67aa0330b64 (patch) | |
tree | 70f78f7d7a4577ca95b9b05aff61b5b2f479aa6f /target-i386/svm.h | |
parent | cpu_abort() is really an abort (diff) | |
download | qemu-kvm-b8b6a50b552e1ddb9f0c563cbfb6f67aa0330b64.tar.gz qemu-kvm-b8b6a50b552e1ddb9f0c563cbfb6f67aa0330b64.tar.bz2 qemu-kvm-b8b6a50b552e1ddb9f0c563cbfb6f67aa0330b64.zip |
converted more helpers to TCG - fixed some SVM issues
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4459 c046a42c-6fe2-441c-8c8c-71466251a162
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 f99f47e89..add52fc98 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) |