sw64: add ARCH_TRACEHOOK and regset support
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I5G7NL -------------------------------- By adding TRACEHOOK support, we can access register sets via PTRACE_GETREGSET and PTRACE_SETREGSET request. The user-visible regset struct user_pt_regs and user_fpsimd_state are added in this patch, and they can be accessed with NT_PRSTATUS and NT_PRFPREG respectively. Besides, PTRACE_{GET,SET}REGS and PTRACE_{GET,SET}FPREGS requests which are implemented in error have never been used on sw64, so we remove them completely. Signed-off-by:Gu Zitao <guzitao@wxiat.com> Signed-off-by:
Gu Zitao <guzitao@wxiat.com>
Loading
Please sign in to comment