Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/lib/riscv/
A 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()
/tools/testing/selftests/kvm/lib/arm64/
A Dprocessor.c21 static vm_vaddr_t exception_handlers; variable
461 handler_fn exception_handlers[VECTOR_NUM][ESR_ELx_EC_MAX + 1]; member
473 struct handlers *handlers = (struct handlers *)exception_handlers; 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()
509 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()
520 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler()
530 handlers->exception_handlers[vector][0] = handler; in vm_install_exception_handler()
/tools/testing/selftests/kvm/lib/x86/
A 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()

Completed in 9 milliseconds