• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _ASM_X86_PTRACE_ABI_H
20 #define _ASM_X86_PTRACE_ABI_H
21 #define EBX 0
22 #define ECX 1
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define EDX 2
25 #define ESI 3
26 #define EDI 4
27 #define EBP 5
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define EAX 6
30 #define DS 7
31 #define ES 8
32 #define FS 9
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define GS 10
35 #define ORIG_EAX 11
36 #define EIP 12
37 #define CS 13
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define EFL 14
40 #define UESP 15
41 #define SS 16
42 #define FRAME_SIZE 17
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define PTRACE_GETREGS 12
45 #define PTRACE_SETREGS 13
46 #define PTRACE_GETFPREGS 14
47 #define PTRACE_SETFPREGS 15
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define PTRACE_GETFPXREGS 18
50 #define PTRACE_SETFPXREGS 19
51 #define PTRACE_OLDSETOPTIONS 21
52 #define PTRACE_GET_THREAD_AREA 25
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define PTRACE_SET_THREAD_AREA 26
55 #ifdef __x86_64__
56 #define PTRACE_ARCH_PRCTL 30
57 #else
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define PTRACE_SYSEMU 31
60 #define PTRACE_SYSEMU_SINGLESTEP 32
61 #endif
62 #endif
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64