Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _CRIS_PTRACE_H
3#define _CRIS_PTRACE_H
4
5#include <uapi/asm/ptrace.h>
6
7
8/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
9#define PTRACE_GETREGS 12
10#define PTRACE_SETREGS 13
11
12#define profile_pc(regs) instruction_pointer(regs)
13#define current_user_stack_pointer() rdusp()
14
15#endif /* _CRIS_PTRACE_H */