Home
last modified time | relevance | path

Searched refs:areg (Results 1 – 14 of 14) sorted by relevance

/arch/xtensa/include/asm/
Delf.h156 do { _r->areg[0]=0; /*_r->areg[1]=0;*/ _r->areg[2]=0; _r->areg[3]=0; \
157 _r->areg[4]=0; _r->areg[5]=0; _r->areg[6]=0; _r->areg[7]=0; \
158 _r->areg[8]=0; _r->areg[9]=0; _r->areg[10]=0; _r->areg[11]=0; \
159 _r->areg[12]=0; _r->areg[13]=0; _r->areg[14]=0; _r->areg[15]=0; \
Dsyscall.h41 return IS_ERR_VALUE(regs->areg[2]) ? regs->areg[2] : 0; in syscall_get_error()
47 return regs->areg[2]; in syscall_get_return_value()
54 regs->areg[2] = (long) error ? error : val; in syscall_set_return_value()
68 args[i] = regs->areg[reg[i]]; in syscall_get_arguments()
79 regs->areg[reg[i]] = args[i]; in syscall_set_arguments()
Dptrace.h80 unsigned long areg[16]; member
90 # define return_pointer(regs) (MAKE_PC_FROM_RA((regs)->areg[0], \
91 (regs)->areg[1]))
103 #define user_stack_pointer(regs) ((regs)->areg[1])
107 return regs->areg[2]; in regs_return_value()
Dprocessor.h202 (regs)->areg[1] = (new_sp); \
203 (regs)->areg[0] = 0; \
221 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->areg[1])
/arch/xtensa/kernel/
Dasm-offsets.c47 DEFINE(PT_AREG, offsetof (struct pt_regs, areg[0])); in main()
48 DEFINE(PT_AREG0, offsetof (struct pt_regs, areg[0])); in main()
49 DEFINE(PT_AREG1, offsetof (struct pt_regs, areg[1])); in main()
50 DEFINE(PT_AREG2, offsetof (struct pt_regs, areg[2])); in main()
51 DEFINE(PT_AREG3, offsetof (struct pt_regs, areg[3])); in main()
52 DEFINE(PT_AREG4, offsetof (struct pt_regs, areg[4])); in main()
53 DEFINE(PT_AREG5, offsetof (struct pt_regs, areg[5])); in main()
54 DEFINE(PT_AREG6, offsetof (struct pt_regs, areg[6])); in main()
55 DEFINE(PT_AREG7, offsetof (struct pt_regs, areg[7])); in main()
56 DEFINE(PT_AREG8, offsetof (struct pt_regs, areg[8])); in main()
[all …]
Dsignal.c76 if (__get_user(sp, (int*)(regs->areg[base * 4 + 1] - 12))) in flush_window_regs_user()
93 &regs->areg[(base + 1) * 4], 16)) in flush_window_regs_user()
99 &regs->areg[(base + 1) * 4], 32)) in flush_window_regs_user()
106 sp = regs->areg[((base + inc) * 4 + 1) % XCHAL_NUM_AREGS]; in flush_window_regs_user()
107 if (copy_to_user(&SPILL_SLOT(sp, 0), &regs->areg[base * 4], 16)) in flush_window_regs_user()
112 sp = regs->areg[base * 4 + 1]; in flush_window_regs_user()
150 err |= __copy_to_user (sc->sc_a, regs->areg, 16 * 4); in setup_sigcontext()
209 err |= __copy_from_user(regs->areg, sc->sc_a, 16 * 4); in restore_sigcontext()
252 frame = (struct rt_sigframe __user *) regs->areg[1]; in xtensa_rt_sigreturn()
265 ret = regs->areg[2]; in xtensa_rt_sigreturn()
[all …]
Dprocess.c223 usp_thread_fn : regs->areg[1]; in copy_thread()
233 childregs->areg[1] = usp; in copy_thread()
234 childregs->areg[2] = 0; in copy_thread()
252 if (regs->areg[1] == usp && len != 0) { in copy_thread()
253 int callinc = (regs->areg[0] >> 30) & 3; in copy_thread()
255 put_user(regs->areg[caller_ars+1], in copy_thread()
263 memcpy(&childregs->areg[XCHAL_NUM_AREGS - len/4], in copy_thread()
264 &regs->areg[XCHAL_NUM_AREGS - len/4], len); in copy_thread()
Dstacktrace.c32 unsigned long a0 = regs->areg[0]; in xtensa_backtrace_user()
33 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_user()
76 a0 = regs->areg[index * 4]; in xtensa_backtrace_user()
77 a1 = regs->areg[index * 4 + 1]; in xtensa_backtrace_user()
123 unsigned long a0 = regs->areg[0]; in xtensa_backtrace_kernel()
124 unsigned long a1 = regs->areg[1]; in xtensa_backtrace_kernel()
152 a0 = regs->areg[0]; in xtensa_backtrace_kernel()
153 a1 = regs->areg[1]; in xtensa_backtrace_kernel()
Dptrace.c59 regs->areg + XCHAL_NUM_AREGS - regs->windowbase * 4, in gpr_get()
62 regs->areg, in gpr_get()
112 memcpy(regs->areg + XCHAL_NUM_AREGS - newregs.windowbase * 4, in gpr_set()
114 memcpy(regs->areg, newregs.a + newregs.windowbase * 4, in gpr_set()
281 tmp = regs->areg[regno - REG_AR_BASE]; in ptrace_peekusr()
285 tmp = regs->areg[regno - REG_A_BASE]; in ptrace_peekusr()
344 regs->areg[regno - REG_AR_BASE] = val; in ptrace_pokeusr()
348 regs->areg[regno - REG_A_BASE] = val; in ptrace_pokeusr()
550 regs->areg[2] = -ENOSYS; in do_syscall_trace_enter()
554 regs->areg[2] = -ENOSYS; in do_syscall_trace_enter()
[all …]
Dtraps.c474 pr_cont(" %08lx", regs->areg[i]); in show_regs()
552 show_stack(NULL, (unsigned long *)regs->areg[1], KERN_INFO); in die()
/arch/powerpc/include/asm/
Dkvm_asm.h14 #define PPC_STD(sreg, offset, areg) std sreg, (offset)(areg)
15 #define PPC_LD(treg, offset, areg) ld treg, (offset)(areg)
17 #define PPC_STD(sreg, offset, areg) stw sreg, (offset+4)(areg)
18 #define PPC_LD(treg, offset, areg) lwz treg, (offset+4)(areg)
/arch/xtensa/mm/
Dfault.c258 address, regs->pc, regs->areg[0]); in bad_page_fault()
/arch/m68k/ifpsp060/src/
Dpfpsp.S4941 bsr.l fetch_dreg # fetch base areg
Dfpsp.S18892 bsr.l fetch_dreg # fetch base areg