Home
last modified time | relevance | path

Searched refs:exception_handlers (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/kvm/lib/loongarch/
H A Dprocessor.c16 static gva_t exception_handlers; variable
192 handlers = (struct handlers *)exception_handlers; in route_exception()
194 if (handlers && handlers->exception_handlers[vector]) in route_exception()
195 return handlers->exception_handlers[vector](regs); in route_exception()
214 exception_handlers = vm->handlers; in vm_init_descriptor_tables()
215 sync_global_to_guest(vm, exception_handlers); in vm_init_descriptor_tables()
223 handlers->exception_handlers[vector] = handler; in vm_install_exception_handler()
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c18 static gva_t exception_handlers; variable
417 exception_handler_fn exception_handlers[NR_VECTORS][NR_EXCEPTIONS]; member
422 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception()
435 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
436 return handlers->exception_handlers[vector][ec](regs); in route_exception()
454 *(gva_t *)addr_gva2hva(vm, (gva_t)(&exception_handlers)) = vm->handlers; in vm_init_vector_tables()
462 handlers->exception_handlers[0][vector] = handler; in vm_install_exception_handler()
469 handlers->exception_handlers[1][0] = handler; in vm_install_interrupt_handler()
/linux/tools/testing/selftests/kvm/lib/arm64/
H A Dprocessor.c22 static gva_t exception_handlers; variable
493 handler_fn exception_handlers[VECTOR_NUM][ESR_ELx_EC_MAX + 1]; member
505 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception()
529 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
530 return handlers->exception_handlers[vector][ec](regs); in route_exception()
541 *(gva_t *)addr_gva2hva(vm, (gva_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()
552 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler()
562 handlers->exception_handlers[vector][0] = handler; in vm_install_exception_handler()
/linux/tools/testing/selftests/kvm/include/loongarch/
H A Dprocessor.h192 handler_fn exception_handlers[VECTOR_NUM]; in local_irq_enable()
178 handler_fn exception_handlers[VECTOR_NUM]; global() member
/linux/arch/loongarch/kernel/
H A Dtraps.c1134 long exception_handlers[VECSIZE * 128 / sizeof(long)] __aligned(SZ_64K);
1138 eentry = (unsigned long)exception_handlers; in configure_exception_vector()
1139 tlbrentry = (unsigned long)exception_handlers + 80*VECSIZE; in configure_exception_vector()
H A Dunwind_orc.c355 int vec_sz = sizeof(exception_handlers); in bt_address()
/linux/arch/mips/kernel/
H A Dgenex.S40 PTR_L k0, exception_handlers(k1)
68 PTR_L k0, exception_handlers(k1)
H A Dtraps.c2007 unsigned long exception_handlers[32]; variable
2037 old_handler = xchg(&exception_handlers[n], handler); in set_except_vector()
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dprocessor.c24 gva_t exception_handlers; variable
724 handler *handlers = (handler *)exception_handlers; in route_exception()
753 *(gva_t *)addr_gva2hva(vm, (gva_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()