Lines Matching refs:ctxt
76 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn() argument
81 memcpy(buffer, (unsigned char *)ctxt->regs->ip, MAX_INSN_SIZE); in vc_decode_insn()
83 ret = insn_decode(&ctxt->insn, buffer, MAX_INSN_SIZE, INSN_MODE_64); in vc_decode_insn()
90 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem() argument
98 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem() argument
106 static enum es_result vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) in vc_ioio_check() argument
299 struct es_em_ctxt ctxt; in do_boot_stage2_vc() local
306 result = vc_init_em_ctxt(&ctxt, regs, exit_code); in do_boot_stage2_vc()
313 result = vc_handle_rdtsc(boot_ghcb, &ctxt, exit_code); in do_boot_stage2_vc()
316 result = vc_handle_ioio(boot_ghcb, &ctxt); in do_boot_stage2_vc()
319 result = vc_handle_cpuid(boot_ghcb, &ctxt); in do_boot_stage2_vc()
328 vc_finish_insn(&ctxt); in do_boot_stage2_vc()