11376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/**************************************************************************** 21376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh **************************************************************************** 31376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** 41376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** This header was automatically generated from a Linux kernel header 51376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** of the same name, to make information necessary for userspace to 61376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** call into the kernel available to libc. It contains only constants, 71376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** structures, and macros generated from the original header, and thus, 81376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** contains no copyrightable information. 91376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** 101376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** To edit the content of this header, modify the corresponding 111376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** source file (e.g. under external/kernel-headers/original/) then 121376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** run bionic/libc/kernel/tools/update_all.py 131376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** 141376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** Any manual change here will be lost the next time this script will 151376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** be run. You've been warned! 161376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh *** 171376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh **************************************************************************** 181376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh ****************************************************************************/ 191376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#ifndef _UAPI_ASM_X86_PTRACE_H 201376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#define _UAPI_ASM_X86_PTRACE_H 211376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#include <linux/compiler.h> 221376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#include <asm/ptrace-abi.h> 231376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 241376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#include <asm/processor-flags.h> 251376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#ifndef __ASSEMBLY__ 261376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#ifdef __i386__ 271376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsiehstruct pt_regs { 281376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 291376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long ebx; 301376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long ecx; 311376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long edx; 321376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long esi; 331376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 341376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long edi; 351376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long ebp; 361376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long eax; 371376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh int xds; 381376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 391376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh int xes; 401376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh int xfs; 411376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh int xgs; 421376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long orig_eax; 431376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 441376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long eip; 451376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh int xcs; 461376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long eflags; 471376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh long esp; 481376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 491376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh int xss; 501376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh}; 511376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#else 521376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsiehstruct pt_regs { 531376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 541376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long r15; 551376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long r14; 561376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long r13; 571376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long r12; 581376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 591376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long rbp; 601376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long rbx; 611376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long r11; 621376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long r10; 631376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 641376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long r9; 651376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long r8; 661376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long rax; 671376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long rcx; 681376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 691376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long rdx; 701376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long rsi; 711376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long rdi; 721376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long orig_rax; 731376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 741376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long rip; 751376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long cs; 761376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long eflags; 771376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long rsp; 781376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 791376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh unsigned long ss; 801376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh}; 811376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#endif 821376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#endif 831376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 841376572c821a073bd2c1b63fa8afb28c6be64608Andrew Hsieh#endif 85