Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dkvm_emulate.h16 struct x86_emulate_ctxt;
94 ulong (*read_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg);
101 void (*write_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg, ulong val);
109 int (*read_std)(struct x86_emulate_ctxt *ctxt,
121 int (*write_std)(struct x86_emulate_ctxt *ctxt,
131 int (*fetch)(struct x86_emulate_ctxt *ctxt,
141 int (*read_emulated)(struct x86_emulate_ctxt *ctxt,
152 int (*write_emulated)(struct x86_emulate_ctxt *ctxt,
165 int (*cmpxchg_emulated)(struct x86_emulate_ctxt *ctxt,
171 void (*invlpg)(struct x86_emulate_ctxt *ctxt, ulong addr);
[all …]
Dkvm_host.h426 struct x86_emulate_ctxt emulate_ctxt;
861 struct x86_emulate_ctxt;
/arch/x86/kvm/
Demulate.c207 int (*execute)(struct x86_emulate_ctxt *ctxt);
214 int (*check_perm)(struct x86_emulate_ctxt *ctxt);
256 static ulong reg_read(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_read()
265 static ulong *reg_write(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_write()
272 static ulong *reg_rmw(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_rmw()
278 static void writeback_registers(struct x86_emulate_ctxt *ctxt) in writeback_registers()
286 static void invalidate_registers(struct x86_emulate_ctxt *ctxt) in invalidate_registers()
304 static int fastop(struct x86_emulate_ctxt *ctxt, void (*fop)(struct fastop *));
422 static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, in emulator_check_intercept()
448 static inline unsigned long ad_mask(struct x86_emulate_ctxt *ctxt) in ad_mask()
[all …]
Dx86.h154 int kvm_read_guest_virt(struct x86_emulate_ctxt *ctxt,
158 int kvm_write_guest_virt_system(struct x86_emulate_ctxt *ctxt,
Dx86.c169 static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt);
4248 static int kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt, in kvm_fetch_guest_virt()
4274 int kvm_read_guest_virt(struct x86_emulate_ctxt *ctxt, in kvm_read_guest_virt()
4286 static int kvm_read_guest_virt_system(struct x86_emulate_ctxt *ctxt, in kvm_read_guest_virt_system()
4294 int kvm_write_guest_virt_system(struct x86_emulate_ctxt *ctxt, in kvm_write_guest_virt_system()
4488 int emulator_read_write(struct x86_emulate_ctxt *ctxt, unsigned long addr, in emulator_read_write()
4539 static int emulator_read_emulated(struct x86_emulate_ctxt *ctxt, in emulator_read_emulated()
4549 int emulator_write_emulated(struct x86_emulate_ctxt *ctxt, in emulator_write_emulated()
4569 static int emulator_cmpxchg_emulated(struct x86_emulate_ctxt *ctxt, in emulator_cmpxchg_emulated()
4673 static int emulator_pio_in_emulated(struct x86_emulate_ctxt *ctxt, in emulator_pio_in_emulated()
[all …]