18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 1999, 2000  Niibe Yutaka
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci#ifndef _UAPI__ASM_SH_PTRACE_H
68c2ecf20Sopenharmony_ci#define _UAPI__ASM_SH_PTRACE_H
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#define PTRACE_GETREGS		12	/* General registers */
108c2ecf20Sopenharmony_ci#define PTRACE_SETREGS		13
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#define PTRACE_GETFPREGS	14	/* FPU registers */
138c2ecf20Sopenharmony_ci#define PTRACE_SETFPREGS	15
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#define PTRACE_GETFDPIC		31	/* get the ELF fdpic loadmap address */
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#define PTRACE_GETFDPIC_EXEC	0	/* [addr] request the executable loadmap */
188c2ecf20Sopenharmony_ci#define PTRACE_GETFDPIC_INTERP	1	/* [addr] request the interpreter loadmap */
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#define	PTRACE_GETDSPREGS	55	/* DSP registers */
218c2ecf20Sopenharmony_ci#define	PTRACE_SETDSPREGS	56
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#define PT_TEXT_END_ADDR	240
248c2ecf20Sopenharmony_ci#define PT_TEXT_ADDR		244	/* &(struct user)->start_code */
258c2ecf20Sopenharmony_ci#define PT_DATA_ADDR		248	/* &(struct user)->start_data */
268c2ecf20Sopenharmony_ci#define PT_TEXT_LEN		252
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci#include <asm/ptrace_32.h>
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci#endif /* _UAPI__ASM_SH_PTRACE_H */
31