]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Implement ptrace regs and stack API
authorGuo Ren <ren_guo@c-sky.com>
Tue, 17 Dec 2019 06:57:22 +0000 (14:57 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Sun, 8 Mar 2020 12:55:14 +0000 (20:55 +0800)
commit097849d413a87921d2c9d308d1cb7a62ee205011
tree74753eeb05653cc8abd21004d4a4b71feaa85e66
parentc3663f3a91ad1f3db3d95969f86d75f55c054a9f
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/raw

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Patrick Staehlin <me@packi.ch>
arch/csky/Kconfig
arch/csky/include/asm/ptrace.h
arch/csky/kernel/ptrace.c