Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Dkvm_emulate.h17 struct x86_emulate_ctxt;
96 ulong (*read_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg);
103 void (*write_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg, ulong val);
112 int (*read_std)(struct x86_emulate_ctxt *ctxt,
124 int (*read_phys)(struct x86_emulate_ctxt *ctxt, unsigned long addr,
135 int (*write_std)(struct x86_emulate_ctxt *ctxt,
145 int (*fetch)(struct x86_emulate_ctxt *ctxt,
155 int (*read_emulated)(struct x86_emulate_ctxt *ctxt,
166 int (*write_emulated)(struct x86_emulate_ctxt *ctxt,
179 int (*cmpxchg_emulated)(struct x86_emulate_ctxt *ctxt,
[all …]
H A Demulate.c195 int (*execute)(struct x86_emulate_ctxt *ctxt);
204 int (*check_perm)(struct x86_emulate_ctxt *ctxt);
243 static ulong reg_read(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_read()
252 static ulong *reg_write(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_write()
259 static ulong *reg_rmw(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_rmw()
265 static void writeback_registers(struct x86_emulate_ctxt *ctxt) in writeback_registers()
273 static void invalidate_registers(struct x86_emulate_ctxt *ctxt) in invalidate_registers()
309 static int fastop(struct x86_emulate_ctxt *ctxt, fastop_t fop);
503 static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, in emulator_check_intercept()
548 static inline unsigned long ad_mask(struct x86_emulate_ctxt *ctxt) in ad_mask()
[all …]
H A Dx86.c280 unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src); in kvm_alloc_emulator_cache()
281 unsigned int size = sizeof(struct x86_emulate_ctxt); in kvm_alloc_emulator_cache()
284 __alignof__(struct x86_emulate_ctxt), in kvm_alloc_emulator_cache()
289 static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt);
6100 static int kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt, in kvm_fetch_guest_virt()
6144 static int emulator_read_std(struct x86_emulate_ctxt *ctxt, in emulator_read_std()
6157 static int kvm_read_guest_phys_system(struct x86_emulate_ctxt *ctxt, in kvm_read_guest_phys_system()
6197 static int emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, in emulator_write_std()
6382 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in emulator_read_write_onepage()
6423 static int emulator_read_write(struct x86_emulate_ctxt *ctxt, in emulator_read_write()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dkvm_host.h192 struct x86_emulate_ctxt;
649 struct x86_emulate_ctxt *emulate_ctxt;