16 #include <linux/kernel.h>
17 #include <linux/sched.h>
19 #include <linux/errno.h>
20 #include <linux/ptrace.h>
23 #include <linux/signal.h>
25 #include <asm/pgtable.h>
27 #include <asm/uaccess.h>
28 #include <asm/ptrace.h>
56 unsigned long wm = regs->
wmask;
71 live = (wm & 2) ? 4 : (wm & 4) ? 8 : (wm & 8) ? 12 : 16;
73 for (i = 0; i < live; i++)
100 regs->
ps = (regs->
ps & ~ps_mask) | (ps & ps_mask) | (1 <<
PS_EXCM_BIT);
108 gregset->
a, wb * 16))
128 #if XTENSA_HAVE_COPROCESSORS
130 coprocessor_flush_all(ti);
132 sizeof(xtregs_coprocessor_t));
135 sizeof(xtregs->opt));
137 sizeof(xtregs->user));
152 #if XTENSA_HAVE_COPROCESSORS
154 coprocessor_flush_all(ti);
155 coprocessor_release_all(ti);
158 sizeof(xtregs_coprocessor_t));
161 sizeof(xtregs->
opt));
163 sizeof(xtregs->
user));
262 unsigned long addr,
unsigned long data)
336 audit_syscall_entry(
current, AUDIT_ARCH_XTENSA..);