blob: bbc7e86b27a283b0531f2478997a6db60fe1d5fd [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** 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 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _ASM_X86_PTRACE_ABI_H
20#define _ASM_X86_PTRACE_ABI_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#define EBX 0
22#define ECX 1
Andrew Hsieh126601d2012-03-23 23:07:36 +080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#define EDX 2
25#define ESI 3
26#define EDI 4
27#define EBP 5
Andrew Hsieh126601d2012-03-23 23:07:36 +080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#define EAX 6
30#define DS 7
31#define ES 8
32#define FS 9
Andrew Hsieh126601d2012-03-23 23:07:36 +080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034#define GS 10
35#define ORIG_EAX 11
36#define EIP 12
37#define CS 13
Andrew Hsieh126601d2012-03-23 23:07:36 +080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039#define EFL 14
40#define UESP 15
41#define SS 16
42#define FRAME_SIZE 17
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044#define PTRACE_GETREGS 12
45#define PTRACE_SETREGS 13
46#define PTRACE_GETFPREGS 14
47#define PTRACE_SETFPREGS 15
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#define PTRACE_GETFPXREGS 18
50#define PTRACE_SETFPXREGS 19
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080051#define PTRACE_OLDSETOPTIONS 21
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080052#define PTRACE_GET_THREAD_AREA 25
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054#define PTRACE_SET_THREAD_AREA 26
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080055#ifdef __x86_64__
56#define PTRACE_ARCH_PRCTL 30
57#else
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080059#define PTRACE_SYSEMU 31
60#define PTRACE_SYSEMU_SINGLESTEP 32
61#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080062#endif
Ben Cheng654325d2012-03-07 21:13:49 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */