include/asm-xtensa/io.h must #include <asm/page.h>
[linux-2.6/mini2440.git] / include / asm-i386 / ptrace-abi.h
bloba44901817a261f02396b11f36e89d1c4a72fd5a5
1 #ifndef I386_PTRACE_ABI_H
2 #define I386_PTRACE_ABI_H
4 #define EBX 0
5 #define ECX 1
6 #define EDX 2
7 #define ESI 3
8 #define EDI 4
9 #define EBP 5
10 #define EAX 6
11 #define DS 7
12 #define ES 8
13 #define FS 9
14 #define GS 10
15 #define ORIG_EAX 11
16 #define EIP 12
17 #define CS 13
18 #define EFL 14
19 #define UESP 15
20 #define SS 16
21 #define FRAME_SIZE 17
23 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
24 #define PTRACE_GETREGS 12
25 #define PTRACE_SETREGS 13
26 #define PTRACE_GETFPREGS 14
27 #define PTRACE_SETFPREGS 15
28 #define PTRACE_GETFPXREGS 18
29 #define PTRACE_SETFPXREGS 19
31 #define PTRACE_OLDSETOPTIONS 21
33 #define PTRACE_GET_THREAD_AREA 25
34 #define PTRACE_SET_THREAD_AREA 26
36 #define PTRACE_SYSEMU 31
37 #define PTRACE_SYSEMU_SINGLESTEP 32
39 #endif