Home
last modified time | relevance | path

Searched refs:x86_emulate_ctxt (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/arch/x86/kvm/
Dkvm_emulate.h18 struct x86_emulate_ctxt;
99 void (*vm_bugged)(struct x86_emulate_ctxt *ctxt);
105 ulong (*read_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg);
112 void (*write_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg, ulong val);
121 int (*read_std)(struct x86_emulate_ctxt *ctxt,
134 int (*write_std)(struct x86_emulate_ctxt *ctxt,
144 int (*fetch)(struct x86_emulate_ctxt *ctxt,
154 int (*read_emulated)(struct x86_emulate_ctxt *ctxt,
165 int (*write_emulated)(struct x86_emulate_ctxt *ctxt,
178 int (*cmpxchg_emulated)(struct x86_emulate_ctxt *ctxt,
[all …]
Demulate.c198 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 …]
Dx86.c543 unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src); in kvm_alloc_emulator_cache()
544 unsigned int size = sizeof(struct x86_emulate_ctxt); in kvm_alloc_emulator_cache()
547 __alignof__(struct x86_emulate_ctxt), in kvm_alloc_emulator_cache()
552 static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt);
7641 static int kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt, in kvm_fetch_guest_virt()
7686 static int emulator_read_std(struct x86_emulate_ctxt *ctxt, in emulator_read_std()
7731 static int emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, in emulator_write_std()
7931 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in emulator_read_write_onepage()
7972 static int emulator_read_write(struct x86_emulate_ctxt *ctxt, in emulator_read_write()
8026 static int emulator_read_emulated(struct x86_emulate_ctxt *ctxt, in emulator_read_emulated()
[all …]
Dsmm.h156 int emulator_leave_smm(struct x86_emulate_ctxt *ctxt);
Dsmm.c459 static int rsm_load_state_32(struct x86_emulate_ctxt *ctxt, in rsm_load_state_32()
511 static int rsm_load_state_64(struct x86_emulate_ctxt *ctxt, in rsm_load_state_64()
564 int emulator_leave_smm(struct x86_emulate_ctxt *ctxt) in emulator_leave_smm()
/linux-6.12.1/arch/x86/include/asm/
Dkvm_host.h219 struct x86_emulate_ctxt;
883 struct x86_emulate_ctxt *emulate_ctxt;
/linux-6.12.1/arch/x86/kvm/svm/
Dsvm.c2335 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in svm_instr_opcode()