blob: 2cb1c8f78832a19ca95db6f73b20f2d9fad11535 [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_H
20#define _ASM_X86_PTRACE_H
Elliott Hughesc95eb572013-01-29 18:15:55 -080021#include <linux/compiler.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022#include <asm/ptrace-abi.h>
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#ifndef __ASSEMBLY__
Elliott Hughesd3e64a32013-09-30 17:41:08 -070025#ifdef __i386__
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080026struct pt_regs {
27 long ebx;
Andrew Hsieh126601d2012-03-23 23:07:36 +080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesd3e64a32013-09-30 17:41:08 -070029 long ecx;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080030 long edx;
31 long esi;
32 long edi;
Andrew Hsieh126601d2012-03-23 23:07:36 +080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesd3e64a32013-09-30 17:41:08 -070034 long ebp;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080035 long eax;
36 int xds;
37 int xes;
Andrew Hsieh126601d2012-03-23 23:07:36 +080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesd3e64a32013-09-30 17:41:08 -070039 int xfs;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080040 long orig_eax;
41 long eip;
42 int xcs;
Andrew Hsieh126601d2012-03-23 23:07:36 +080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesd3e64a32013-09-30 17:41:08 -070044 long eflags;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080045 long esp;
46 int xss;
47};
Andrew Hsieh126601d2012-03-23 23:07:36 +080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesd3e64a32013-09-30 17:41:08 -070049#else
50struct pt_regs {
51 unsigned long r15;
52 unsigned long r14;
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 unsigned long r13;
55 unsigned long r12;
56 unsigned long rbp;
57 unsigned long rbx;
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 unsigned long r11;
60 unsigned long r10;
61 unsigned long r9;
62 unsigned long r8;
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 unsigned long rax;
65 unsigned long rcx;
66 unsigned long rdx;
67 unsigned long rsi;
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 unsigned long rdi;
70 unsigned long orig_rax;
71 unsigned long rip;
72 unsigned long cs;
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 unsigned long eflags;
75 unsigned long rsp;
76 unsigned long ss;
77};
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#endif
80#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080081#endif