Home
last modified time | relevance | path

Searched full:handler (Results 1 – 25 of 48) sorted by relevance

12

/kvm-unit-tests/s390x/
H A Dcstart64.S61 /* 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 Dmacros.S15 * Exception handler macro that saves registers on the stack,
16 * allocates stack space and calls the C handler function. Afterwards
H A Dgs.c37 /* guarded-storage event handler and finally it calls gs_handler */
111 /* Register handler */ in init()
H A Dskey.c511 * 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 Damd_sev.c103 * 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 Ddesc.c105 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 Dfault_test.c22 handler old; in fault_test()
H A Ddesc.h98 typedef void (*handler)(struct ex_regs *regs); typedef
256 handler handle_exception(u8 v, handler fn);
H A Dusermode.c41 handler old_ex; in run_in_user()
/kvm-unit-tests/lib/riscv/asm/
H A Dprocessor.h51 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 Dprocessor.c63 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 Dasm-offsets.c71 OFFSET(SBI_SSE_HANDLER, sbi_sse_handler_arg, handler); in main()
/kvm-unit-tests/riscv/
H A Dselftest.c24 static void handler(struct pt_regs *regs) in handler() function
32 install_exception_handler(EXC_INST_ILLEGAL, handler); in check_exceptions()
H A Dsbi-sse.c430 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 Dprocessor.c37 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 Dhandlers.c15 * Generic handler for decrementer exceptions (0x900)
/kvm-unit-tests/lib/
H A Dacpi.c106 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 Dpci.h36 extern void pci_cap_walk(struct pci_dev *dev, pci_cap_handler_t handler);
H A Dpci.c10 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 Dpsci.c34 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 Dcstart.S330 /* 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 Dcstart64.S257 /* 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 Dsyscall.c91 " mov %%rsp, (%%rax)\n" // stack pointer for exception handler in test_syscall_tf()
H A Dcet.c60 printf("In #CP exception handler, error_code = 0x%lx\n", in handle_cp()
/kvm-unit-tests/lib/arm/asm/
H A Dsysreg.h16 #define CR_P (1 << 4) /* 32-bit exception handler */

12