| /openbmc/qemu/linux-user/microblaze/ |
| H A D | cpu_loop.c | 28 int trapnr, ret, si_code, sig; in cpu_loop() local 80 si_code = TARGET_FPE_INTDIV; in cpu_loop() 89 si_code = env->fsr; in cpu_loop() 90 if (si_code & FSR_IO) { in cpu_loop() 91 si_code = TARGET_FPE_FLTINV; in cpu_loop() 92 } else if (si_code & FSR_OF) { in cpu_loop() 93 si_code = TARGET_FPE_FLTOVF; in cpu_loop() 94 } else if (si_code & FSR_UF) { in cpu_loop() 95 si_code = TARGET_FPE_FLTUND; in cpu_loop() 96 } else if (si_code & FSR_DZ) { in cpu_loop() [all …]
|
| /openbmc/qemu/linux-user/ppc/ |
| H A D | cpu_loop.c | 71 int trapnr, si_signo, si_code; in cpu_loop() local 113 si_code = TARGET_FPE_FLTOVF; in cpu_loop() 116 si_code = TARGET_FPE_FLTUND; in cpu_loop() 120 si_code = TARGET_FPE_FLTDIV; in cpu_loop() 123 si_code = TARGET_FPE_FLTRES; in cpu_loop() 126 si_code = TARGET_FPE_FLTINV; in cpu_loop() 135 si_code = TARGET_FPE_FLTSUB; in cpu_loop() 140 si_code = 0; in cpu_loop() 148 si_code = TARGET_ILL_ILLOPC; in cpu_loop() 151 si_code = TARGET_ILL_ILLOPN; in cpu_loop() [all …]
|
| /openbmc/qemu/linux-user/alpha/ |
| H A D | cpu_loop.c | 29 int trapnr, si_code; in cpu_loop() local 115 si_code = TARGET_FPE_INTOVF; in cpu_loop() 118 si_code = TARGET_FPE_INTDIV; in cpu_loop() 121 si_code = TARGET_FPE_FLTOVF; in cpu_loop() 124 si_code = TARGET_FPE_FLTUND; in cpu_loop() 127 si_code = TARGET_FPE_FLTINV; in cpu_loop() 130 si_code = TARGET_FPE_FLTRES; in cpu_loop() 133 si_code = TARGET_FPE_FLTUNK; in cpu_loop() 138 force_sig_fault(TARGET_SIGFPE, si_code, env->pc); in cpu_loop()
|
| /openbmc/qemu/linux-user/loongarch64/ |
| H A D | cpu_loop.c | 23 int trapnr, si_code; in cpu_loop() local 60 si_code = TARGET_FPE_FLTUNK; in cpu_loop() 62 si_code = TARGET_FPE_FLTINV; in cpu_loop() 64 si_code = TARGET_FPE_FLTDIV; in cpu_loop() 66 si_code = TARGET_FPE_FLTOVF; in cpu_loop() 68 si_code = TARGET_FPE_FLTUND; in cpu_loop() 70 si_code = TARGET_FPE_FLTRES; in cpu_loop() 72 force_sig_fault(TARGET_SIGFPE, si_code, env->pc); in cpu_loop()
|
| /openbmc/qemu/linux-user/aarch64/ |
| H A D | cpu_loop.c | 34 int trapnr, ec, fsc, si_code, si_signo; in cpu_loop() local 79 si_code = TARGET_SEGV_MAPERR; in cpu_loop() 84 si_code = TARGET_SEGV_ACCERR; in cpu_loop() 88 si_code = TARGET_SEGV_MTESERR; in cpu_loop() 92 si_code = TARGET_BUS_ADRALN; in cpu_loop() 100 si_code = TARGET_BUS_ADRALN; in cpu_loop() 105 force_sig_fault(si_signo, si_code, env->exception.vaddress); in cpu_loop()
|
| /openbmc/qemu/bsd-user/aarch64/ |
| H A D | target_arch_cpu.h | 49 int trapnr, ec, fsc, si_code, si_signo; in target_cpu_loop() local 122 si_code = TARGET_SEGV_MAPERR; in target_cpu_loop() 127 si_code = TARGET_SEGV_ACCERR; in target_cpu_loop() 131 si_code = /* TARGET_SEGV_MTESERR; */ TARGET_SEGV_ACCERR; in target_cpu_loop() 135 si_code = TARGET_BUS_ADRALN; in target_cpu_loop() 140 force_sig_fault(si_signo, si_code, env->exception.vaddress); in target_cpu_loop()
|
| /openbmc/qemu/linux-user/ |
| H A D | signal.c | 343 int si_code = info->si_code; in host_to_target_siginfo_noswap() local 347 tinfo->si_code = info->si_code; in host_to_target_siginfo_noswap() 372 switch (si_code) { in host_to_target_siginfo_noswap() 389 if (si_code == CLD_EXITED) in host_to_target_siginfo_noswap() 417 tinfo->si_code = deposit32(si_code, 16, 16, si_type); in host_to_target_siginfo_noswap() 423 int si_type = extract32(info->si_code, 16, 16); in tswap_siginfo() 424 int si_code = sextract32(info->si_code, 0, 16); in tswap_siginfo() local 428 __put_user(si_code, &tinfo->si_code); in tswap_siginfo() 496 __get_user(info->si_code, &tinfo->si_code); in target_to_host_siginfo() 714 info.si_code = TARGET_SI_KERNEL; in force_sig() [all …]
|
| /openbmc/qemu/linux-user/mips/ |
| H A D | cpu_loop.c | 66 int trapnr, si_code; in cpu_loop() local 169 si_code = TARGET_FPE_FLTUNK; in cpu_loop() 171 si_code = TARGET_FPE_FLTINV; in cpu_loop() 173 si_code = TARGET_FPE_FLTDIV; in cpu_loop() 175 si_code = TARGET_FPE_FLTOVF; in cpu_loop() 177 si_code = TARGET_FPE_FLTUND; in cpu_loop() 179 si_code = TARGET_FPE_FLTRES; in cpu_loop() 181 force_sig_fault(TARGET_SIGFPE, si_code, env->active_tc.PC); in cpu_loop()
|
| /openbmc/qemu/bsd-user/ |
| H A D | signal.c | 172 int si_code = info->si_code; in host_to_target_siginfo_noswap() local 193 tinfo->si_code = info->si_code; in host_to_target_siginfo_noswap() 206 switch (si_code) { in host_to_target_siginfo_noswap() 266 tinfo->si_code = deposit32(si_code, 24, 8, si_type); in host_to_target_siginfo_noswap() 271 int si_type = extract32(info->si_code, 24, 8); in tswap_siginfo() 272 int si_code = sextract32(info->si_code, 0, 24); in tswap_siginfo() local 276 __put_user(si_code, &tinfo->si_code); /* Zero out si_type, it's internal */ in tswap_siginfo() 438 info->si_code = deposit32(info->si_code, 24, 8, si_type); in queue_signal() 479 info.si_code = code; in force_sig_fault() 505 if ((host_sig == SIGSEGV || host_sig == SIGBUS) && info->si_code > 0) { in host_signal_handler() [all …]
|
| /openbmc/qemu/bsd-user/arm/ |
| H A D | target_arch_cpu.h | 42 int trapnr, si_signo, si_code; in target_cpu_loop() local 160 si_code = TARGET_BUS_ADRALN; in target_cpu_loop() 169 si_code = TARGET_SEGV_ACCERR; in target_cpu_loop() 174 si_code = TARGET_SEGV_MAPERR; in target_cpu_loop() 179 force_sig_fault(si_signo, si_code, env->exception.vaddress); in target_cpu_loop()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/jack/a2jmidid/ |
| H A D | riscv_ucontext.patch | 9 a2j_error("info.si_code = %d (%s)", info->si_code, si_codes[info->si_code]);
|
| /openbmc/qemu/tests/tcg/s390x/ |
| H A D | trap.c | 48 if (si->si_code != 0) { in sig_handler() 49 error("unexpected si_code: 0x%x != 0", si->si_code); in sig_handler()
|
| /openbmc/qemu/linux-user/arm/ |
| H A D | cpu_loop.c | 290 int trapnr, si_signo, si_code; in cpu_loop() local 438 si_code = TARGET_BUS_ADRALN; in cpu_loop() 447 si_code = TARGET_SEGV_ACCERR; in cpu_loop() 452 si_code = TARGET_SEGV_MAPERR; in cpu_loop() 457 force_sig_fault(si_signo, si_code, env->exception.vaddress); in cpu_loop()
|
| /openbmc/qemu/bsd-user/freebsd/ |
| H A D | target_os_siginfo.h | 54 int32_t si_code; /* signal code */ member 122 #define target_si_code si_code
|
| /openbmc/qemu/linux-user/hppa/ |
| H A D | cpu_loop.c | 115 abi_ulong ret, si_code = 0; in cpu_loop() local 173 if (env->fr[0] & mask) { si_code = val; } in cpu_loop() 180 force_sig_fault(TARGET_SIGFPE, si_code, env->iaoq_f); in cpu_loop()
|
| /openbmc/qemu/tests/tcg/aarch64/ |
| H A D | pcalign-a64.c | 12 assert(info->si_code == BUS_ADRALN); in sigbus()
|
| H A D | mte-6.c | 5 assert(info->si_code == SEGV_MTESERR); in pass()
|
| H A D | mte-3.c | 12 assert(info->si_code == SEGV_MTEAERR); in pass()
|
| H A D | mte-2.c | 12 assert(info->si_code == SEGV_MTESERR); in pass()
|
| H A D | mte-5.c | 12 assert(info->si_code == SEGV_MTESERR); in pass()
|
| /openbmc/qemu/tests/tcg/arm/ |
| H A D | pcalign-a32.c | 16 assert(info->si_code == BUS_ADRALN); in sigbus()
|
| /openbmc/qemu/tests/tcg/ppc64/ |
| H A D | mtfsf.c | 20 if (si->si_code == FPE_FLTINV) { in sigfpe_handler()
|
| /openbmc/qemu/tests/tcg/multiarch/ |
| H A D | sigbus.c | 22 assert(info->si_code == BUS_ADRALN); in sigbus()
|
| /openbmc/qemu/system/ |
| H A D | cpus.c | 376 if (siginfo->si_code != BUS_MCEERR_AO && siginfo->si_code != BUS_MCEERR_AR) { in sigbus_handler() 382 if (kvm_on_sigbus_vcpu(current_cpu, siginfo->si_code, siginfo->si_addr)) { in sigbus_handler() 387 if (kvm_on_sigbus(siginfo->si_code, siginfo->si_addr)) { in sigbus_handler()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/hddtemp/hddtemp/ |
| H A D | 0001-backtrace-Replace-struct-ucontext-with-ucontext_t.patch | 34 switch(ist->si_code) {
|