Searched refs:x86_emulate_ctxt (Results 1 – 7 of 7) sorted by relevance
/arch/x86/kvm/ |
D | kvm_emulate.h | 18 struct x86_emulate_ctxt; 92 void (*vm_bugged)(struct x86_emulate_ctxt *ctxt); 98 ulong (*read_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg); 105 void (*write_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg, ulong val); 114 int (*read_std)(struct x86_emulate_ctxt *ctxt, 127 int (*write_std)(struct x86_emulate_ctxt *ctxt, 137 int (*fetch)(struct x86_emulate_ctxt *ctxt, 147 int (*read_emulated)(struct x86_emulate_ctxt *ctxt, 158 int (*write_emulated)(struct x86_emulate_ctxt *ctxt, 171 int (*cmpxchg_emulated)(struct x86_emulate_ctxt *ctxt, [all …]
|
D | emulate.c | 198 int (*execute)(struct x86_emulate_ctxt *ctxt); 207 int (*check_perm)(struct x86_emulate_ctxt *ctxt); 246 static void writeback_registers(struct x86_emulate_ctxt *ctxt) in writeback_registers() 255 static void invalidate_registers(struct x86_emulate_ctxt *ctxt) in invalidate_registers() 291 static int fastop(struct x86_emulate_ctxt *ctxt, fastop_t fop); 466 static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, in emulator_check_intercept() 511 static inline unsigned long ad_mask(struct x86_emulate_ctxt *ctxt) in ad_mask() 516 static ulong stack_mask(struct x86_emulate_ctxt *ctxt) in stack_mask() 527 static int stack_size(struct x86_emulate_ctxt *ctxt) in stack_size() 534 address_mask(struct x86_emulate_ctxt *ctxt, unsigned long reg) in address_mask() [all …]
|
D | x86.c | 344 unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src); in kvm_alloc_emulator_cache() 345 unsigned int size = sizeof(struct x86_emulate_ctxt); in kvm_alloc_emulator_cache() 348 __alignof__(struct x86_emulate_ctxt), in kvm_alloc_emulator_cache() 353 static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt); 7377 static int kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt, in kvm_fetch_guest_virt() 7422 static int emulator_read_std(struct x86_emulate_ctxt *ctxt, in emulator_read_std() 7467 static int emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, in emulator_write_std() 7665 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in emulator_read_write_onepage() 7706 static int emulator_read_write(struct x86_emulate_ctxt *ctxt, in emulator_read_write() 7760 static int emulator_read_emulated(struct x86_emulate_ctxt *ctxt, in emulator_read_emulated() [all …]
|
D | smm.h | 156 int emulator_leave_smm(struct x86_emulate_ctxt *ctxt);
|
D | smm.c | 467 static int rsm_load_state_32(struct x86_emulate_ctxt *ctxt, in rsm_load_state_32() 519 static int rsm_load_state_64(struct x86_emulate_ctxt *ctxt, in rsm_load_state_64() 572 int emulator_leave_smm(struct x86_emulate_ctxt *ctxt) in emulator_leave_smm()
|
/arch/x86/include/asm/ |
D | kvm_host.h | 208 struct x86_emulate_ctxt; 857 struct x86_emulate_ctxt *emulate_ctxt;
|
/arch/x86/kvm/svm/ |
D | svm.c | 2339 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in svm_instr_opcode()
|