162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 1999, 2000  Niibe Yutaka
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci#ifndef _UAPI__ASM_SH_PTRACE_H
662306a36Sopenharmony_ci#define _UAPI__ASM_SH_PTRACE_H
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#define PTRACE_GETREGS		12	/* General registers */
1062306a36Sopenharmony_ci#define PTRACE_SETREGS		13
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#define PTRACE_GETFPREGS	14	/* FPU registers */
1362306a36Sopenharmony_ci#define PTRACE_SETFPREGS	15
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci#define PTRACE_GETFDPIC		31	/* get the ELF fdpic loadmap address */
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci#define PTRACE_GETFDPIC_EXEC	0	/* [addr] request the executable loadmap */
1862306a36Sopenharmony_ci#define PTRACE_GETFDPIC_INTERP	1	/* [addr] request the interpreter loadmap */
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci#define	PTRACE_GETDSPREGS	55	/* DSP registers */
2162306a36Sopenharmony_ci#define	PTRACE_SETDSPREGS	56
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci#define PT_TEXT_END_ADDR	240
2462306a36Sopenharmony_ci#define PT_TEXT_ADDR		244	/* &(struct user)->start_code */
2562306a36Sopenharmony_ci#define PT_DATA_ADDR		248	/* &(struct user)->start_data */
2662306a36Sopenharmony_ci#define PT_TEXT_LEN		252
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci#include <asm/ptrace_32.h>
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci#endif /* _UAPI__ASM_SH_PTRACE_H */
31