/kvm-unit-tests/s390x/ |
H A D | cstart64.S | 61 /* setup pgm interrupt handler */ 64 /* setup ext interrupt handler */ 67 /* setup mcck interrupt handler */ 70 /* setup io interrupt handler */ 73 /* setup svc interrupt handler */
|
H A D | macros.S | 15 * Exception handler macro that saves registers on the stack, 16 * allocates stack space and calls the C handler function. Afterwards
|
H A D | gs.c | 37 /* guarded-storage event handler and finally it calls gs_handler */ 111 /* Register handler */ in init()
|
H A D | skey.c | 511 * breaks the normal handler and breaks skipping the faulting in test_set_prefix() 513 * interrupt handler to make things work. in test_set_prefix() 662 * breaks the normal handler and breaks skipping the faulting in test_msch() 664 * interrupt handler to make things work. in test_msch()
|
/kvm-unit-tests/lib/x86/ |
H A D | amd_sev.c | 103 * not have to re-implement a #VC handler. Also update the #VC IDT code in setup_amd_sev_es() 107 * TODO: Reusing UEFI #VC handler is a temporary workaround to simplify in setup_amd_sev_es() 109 * handler in kvm-unit-tests and load it, so that kvm-unit-tests does in setup_amd_sev_es() 110 * not depend on specific UEFI #VC handler implementation. in setup_amd_sev_es()
|
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 | 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);
|
H A D | usermode.c | 41 handler old_ex; in run_in_user()
|
/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 *));
|
/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 | 430 sbiret_report_error(&ret, SBI_SUCCESS, "Save full interrupted state from handler"); in sse_simple_handler() 436 "Write full interrupted state from handler"); in sse_simple_handler() 440 sbiret_report_error(&ret, SBI_SUCCESS, "Read full modified state from handler"); in sse_simple_handler() 452 sbiret_report_error(&ret, SBI_SUCCESS, "Full interrupted state restore from handler"); in sse_simple_handler() 537 .handler = sse_simple_handler, in sse_test_inject_simple() 758 cpu_arg->args.handler = sse_foreign_cpu_handler; in sse_test_inject_local() 846 report(READ_ONCE(test_arg->done), "event handler called"); in sse_test_inject_global_cpu() 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() [all …]
|
/kvm-unit-tests/lib/powerpc/ |
H A D | processor.c | 37 printf("exception handler installed twice %#x\n", trap << 5); in handle_exception() 129 * is then taken immediately and the handler disables EE. in sleep_tb() 185 /* Interrupt return handler will keep in_user clear */ in usermode_sc_handler()
|
H A D | handlers.c | 15 * Generic handler for decrementer exceptions (0x900)
|
/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()
|
/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 | cstart.S | 330 /* Branch to handler in SVC mode */ 362 * Branch to handler, still in SVC mode. 408 /* Call the handler. r0 is the vector number, r1 := pt_regs */
|
/kvm-unit-tests/powerpc/ |
H A D | cstart64.S | 257 /* call generic handler */ 307 /* save r0 and ctr to call generic handler */ 324 /* save r0 and ctr to call generic handler */
|
/kvm-unit-tests/x86/ |
H A D | syscall.c | 91 " mov %%rsp, (%%rax)\n" // stack pointer for exception handler in test_syscall_tf()
|
H A D | cet.c | 60 printf("In #CP exception handler, error_code = 0x%lx\n", in handle_cp()
|
/kvm-unit-tests/lib/arm/asm/ |
H A D | sysreg.h | 16 #define CR_P (1 << 4) /* 32-bit exception handler */
|