Home
last modified time | relevance | path

Searched refs:STACK_BIAS (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/arch/sparc/include/asm/
H A Dttable.h252 stx %l0, [%sp + STACK_BIAS + 0x00]; \
253 stx %l1, [%sp + STACK_BIAS + 0x08]; \
254 stx %l2, [%sp + STACK_BIAS + 0x10]; \
255 stx %l3, [%sp + STACK_BIAS + 0x18]; \
256 stx %l4, [%sp + STACK_BIAS + 0x20]; \
257 stx %l5, [%sp + STACK_BIAS + 0x28]; \
258 stx %l6, [%sp + STACK_BIAS + 0x30]; \
259 stx %l7, [%sp + STACK_BIAS + 0x38]; \
260 stx %i0, [%sp + STACK_BIAS + 0x40]; \
298 add %sp, STACK_BIAS + 0x00, %g1; \
[all …]
H A Dhead_64.h17 #define PTREGS_OFF (STACK_BIAS + STACKFRAME_SZ)
H A Dptrace.h150 #define STACK_BIAS 2047 macro
H A Dprocessor_64.h127 : "r" (regs), "r" (sp - sizeof(struct reg_window) - STACK_BIAS), \
/openbmc/linux/arch/sparc/kernel/
H A Detrap_64.S91 etrap_save: save %g2, -STACK_BIAS, %sp
225 stx %g3, [%g2 + STACK_BIAS + 0x00]
227 stx %g3, [%g2 + STACK_BIAS + 0x08]
229 stx %g3, [%g2 + STACK_BIAS + 0x10]
231 stx %g3, [%g2 + STACK_BIAS + 0x18]
235 stx %g3, [%g2 + STACK_BIAS + 0x20]
237 stx %g3, [%g2 + STACK_BIAS + 0x28]
239 stx %g3, [%g2 + STACK_BIAS + 0x30]
241 stx %g3, [%g2 + STACK_BIAS + 0x38]
250 stx %g3, [%g2 + STACK_BIAS + 0x40]
[all …]
H A Dprocess_64.c139 (regs->u_regs[14] + STACK_BIAS); in show_regwindow()
141 (regs->u_regs[14] + STACK_BIAS); in show_regwindow()
209 (regs->u_regs[UREG_FP] + STACK_BIAS); in __global_reg_self()
213 (rw->ins[6] + STACK_BIAS); in __global_reg_self()
432 csp += STACK_BIAS; in clone_stackframe()
433 psp += STACK_BIAS; in clone_stackframe()
435 fp += STACK_BIAS; in clone_stackframe()
460 rval = rval - STACK_BIAS; in clone_stackframe()
495 sp += STACK_BIAS; in synchronize_user_stack()
535 sp += STACK_BIAS; in fault_in_user_windows()
[all …]
H A Dstacktrace.c30 fp = ksp + STACK_BIAS; in __save_stack_trace()
49 fp = regs->u_regs[UREG_I6] + STACK_BIAS; in __save_stack_trace()
52 fp = (unsigned long)sf->fp + STACK_BIAS; in __save_stack_trace()
H A Dsignal_64.c105 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[6]))); in sparc64_set_context()
107 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[7]))); in sparc64_set_context()
201 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[6]))); in sparc64_get_context()
203 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[7]))); in sparc64_get_context()
269 (regs->u_regs [UREG_FP] + STACK_BIAS); in do_rt_sigreturn()
278 if ((ufp + STACK_BIAS) & 0x7) in do_rt_sigreturn()
327 unsigned long sp = regs->u_regs[UREG_FP] + STACK_BIAS; in get_sigframe()
411 STACK_BIAS), in setup_rt_frame()
429 regs->u_regs[UREG_FP] = ((unsigned long) sf) - STACK_BIAS; in setup_rt_frame()
H A Dhelpers.S39 stx %fp, [%sp + STACK_BIAS + RW_V9_I6]
40 stx %i7, [%sp + STACK_BIAS + RW_V9_I7]
H A Dkgdb_64.c28 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in pt_regs_to_gdb_regs()
63 win = (struct reg_window *) (t->ksp + STACK_BIAS); in sleeping_thread_to_gdb_regs()
109 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in gdb_regs_to_pt_regs()
H A Dunaligned_64.c131 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg()
139 win = (struct reg_window __user *)(fp + STACK_BIAS); in fetch_reg()
156 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg_addr()
164 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg_addr()
423 win = (struct reg_window __user *)(fp + STACK_BIAS); in handle_popc()
H A Dkstack.h72 sp += THREAD_SIZE - 192 - STACK_BIAS; in set_hardirq_stack()
H A Dtrampoline_64.S119 sub %g1, STACKFRAME_SZ + STACK_BIAS + 256, %sp
287 sub %g1, STACKFRAME_SZ + STACK_BIAS + 256, %sp
399 sub %g5, (STACKFRAME_SZ + STACK_BIAS), %g5
H A Dhvtramp.S111 sub %g5, (STACKFRAME_SZ + STACK_BIAS), %g5
H A Dvisemul.c162 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg()
170 win = (struct reg_window __user *)(fp + STACK_BIAS); in fetch_reg()
190 win = (struct reg_window __user *)(fp + STACK_BIAS); in __fetch_reg_addr_user()
H A Dperf_event.c1750 fp = ksp + STACK_BIAS; in perf_callchain_kernel()
1766 fp = regs->u_regs[UREG_I6] + STACK_BIAS; in perf_callchain_kernel()
1769 fp = (unsigned long)sf->fp + STACK_BIAS; in perf_callchain_kernel()
1802 ufp = regs->u_regs[UREG_FP] + STACK_BIAS; in perf_callchain_user_64()
1816 ufp = (unsigned long)sf.fp + STACK_BIAS; in perf_callchain_user_64()
1834 ufp += STACK_BIAS; in perf_callchain_user_32()
H A Dptrace_64.c207 rw_addr += STACK_BIAS; in regwindow64_get()
233 rw_addr += STACK_BIAS; in regwindow64_set()
1153 unsigned long ksp = kernel_stack_pointer(regs) + STACK_BIAS; in regs_within_kernel_stack()
1169 unsigned long ksp = kernel_stack_pointer(regs) + STACK_BIAS; in regs_get_kernel_stack_nth()
H A Duprobes.c147 (unsigned long __user *) (fp + STACK_BIAS) + rd; in retpc_fixup()
H A Dkprobes.c258 (regs->u_regs[UREG_FP] + STACK_BIAS); in retpc_fixup()
H A Dtraps_64.c2471 fp = ksp + STACK_BIAS; in show_stack()
2488 fp = regs->u_regs[UREG_I6] + STACK_BIAS; in show_stack()
2491 fp = (unsigned long)sf->fp + STACK_BIAS; in show_stack()
2516 return (struct reg_window *) (fp + STACK_BIAS); in kernel_stack_up()
2539 (regs->u_regs[UREG_FP] + STACK_BIAS); in die_if_kernel()
H A Dirq_64.c863 sp += THREAD_SIZE - 192 - STACK_BIAS; in do_softirq_own_stack()
H A Dhead_64.S709 sub %g1, (STACKFRAME_SZ + STACK_BIAS + TRACEREG_SZ), %g1
/openbmc/qemu/common-user/host/sparc64/
H A Dsafe-syscall.inc.S26 #define STACK_BIAS 2047 macro
28 #define PARAM(N) STACK_BIAS + WINDOW_SIZE + N * 8
/openbmc/linux/arch/sparc/math-emu/
H A Dmath_64.c332 win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS); in do_mathemu()
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_64.c795 #define BPF_TAILCALL_CNT_SP_OFF (STACK_BIAS + 128)
826 emit(ADD | IMMED | RS1(FP) | S13(STACK_BIAS) | RD(vfp), ctx); in build_prologue()
1056 emit_alu3_K(ADD, SP, STACK_BIAS + 128, tmp, ctx); in build_insn()