/kvm-unit-tests/lib/riscv/asm/ |
H A D | processor.h | 51 void install_exception_handler(unsigned long cause, void (*handler)(struct pt_regs *)); 52 void install_irq_handler(unsigned long cause, void (*handler)(struct pt_regs *));
|
H A D | sbi.h | 273 sbi_sse_handler_fn handler; member
|
/kvm-unit-tests/lib/riscv/ |
H A D | processor.c | 63 void install_irq_handler(unsigned long cause, void (*handler)(struct pt_regs *)) in install_irq_handler() 68 info->interrupt_handlers[cause] = handler; in install_irq_handler() 71 void install_exception_handler(unsigned long cause, void (*handler)(struct pt_regs *)) in install_exception_handler() 76 info->exception_handlers[cause] = handler; in install_exception_handler()
|
H A D | asm-offsets.c | 71 OFFSET(SBI_SSE_HANDLER, sbi_sse_handler_arg, handler); in main()
|
/kvm-unit-tests/riscv/ |
H A D | selftest.c | 24 static void handler(struct pt_regs *regs) in handler() function 32 install_exception_handler(EXC_INST_ILLEGAL, handler); in check_exceptions()
|
H A D | sbi-sse.c | 537 .handler = sse_simple_handler, in sse_test_inject_simple() 758 cpu_arg->args.handler = sse_foreign_cpu_handler; in sse_test_inject_local() 871 .handler = sse_foreign_cpu_handler, in sse_test_inject_global() 936 sbi_sse_handler_fn handler, in sse_test_injection_priority_arg() argument 975 event_arg->handler = handler; in sse_test_injection_priority_arg()
|
H A D | sbi.c | 151 static void timer_setup(void (*handler)(struct pt_regs *)) in timer_setup() 153 install_irq_handler(IRQ_S_TIMER, handler); in timer_setup()
|
/kvm-unit-tests/lib/x86/ |
H A D | desc.c | 105 unsigned long handler; member 188 regs->rip = ex->handler; in check_exception_table() 195 static handler exception_handlers[32]; 197 handler handle_exception(u8 v, handler fn) in handle_exception() 199 handler old; in handle_exception() 483 handler old; in test_for_exception()
|
H A D | usermode.c | 41 handler old_ex; in run_in_user()
|
H A D | fault_test.c | 22 handler old; in fault_test()
|
H A D | desc.h | 98 typedef void (*handler)(struct ex_regs *regs); typedef 256 handler handle_exception(u8 v, handler fn);
|
/kvm-unit-tests/arm/ |
H A D | psci.c | 34 static void install_invalid_function_handler(exception_fn handler) in install_invalid_function_handler() argument 37 install_exception_handler(EXCPTN_UND, handler); in install_invalid_function_handler() 39 install_exception_handler(EL1H_SYNC, ESR_EL1_EC_UNKNOWN, handler); in install_invalid_function_handler()
|
H A D | gic.c | 177 static void setup_irq(irq_handler_fn handler) in setup_irq() argument 181 install_exception_handler(EXCPTN_IRQ, handler); in setup_irq() 183 install_irq_handler(EL1H_IRQ, handler); in setup_irq()
|
/kvm-unit-tests/lib/ |
H A D | acpi.c | 106 int acpi_table_parse_madt(enum acpi_madt_type mtype, acpi_table_handler handler) in acpi_table_parse_madt() argument 121 handler(header); in acpi_table_parse_madt()
|
H A D | pci.h | 36 extern void pci_cap_walk(struct pci_dev *dev, pci_cap_handler_t handler);
|
H A D | pci.c | 10 void pci_cap_walk(struct pci_dev *dev, pci_cap_handler_t handler) in pci_cap_walk() argument 20 handler(dev, cap_offset, cap_id); in pci_cap_walk()
|
H A D | acpi.h | 300 int acpi_table_parse_madt(enum acpi_madt_type mtype, acpi_table_handler handler);
|
/kvm-unit-tests/x86/ |
H A D | emulator.c | 449 handler old; in test_sse_exceptions() 730 handler old_db_handler = handle_exception(DB_VECTOR, handle_db); in test_mov_pop_ss_code_db()
|
H A D | vmx_tests.c | 5063 handler old_gp, old_db; in vmx_mtf_test() 6644 static handler setup_x2apic_gp_handler(void) in setup_x2apic_gp_handler() 6646 handler old_handler; in setup_x2apic_gp_handler() 6655 static void teardown_x2apic_gp_handler(handler old_handler) in teardown_x2apic_gp_handler() 6679 handler old_handler; in virt_x2apic_mode_guest() 8946 handler old_db; in vmx_preemption_timer_zero_test() 9060 handler old_db; in vmx_preemption_timer_tf_test() 10759 handler old_handler = handle_exception(vector, vmx_exception_handler); in handle_exception_in_l2()
|
H A D | svm_tests.c | 3263 handler old_handler = handle_exception(vector, svm_exception_handler); in handle_exception_in_l2()
|