Lines Matching refs:sc_addr
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()
84 pfs_loc = IA64_LOC_ADDR (sc_addr + LINUX_PT_PFS_OFF, 0); in linux_interrupt()
99 unw_word_t sc_addr, bsp, bspstore; in hpux_sigtramp()
106 if ((ret = ia64_get (c, sc_loc, &sc_addr)) < 0) in hpux_sigtramp()
109 c->sigcontext_addr = sc_addr; in hpux_sigtramp()
113 c->cfm_loc = IA64_LOC_UC_REG (UNW_IA64_CFM, sc_addr); in hpux_sigtramp()
115 c->loc[IA64_REG_PSP] = IA64_LOC_UC_REG (UNW_IA64_GR + 12, sc_addr); in hpux_sigtramp()
116 c->loc[IA64_REG_BSP] = IA64_LOC_UC_REG (UNW_IA64_AR_BSP, sc_addr); in hpux_sigtramp()
117 c->loc[IA64_REG_BSPSTORE] = IA64_LOC_UC_REG (UNW_IA64_AR_BSPSTORE, sc_addr); in hpux_sigtramp()
118 c->loc[IA64_REG_PFS] = IA64_LOC_UC_REG (UNW_IA64_AR_PFS, sc_addr); in hpux_sigtramp()
119 c->loc[IA64_REG_RNAT] = IA64_LOC_UC_REG (UNW_IA64_AR_RNAT, sc_addr); in hpux_sigtramp()
120 c->loc[IA64_REG_IP] = IA64_LOC_UC_REG (UNW_IA64_IP, sc_addr); in hpux_sigtramp()
121 c->loc[IA64_REG_R4] = IA64_LOC_UC_REG (UNW_IA64_GR + 4, sc_addr); in hpux_sigtramp()
122 c->loc[IA64_REG_R5] = IA64_LOC_UC_REG (UNW_IA64_GR + 5, sc_addr); in hpux_sigtramp()
123 c->loc[IA64_REG_R6] = IA64_LOC_UC_REG (UNW_IA64_GR + 6, sc_addr); in hpux_sigtramp()
124 c->loc[IA64_REG_R7] = IA64_LOC_UC_REG (UNW_IA64_GR + 7, sc_addr); in hpux_sigtramp()
125 c->loc[IA64_REG_NAT4] = IA64_LOC_UC_REG (UNW_IA64_NAT + 4, sc_addr); in hpux_sigtramp()
126 c->loc[IA64_REG_NAT5] = IA64_LOC_UC_REG (UNW_IA64_NAT + 5, sc_addr); in hpux_sigtramp()
127 c->loc[IA64_REG_NAT6] = IA64_LOC_UC_REG (UNW_IA64_NAT + 6, sc_addr); in hpux_sigtramp()
128 c->loc[IA64_REG_NAT7] = IA64_LOC_UC_REG (UNW_IA64_NAT + 7, sc_addr); in hpux_sigtramp()
129 c->loc[IA64_REG_UNAT] = IA64_LOC_UC_REG (UNW_IA64_AR_UNAT, sc_addr); in hpux_sigtramp()
130 c->loc[IA64_REG_PR] = IA64_LOC_UC_REG (UNW_IA64_PR, sc_addr); in hpux_sigtramp()
131 c->loc[IA64_REG_LC] = IA64_LOC_UC_REG (UNW_IA64_AR_LC, sc_addr); in hpux_sigtramp()
132 c->loc[IA64_REG_FPSR] = IA64_LOC_UC_REG (UNW_IA64_AR_FPSR, sc_addr); in hpux_sigtramp()
133 c->loc[IA64_REG_B1] = IA64_LOC_UC_REG (UNW_IA64_BR + 1, sc_addr); in hpux_sigtramp()
134 c->loc[IA64_REG_B2] = IA64_LOC_UC_REG (UNW_IA64_BR + 2, sc_addr); in hpux_sigtramp()
135 c->loc[IA64_REG_B3] = IA64_LOC_UC_REG (UNW_IA64_BR + 3, sc_addr); in hpux_sigtramp()
136 c->loc[IA64_REG_B4] = IA64_LOC_UC_REG (UNW_IA64_BR + 4, sc_addr); in hpux_sigtramp()
137 c->loc[IA64_REG_B5] = IA64_LOC_UC_REG (UNW_IA64_BR + 5, sc_addr); in hpux_sigtramp()
138 c->loc[IA64_REG_F2] = IA64_LOC_UC_REG (UNW_IA64_FR + 2, sc_addr); in hpux_sigtramp()
139 c->loc[IA64_REG_F3] = IA64_LOC_UC_REG (UNW_IA64_FR + 3, sc_addr); in hpux_sigtramp()
140 c->loc[IA64_REG_F4] = IA64_LOC_UC_REG (UNW_IA64_FR + 4, sc_addr); in hpux_sigtramp()
141 c->loc[IA64_REG_F5] = IA64_LOC_UC_REG (UNW_IA64_FR + 5, sc_addr); in hpux_sigtramp()
143 c->loc[IA64_REG_F16 + i] = IA64_LOC_UC_REG (UNW_IA64_FR + 16 + i, sc_addr); in hpux_sigtramp()