Home
last modified time | relevance | path

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

/linux-6.14.4/tools/testing/selftests/kvm/lib/riscv/
Dprocessor.c17 static vm_vaddr_t exception_handlers; variable
402 exception_handler_fn exception_handlers[NR_VECTORS][NR_EXCEPTIONS]; member
407 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception()
420 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
421 return handlers->exception_handlers[vector][ec](regs); in route_exception()
439 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_vector_tables()
447 handlers->exception_handlers[0][vector] = handler; in vm_install_exception_handler()
454 handlers->exception_handlers[1][0] = handler; in vm_install_interrupt_handler()
/linux-6.14.4/tools/testing/selftests/kvm/lib/arm64/
Dprocessor.c21 static vm_vaddr_t exception_handlers; variable
453 handler_fn exception_handlers[VECTOR_NUM][ESR_ELx_EC_MAX + 1]; member
465 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception()
489 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
490 return handlers->exception_handlers[vector][ec](regs); in route_exception()
501 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()
512 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler()
522 handlers->exception_handlers[vector][0] = handler; in vm_install_exception_handler()
/linux-6.14.4/arch/loongarch/mm/
Dtlb.c263 extern long exception_handlers[VECSIZE * 128 / sizeof(long)];
293 vec_sz = sizeof(exception_handlers); in setup_tlb_handler()
/linux-6.14.4/arch/loongarch/kernel/
Dtraps.c1121 long exception_handlers[VECSIZE * 128 / sizeof(long)] __aligned(SZ_64K);
1125 eentry = (unsigned long)exception_handlers; in configure_exception_vector()
1126 tlbrentry = (unsigned long)exception_handlers + 80*VECSIZE; in configure_exception_vector()
/linux-6.14.4/arch/mips/kernel/
Dgenex.S40 PTR_L k0, exception_handlers(k1)
68 PTR_L k0, exception_handlers(k1)
Dtraps.c2007 unsigned long exception_handlers[32]; variable
2037 old_handler = xchg(&exception_handlers[n], handler); in set_except_vector()
/linux-6.14.4/tools/testing/selftests/kvm/lib/x86/
Dprocessor.c20 vm_vaddr_t exception_handlers; variable
571 handler *handlers = (handler *)exception_handlers; in route_exception()
600 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()