Lines Matching refs:ec
386 void kvm_exit_unexpected_exception(int vector, int ec)
388 ucall(UCALL_UNHANDLED, 2, vector, ec);
396 TEST_FAIL("Unexpected exception (vector:0x%lx, ec:0x%lx)",
408 int vector = 0, ec;
410 ec = regs->cause & ~CAUSE_IRQ_FLAG;
411 if (ec >= NR_EXCEPTIONS)
417 ec = 0;
420 if (handlers && handlers->exception_handlers[vector][ec])
421 return handlers->exception_handlers[vector][ec](regs);
424 return kvm_exit_unexpected_exception(vector, ec);