blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / sh / include / uapi / asm / ptrace.h
blob8b8c5aca9c283fd81c5349752f1b5a136d72d9d8
1 /*
2 * Copyright (C) 1999, 2000 Niibe Yutaka
3 */
4 #ifndef _UAPI__ASM_SH_PTRACE_H
5 #define _UAPI__ASM_SH_PTRACE_H
8 #define PTRACE_GETREGS 12 /* General registers */
9 #define PTRACE_SETREGS 13
11 #define PTRACE_GETFPREGS 14 /* FPU registers */
12 #define PTRACE_SETFPREGS 15
14 #define PTRACE_GETFDPIC 31 /* get the ELF fdpic loadmap address */
16 #define PTRACE_GETFDPIC_EXEC 0 /* [addr] request the executable loadmap */
17 #define PTRACE_GETFDPIC_INTERP 1 /* [addr] request the interpreter loadmap */
19 #define PTRACE_GETDSPREGS 55 /* DSP registers */
20 #define PTRACE_SETDSPREGS 56
22 #define PT_TEXT_END_ADDR 240
23 #define PT_TEXT_ADDR 244 /* &(struct user)->start_code */
24 #define PT_DATA_ADDR 248 /* &(struct user)->start_data */
25 #define PT_TEXT_LEN 252
27 #if defined(__SH5__) || defined(CONFIG_CPU_SH5)
28 #include <asm/ptrace_64.h>
29 #else
30 #include <asm/ptrace_32.h>
31 #endif
34 #endif /* _UAPI__ASM_SH_PTRACE_H */