Lines Matching refs:ctxt
212 struct x86_emulate_ctxt *ctxt);
226 struct x86_emulate_ctxt *ctxt);
237 struct x86_emulate_ctxt *ctxt);
251 struct x86_emulate_ctxt *ctxt);
259 struct x86_emulate_ctxt *ctxt);
273 struct x86_emulate_ctxt *ctxt);
287 struct x86_emulate_ctxt *ctxt);
302 struct x86_emulate_ctxt *ctxt);
316 struct x86_emulate_ctxt *ctxt);
325 struct x86_emulate_ctxt *ctxt);
334 struct x86_emulate_ctxt *ctxt);
344 struct x86_emulate_ctxt *ctxt);
354 struct x86_emulate_ctxt *ctxt);
363 struct x86_emulate_ctxt *ctxt);
372 struct x86_emulate_ctxt *ctxt);
381 struct x86_emulate_ctxt *ctxt);
390 struct x86_emulate_ctxt *ctxt);
399 struct x86_emulate_ctxt *ctxt);
408 struct x86_emulate_ctxt *ctxt);
412 struct x86_emulate_ctxt *ctxt);
419 struct x86_emulate_ctxt *ctxt);
430 struct x86_emulate_ctxt *ctxt);
441 struct x86_emulate_ctxt *ctxt,
449 struct x86_emulate_ctxt *ctxt);
453 struct x86_emulate_ctxt *ctxt);
590 struct x86_emulate_ctxt *ctxt,
599 struct x86_emulate_ctxt *ctxt,
620 struct x86_emulate_ctxt *ctxt);
626 struct x86_emulate_ctxt *ctxt,
630 struct x86_emulate_ctxt *ctxt));
645 const struct x86_emulate_ctxt *ctxt);
648 const struct x86_emulate_ctxt *ctxt);
651 const struct x86_emulate_ctxt *ctxt);
654 const struct x86_emulate_ctxt *ctxt);
657 const struct x86_emulate_ctxt *ctxt);
668 unsigned int vector, int error_code, struct x86_emulate_ctxt *ctxt) in x86_emul_hw_exception() argument
670 ASSERT(!ctxt->event_pending); in x86_emul_hw_exception()
672 ctxt->event.vector = vector; in x86_emul_hw_exception()
673 ctxt->event.type = X86_EVENTTYPE_HW_EXCEPTION; in x86_emul_hw_exception()
674 ctxt->event.error_code = error_code; in x86_emul_hw_exception()
676 ctxt->event_pending = true; in x86_emul_hw_exception()
680 int error_code, unsigned long cr2, struct x86_emulate_ctxt *ctxt) in x86_emul_pagefault() argument
682 ASSERT(!ctxt->event_pending); in x86_emul_pagefault()
684 ctxt->event.vector = 14; /* TRAP_page_fault */ in x86_emul_pagefault()
685 ctxt->event.type = X86_EVENTTYPE_HW_EXCEPTION; in x86_emul_pagefault()
686 ctxt->event.error_code = error_code; in x86_emul_pagefault()
687 ctxt->event.cr2 = cr2; in x86_emul_pagefault()
689 ctxt->event_pending = true; in x86_emul_pagefault()
692 static inline void x86_emul_reset_event(struct x86_emulate_ctxt *ctxt) in x86_emul_reset_event() argument
694 ctxt->event_pending = false; in x86_emul_reset_event()
695 ctxt->event = (struct x86_event){}; in x86_emul_reset_event()