Home
last modified time | relevance | path

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

/kvm-unit-tests/lib/arm/
H A Dprocessor.c73 ti->exception_handlers[v] = fn; in install_exception_handler()
84 if (v < EXCPTN_MAX && ti->exception_handlers[v]) { in do_handle_exception()
85 ti->exception_handlers[v](regs); in do_handle_exception()
91 if (v < EXCPTN_MAX && ti->exception_handlers[v]) { in do_handle_exception()
92 ti->exception_handlers[v](regs); in do_handle_exception()
/kvm-unit-tests/lib/arm64/
H A Dprocessor.c145 ti->exception_handlers[v][ec] = fn; in install_exception_handler()
153 ti->exception_handlers[v][0] = (exception_fn)fn; in install_irq_handler()
163 if (ec < EC_MAX && ti->exception_handlers[v][ec]) { in default_vector_sync_handler()
164 ti->exception_handlers[v][ec](regs, esr); in default_vector_sync_handler()
170 if (ec < EC_MAX && ti->exception_handlers[v][ec]) in default_vector_sync_handler()
171 ti->exception_handlers[v][ec](regs, esr); in default_vector_sync_handler()
181 (irq_handler_fn)ti->exception_handlers[v][0]; in default_vector_irq_handler()
189 irq_handler = (irq_handler_fn)ti->exception_handlers[v][0]; in default_vector_irq_handler()
/kvm-unit-tests/lib/arm/asm/
H A Dthread_info.h54 exception_fn exception_handlers[EXCPTN_MAX]; member
57 exception_fn exception_handlers[VECTOR_MAX][EC_MAX]; member
/kvm-unit-tests/lib/riscv/
H A Dprocessor.c52 if (info->exception_handlers[regs->cause]) { in do_handle_exception()
53 info->exception_handlers[regs->cause](regs); in do_handle_exception()
76 info->exception_handlers[cause] = handler; in install_exception_handler()
/kvm-unit-tests/lib/riscv/asm/
H A Dprocessor.h19 exception_fn exception_handlers[EXCEPTION_CAUSE_MAX]; member
/kvm-unit-tests/lib/x86/
H A Ddesc.c195 static handler exception_handlers[32]; variable
201 old = exception_handlers[v]; in handle_exception()
203 exception_handlers[v] = fn; in handle_exception()
212 if (regs->vector < 32 && exception_handlers[regs->vector]) { in do_handle_exception()
213 exception_handlers[regs->vector](regs); in do_handle_exception()