Lines Matching refs:ec
435 void kvm_exit_unexpected_exception(int vector, uint64_t ec, bool valid_ec) in kvm_exit_unexpected_exception() argument
437 ucall(UCALL_UNHANDLED, 3, vector, ec, valid_ec); in kvm_exit_unexpected_exception()
475 int ec = 0; in route_exception() local
480 ec = ESR_ELx_EC(read_sysreg(esr_el1)); in route_exception()
489 ec = 0; in route_exception()
497 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
498 return handlers->exception_handlers[vector][ec](regs); in route_exception()
501 kvm_exit_unexpected_exception(vector, ec, valid_ec); in route_exception()
512 void vm_install_sync_handler(struct kvm_vm *vm, int vector, int ec, in vm_install_sync_handler() argument
519 assert(ec <= ESR_ELx_EC_MAX); in vm_install_sync_handler()
520 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler()