Lines Matching refs:to
35 * Copy the thread state to a regset that can be interpreted by userspace.
39 * to userspace. As such, we need to make sure that the regset remains
50 struct membuf to)
55 membuf_zero(&to, 4);
56 membuf_write(&to, regs->gpr + 1, 31 * 4);
57 membuf_store(&to, regs->pc);
58 return membuf_store(&to, regs->sr);
82 * Skip SR and padding... userspace isn't allowed to changes bits in
93 * As OpenRISC shares GPRs and floating point registers we don't need to export
99 struct membuf to)
101 return membuf_store(&to, target->thread.fpcsr);
203 * We'll return a bogus call number to get an ENOSYS