Lines Matching +full:main +full:- +full:storage

3  * License.  See the file "COPYING" in the main directory of this archive
14 * At this time Linux/MIPS64 only supports syscall tracing, even for 32-bit
40 * Tracing a 32-bit process with a 64-bit strace and vice versa will not
53 * Read 4 bytes of the other process' storage in compat_arch_ptrace()
56 * addr is a pointer in the user's storage that contains an 8 byte in compat_arch_ptrace()
58 * (this is run in a 32-bit process looking at a 64-bit process) in compat_arch_ptrace()
67 ret = -EIO; in compat_arch_ptrace()
91 tmp = regs->regs[addr]; in compat_arch_ptrace()
99 tmp = -1; in compat_arch_ptrace()
109 tmp = get_fpr32(&fregs[(addr & ~1) - FPR_BASE], in compat_arch_ptrace()
113 tmp = get_fpr64(&fregs[addr - FPR_BASE], 0); in compat_arch_ptrace()
117 tmp = child->thread.fpu.fcr31; in compat_arch_ptrace()
125 tmp = regs->cp0_epc; in compat_arch_ptrace()
128 tmp = regs->cp0_cause; in compat_arch_ptrace()
131 tmp = regs->cp0_badvaddr; in compat_arch_ptrace()
134 tmp = regs->hi; in compat_arch_ptrace()
137 tmp = regs->lo; in compat_arch_ptrace()
144 ret = -EIO; in compat_arch_ptrace()
148 tmp = dregs[addr - DSP_BASE]; in compat_arch_ptrace()
154 ret = -EIO; in compat_arch_ptrace()
157 tmp = child->thread.dsp.dspcontrol; in compat_arch_ptrace()
161 ret = -EIO; in compat_arch_ptrace()
169 * Write 4 bytes into the other process' storage in compat_arch_ptrace()
171 * addr is a pointer in the user's storage that contains an in compat_arch_ptrace()
174 * (this is run in a 32-bit process looking at a 64-bit process) in compat_arch_ptrace()
182 ret = -EIO; in compat_arch_ptrace()
190 ret = -EIO; in compat_arch_ptrace()
201 regs->regs[addr] = data; in compat_arch_ptrace()
215 memset(&child->thread.fpu, ~0, in compat_arch_ptrace()
216 sizeof(child->thread.fpu)); in compat_arch_ptrace()
217 child->thread.fpu.fcr31 = 0; in compat_arch_ptrace()
225 set_fpr32(&fregs[(addr & ~1) - FPR_BASE], in compat_arch_ptrace()
229 set_fpr64(&fregs[addr - FPR_BASE], 0, data); in compat_arch_ptrace()
233 child->thread.fpu.fcr31 = data; in compat_arch_ptrace()
237 regs->cp0_epc = data; in compat_arch_ptrace()
240 regs->hi = data; in compat_arch_ptrace()
243 regs->lo = data; in compat_arch_ptrace()
249 ret = -EIO; in compat_arch_ptrace()
254 dregs[addr - DSP_BASE] = data; in compat_arch_ptrace()
259 ret = -EIO; in compat_arch_ptrace()
262 child->thread.dsp.dspcontrol = data; in compat_arch_ptrace()
266 ret = -EIO; in compat_arch_ptrace()
292 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()
297 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()