csky: Implement ptrace regs and stack API
Needed for kprobes support. Copied and adapted from Patrick's patch, but it has been modified for csky's pt_regs. ref: https://lore.kernel.org/linux-riscv/1572919114-3886-2-git-send-email-vincent.chen@sifive.com/rawSigned-off-by: NGuo Ren <ren_guo@c-sky.com> Cc: Patrick Staehlin <me@packi.ch>
Showing
想要评论请 注册 或 登录