Go to the source code of this file.
|
enum | x86emul_mode {
X86EMUL_MODE_REAL,
X86EMUL_MODE_VM86,
X86EMUL_MODE_PROT16,
X86EMUL_MODE_PROT32,
X86EMUL_MODE_PROT64
} |
|
enum | x86_intercept_stage { X86_ICTP_NONE = 0,
X86_ICPT_PRE_EXCEPT,
X86_ICPT_POST_EXCEPT,
X86_ICPT_POST_MEMACCESS
} |
|
enum | x86_intercept {
x86_intercept_none,
x86_intercept_cr_read,
x86_intercept_cr_write,
x86_intercept_clts,
x86_intercept_lmsw,
x86_intercept_smsw,
x86_intercept_dr_read,
x86_intercept_dr_write,
x86_intercept_lidt,
x86_intercept_sidt,
x86_intercept_lgdt,
x86_intercept_sgdt,
x86_intercept_lldt,
x86_intercept_sldt,
x86_intercept_ltr,
x86_intercept_str,
x86_intercept_rdtsc,
x86_intercept_rdpmc,
x86_intercept_pushf,
x86_intercept_popf,
x86_intercept_cpuid,
x86_intercept_rsm,
x86_intercept_iret,
x86_intercept_intn,
x86_intercept_invd,
x86_intercept_pause,
x86_intercept_hlt,
x86_intercept_invlpg,
x86_intercept_invlpga,
x86_intercept_vmrun,
x86_intercept_vmload,
x86_intercept_vmsave,
x86_intercept_vmmcall,
x86_intercept_stgi,
x86_intercept_clgi,
x86_intercept_skinit,
x86_intercept_rdtscp,
x86_intercept_icebp,
x86_intercept_wbinvd,
x86_intercept_monitor,
x86_intercept_mwait,
x86_intercept_rdmsr,
x86_intercept_wrmsr,
x86_intercept_in,
x86_intercept_ins,
x86_intercept_out,
x86_intercept_outs,
nr_x86_intercepts
} |
|
#define EMULATION_FAILED -1 |
#define EMULATION_INTERCEPTED 2 |
#define EMULATION_RESTART 1 |
#define REPNE_PREFIX 0xf2 |
#define X86EMUL_CMPXCHG_FAILED 4 /* cmpxchg did not see expected value */ |
#define X86EMUL_CONTINUE 0 |
#define X86EMUL_CPUID_VENDOR_AMDisbetterI_ebx 0x69444d41 |
#define X86EMUL_CPUID_VENDOR_AMDisbetterI_ecx 0x21726574 |
#define X86EMUL_CPUID_VENDOR_AMDisbetterI_edx 0x74656273 |
#define X86EMUL_CPUID_VENDOR_AuthenticAMD_ebx 0x68747541 |
#define X86EMUL_CPUID_VENDOR_AuthenticAMD_ecx 0x444d4163 |
#define X86EMUL_CPUID_VENDOR_AuthenticAMD_edx 0x69746e65 |
#define X86EMUL_CPUID_VENDOR_GenuineIntel_ebx 0x756e6547 |
#define X86EMUL_CPUID_VENDOR_GenuineIntel_ecx 0x6c65746e |
#define X86EMUL_CPUID_VENDOR_GenuineIntel_edx 0x49656e69 |
#define X86EMUL_INTERCEPTED 6 /* Intercepted by nested VMCB/VMCS */ |
#define X86EMUL_IO_NEEDED 5 /* IO is needed to complete emulation */ |
#define X86EMUL_PROPAGATE_FAULT 2 /* propagate a generated fault to guest */ |
#define X86EMUL_UNHANDLEABLE 1 |
- Enumerator:
x86_intercept_none |
|
x86_intercept_cr_read |
|
x86_intercept_cr_write |
|
x86_intercept_clts |
|
x86_intercept_lmsw |
|
x86_intercept_smsw |
|
x86_intercept_dr_read |
|
x86_intercept_dr_write |
|
x86_intercept_lidt |
|
x86_intercept_sidt |
|
x86_intercept_lgdt |
|
x86_intercept_sgdt |
|
x86_intercept_lldt |
|
x86_intercept_sldt |
|
x86_intercept_ltr |
|
x86_intercept_str |
|
x86_intercept_rdtsc |
|
x86_intercept_rdpmc |
|
x86_intercept_pushf |
|
x86_intercept_popf |
|
x86_intercept_cpuid |
|
x86_intercept_rsm |
|
x86_intercept_iret |
|
x86_intercept_intn |
|
x86_intercept_invd |
|
x86_intercept_pause |
|
x86_intercept_hlt |
|
x86_intercept_invlpg |
|
x86_intercept_invlpga |
|
x86_intercept_vmrun |
|
x86_intercept_vmload |
|
x86_intercept_vmsave |
|
x86_intercept_vmmcall |
|
x86_intercept_stgi |
|
x86_intercept_clgi |
|
x86_intercept_skinit |
|
x86_intercept_rdtscp |
|
x86_intercept_icebp |
|
x86_intercept_wbinvd |
|
x86_intercept_monitor |
|
x86_intercept_mwait |
|
x86_intercept_rdmsr |
|
x86_intercept_wrmsr |
|
x86_intercept_in |
|
x86_intercept_ins |
|
x86_intercept_out |
|
x86_intercept_outs |
|
nr_x86_intercepts |
|
Definition at line 342 of file kvm_emulate.h.
- Enumerator:
X86_ICTP_NONE |
|
X86_ICPT_PRE_EXCEPT |
|
X86_ICPT_POST_EXCEPT |
|
X86_ICPT_POST_MEMACCESS |
|
Definition at line 335 of file kvm_emulate.h.
- Enumerator:
X86EMUL_MODE_REAL |
|
X86EMUL_MODE_VM86 |
|
X86EMUL_MODE_PROT16 |
|
X86EMUL_MODE_PROT32 |
|
X86EMUL_MODE_PROT64 |
|
Definition at line 255 of file kvm_emulate.h.