/third_party/libunwind/src/mips/ |
D | Gstep.c | 33 unw_word_t sc_addr, sp_addr = c->dwarf.cfa; in mips_handle_signal_frame() local 39 sc_addr = sp_addr + LINUX_SF_TRAMP_SIZE + sizeof (siginfo_t) + in mips_handle_signal_frame() 43 sc_addr = sp_addr + LINUX_UC_MCONTEXT_OFF; in mips_handle_signal_frame() 50 sc_addr += 4; in mips_handle_signal_frame() 52 c->sigcontext_addr = sc_addr; in mips_handle_signal_frame() 58 c->dwarf.loc[UNW_MIPS_R0] = DWARF_LOC (sc_addr + LINUX_SC_R0_OFF, 0); in mips_handle_signal_frame() 59 c->dwarf.loc[UNW_MIPS_R1] = DWARF_LOC (sc_addr + LINUX_SC_R1_OFF, 0); in mips_handle_signal_frame() 60 c->dwarf.loc[UNW_MIPS_R2] = DWARF_LOC (sc_addr + LINUX_SC_R2_OFF, 0); in mips_handle_signal_frame() 61 c->dwarf.loc[UNW_MIPS_R3] = DWARF_LOC (sc_addr + LINUX_SC_R3_OFF, 0); in mips_handle_signal_frame() 62 c->dwarf.loc[UNW_MIPS_R4] = DWARF_LOC (sc_addr + LINUX_SC_R4_OFF, 0); in mips_handle_signal_frame() [all …]
|
/third_party/libunwind/src/ia64/ |
D | Gstep.c | 36 unw_word_t sc_addr; in linux_sigtramp() 41 &sc_addr)) < 0) in linux_sigtramp() 44 c->sigcontext_addr = sc_addr; in linux_sigtramp() 47 && IA64_GET_ADDR (c->loc[IA64_REG_IP]) == sc_addr + LINUX_SC_BR_OFF + 8) in linux_sigtramp() 51 c->loc[IA64_REG_IP] = IA64_LOC_ADDR (sc_addr + LINUX_SC_IP_OFF, 0); in linux_sigtramp() 52 c->cfm_loc = IA64_LOC_ADDR (sc_addr + LINUX_SC_CFM_OFF, 0); in linux_sigtramp() 56 c->loc[IA64_REG_PFS] = IA64_LOC_ADDR (sc_addr + LINUX_SC_AR_PFS_OFF, 0); in linux_sigtramp() 70 unw_word_t sc_addr, num_regs; in linux_interrupt() 73 sc_addr = c->sigcontext_addr = c->sp + 0x10; in linux_interrupt() 82 pfs_loc = IA64_LOC_ADDR (sc_addr + LINUX_OLD_PT_PFS_OFF, 0); in linux_interrupt() [all …]
|
/third_party/libunwind/src/sh/ |
D | Gstep.c | 35 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in sh_handle_signal_frame() local 53 sc_addr = sp_addr; in sh_handle_signal_frame() 59 sc_addr = sp_addr + sizeof (siginfo_t) + LINUX_UC_MCONTEXT_OFF; in sh_handle_signal_frame() 64 c->sigcontext_addr = sc_addr; in sh_handle_signal_frame() 72 c->dwarf.loc[UNW_SH_R0] = DWARF_LOC (sc_addr + LINUX_SC_R0_OFF, 0); in sh_handle_signal_frame() 73 c->dwarf.loc[UNW_SH_R1] = DWARF_LOC (sc_addr + LINUX_SC_R1_OFF, 0); in sh_handle_signal_frame() 74 c->dwarf.loc[UNW_SH_R2] = DWARF_LOC (sc_addr + LINUX_SC_R2_OFF, 0); in sh_handle_signal_frame() 75 c->dwarf.loc[UNW_SH_R3] = DWARF_LOC (sc_addr + LINUX_SC_R3_OFF, 0); in sh_handle_signal_frame() 76 c->dwarf.loc[UNW_SH_R4] = DWARF_LOC (sc_addr + LINUX_SC_R4_OFF, 0); in sh_handle_signal_frame() 77 c->dwarf.loc[UNW_SH_R5] = DWARF_LOC (sc_addr + LINUX_SC_R5_OFF, 0); in sh_handle_signal_frame() [all …]
|
/third_party/libunwind/src/aarch64/ |
D | Gstep.c | 59 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in aarch64_handle_signal_frame() local 76 sc_addr = sp_addr + sizeof (siginfo_t) + LINUX_UC_MCONTEXT_OFF; in aarch64_handle_signal_frame() 81 c->sigcontext_addr = sc_addr; in aarch64_handle_signal_frame() 83 c->frame_info.cfa_reg_offset = sc_addr - sp_addr; in aarch64_handle_signal_frame() 91 c->dwarf.loc[UNW_AARCH64_X0] = DWARF_LOC (sc_addr + LINUX_SC_X0_OFF, 0); in aarch64_handle_signal_frame() 92 c->dwarf.loc[UNW_AARCH64_X1] = DWARF_LOC (sc_addr + LINUX_SC_X1_OFF, 0); in aarch64_handle_signal_frame() 93 c->dwarf.loc[UNW_AARCH64_X2] = DWARF_LOC (sc_addr + LINUX_SC_X2_OFF, 0); in aarch64_handle_signal_frame() 94 c->dwarf.loc[UNW_AARCH64_X3] = DWARF_LOC (sc_addr + LINUX_SC_X3_OFF, 0); in aarch64_handle_signal_frame() 95 c->dwarf.loc[UNW_AARCH64_X4] = DWARF_LOC (sc_addr + LINUX_SC_X4_OFF, 0); in aarch64_handle_signal_frame() 96 c->dwarf.loc[UNW_AARCH64_X5] = DWARF_LOC (sc_addr + LINUX_SC_X5_OFF, 0); in aarch64_handle_signal_frame() [all …]
|
/third_party/libunwind/src/arm/ |
D | Gos-linux.c | 37 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in arm_handle_signal_frame() local 66 sc_addr = sp_addr + LINUX_UC_MCONTEXT_OFF; in arm_handle_signal_frame() 71 sc_addr = sp_addr; in arm_handle_signal_frame() 81 sc_addr = sp_addr + 8 + sizeof (siginfo_t) + LINUX_UC_MCONTEXT_OFF; in arm_handle_signal_frame() 86 sc_addr = sp_addr + sizeof (siginfo_t) + LINUX_UC_MCONTEXT_OFF; in arm_handle_signal_frame() 92 c->sigcontext_addr = sc_addr; in arm_handle_signal_frame() 94 c->frame_info.cfa_reg_offset = sc_addr - sp_addr; in arm_handle_signal_frame() 102 c->dwarf.loc[UNW_ARM_R0] = DWARF_LOC (sc_addr + LINUX_SC_R0_OFF, 0); in arm_handle_signal_frame() 103 c->dwarf.loc[UNW_ARM_R1] = DWARF_LOC (sc_addr + LINUX_SC_R1_OFF, 0); in arm_handle_signal_frame() 104 c->dwarf.loc[UNW_ARM_R2] = DWARF_LOC (sc_addr + LINUX_SC_R2_OFF, 0); in arm_handle_signal_frame() [all …]
|
D | Gos-freebsd.c | 42 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in arm_handle_signal_frame() local 62 sc_addr = sp_addr; in arm_handle_signal_frame() 69 c->sigcontext_addr = sc_addr; in arm_handle_signal_frame() 71 c->frame_info.cfa_reg_offset = sc_addr - sp_addr; in arm_handle_signal_frame() 82 c->dwarf.loc[UNW_ARM_R ## n] = DWARF_LOC (sc_addr + ROFF(n), 0); in arm_handle_signal_frame()
|
/third_party/libunwind/src/s390x/ |
D | Gstep.c | 37 unw_word_t sc_addr, sp, *gprs, *fprs, *psw; in s390x_handle_signal_frame() local 50 sc_addr = sp + 160; in s390x_handle_signal_frame() 51 gprs = ((struct sigcontext*)sc_addr)->sregs->regs.gprs; in s390x_handle_signal_frame() 52 fprs = (unw_word_t*)((struct sigcontext*)sc_addr)->sregs->fpregs.fprs; in s390x_handle_signal_frame() 53 psw = &((struct sigcontext*)sc_addr)->sregs->regs.psw.addr; in s390x_handle_signal_frame() 56 sc_addr = sp + sizeof(siginfo_t) + 8 + 160; in s390x_handle_signal_frame() 57 gprs = ((ucontext_t*)sc_addr)->uc_mcontext.gregs; in s390x_handle_signal_frame() 58 fprs = (unw_word_t*)((ucontext_t*)sc_addr)->uc_mcontext.fpregs.fprs; in s390x_handle_signal_frame() 59 psw = &((ucontext_t*)sc_addr)->uc_mcontext.psw.addr; in s390x_handle_signal_frame() 65 c->sigcontext_addr = sc_addr; in s390x_handle_signal_frame()
|
/third_party/libunwind/src/x86/ |
D | Gos-linux.c | 83 unw_word_t sc_addr; in x86_handle_signal_frame() local 105 c->sigcontext_addr = sc_addr = c->dwarf.cfa + 4; in x86_handle_signal_frame() 116 sc_addr = sigcontext_ptr + LINUX_UC_MCONTEXT_OFF; in x86_handle_signal_frame() 118 esp_loc = DWARF_LOC (sc_addr + LINUX_SC_ESP_OFF, 0); in x86_handle_signal_frame() 129 c->dwarf.loc[EAX] = DWARF_LOC (sc_addr + LINUX_SC_EAX_OFF, 0); in x86_handle_signal_frame() 130 c->dwarf.loc[ECX] = DWARF_LOC (sc_addr + LINUX_SC_ECX_OFF, 0); in x86_handle_signal_frame() 131 c->dwarf.loc[EDX] = DWARF_LOC (sc_addr + LINUX_SC_EDX_OFF, 0); in x86_handle_signal_frame() 132 c->dwarf.loc[EBX] = DWARF_LOC (sc_addr + LINUX_SC_EBX_OFF, 0); in x86_handle_signal_frame() 133 c->dwarf.loc[EBP] = DWARF_LOC (sc_addr + LINUX_SC_EBP_OFF, 0); in x86_handle_signal_frame() 134 c->dwarf.loc[ESI] = DWARF_LOC (sc_addr + LINUX_SC_ESI_OFF, 0); in x86_handle_signal_frame() [all …]
|
/third_party/libunwind/src/hppa/ |
D | Gstep.c | 58 unw_word_t ip, sc_addr = c->dwarf.ip + LINUX_RT_SIGFRAME_UC_OFF; in unw_step() local 59 dwarf_loc_t iaoq_loc = DWARF_LOC (sc_addr + LINUX_SC_IAOQ_OFF, 0); in unw_step() 62 c->sigcontext_addr = sc_addr; in unw_step() 74 = DWARF_LOC (sc_addr + LINUX_SC_GR_OFF + 4*i, 0); in unw_step() 76 = DWARF_LOC (sc_addr + LINUX_SC_FR_OFF + 4*i, 0); in unw_step()
|
/third_party/libunwind/src/setjmp/ |
D | setjmp_i.h | 81 unw_word_t sc_addr = ((struct cursor *) c)->sigcontext_addr; in resume_restores_sigmask() local 82 struct sigcontext *sc = (struct sigcontext *) sc_addr; in resume_restores_sigmask() 86 if (!sc_addr) in resume_restores_sigmask()
|
/third_party/libunwind/src/tilegx/ |
D | Gis_signal_frame.c | 83 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in tilegx_handle_signal_frame() local 97 sc_addr = c->sigcontext_addr + LINUX_UC_MCONTEXT_OFF; in tilegx_handle_signal_frame() 110 c->dwarf.loc[i] = DWARF_LOC (sc_addr + SC_REG_OFFSET(i), 0); in tilegx_handle_signal_frame()
|
/third_party/FreeBSD/sys/dev/usb/controller/ |
D | ehci.h | 357 uint8_t sc_addr; /* device address */ member
|
D | ehci.c | 3178 sc->sc_addr = value; 3735 sc->sc_addr); 3737 if (udev->device_index != sc->sc_addr) {
|