mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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
This commit is contained in:
parent
6e01bdaedc
commit
b8b6a50b55
10 changed files with 405 additions and 486 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue