]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/sh/include/uapi/asm/ptrace.h
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / arch / sh / include / uapi / asm / ptrace.h
CommitLineData
6f52b16c 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0a9426df
DH
2/*
3 * Copyright (C) 1999, 2000 Niibe Yutaka
4 */
5#ifndef _UAPI__ASM_SH_PTRACE_H
6#define _UAPI__ASM_SH_PTRACE_H
7
8
9#define PTRACE_GETREGS 12 /* General registers */
10#define PTRACE_SETREGS 13
11
12#define PTRACE_GETFPREGS 14 /* FPU registers */
13#define PTRACE_SETFPREGS 15
14
15#define PTRACE_GETFDPIC 31 /* get the ELF fdpic loadmap address */
16
17#define PTRACE_GETFDPIC_EXEC 0 /* [addr] request the executable loadmap */
18#define PTRACE_GETFDPIC_INTERP 1 /* [addr] request the interpreter loadmap */
19
20#define PTRACE_GETDSPREGS 55 /* DSP registers */
21#define PTRACE_SETDSPREGS 56
22
23#define PT_TEXT_END_ADDR 240
24#define PT_TEXT_ADDR 244 /* &(struct user)->start_code */
25#define PT_DATA_ADDR 248 /* &(struct user)->start_data */
26#define PT_TEXT_LEN 252
27
28#if defined(__SH5__) || defined(CONFIG_CPU_SH5)
29#include <asm/ptrace_64.h>
30#else
31#include <asm/ptrace_32.h>
32#endif
33
34
35#endif /* _UAPI__ASM_SH_PTRACE_H */