• 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 _ARM_USER_H
20 #define _ARM_USER_H
21 #include <asm/page.h>
22 #include <asm/ptrace.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 struct user_fp {
25  struct fp_reg {
26  unsigned int sign1:1;
27  unsigned int unused:15;
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29  unsigned int sign2:1;
30  unsigned int exponent:14;
31  unsigned int j:1;
32  unsigned int mantissa1:31;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34  unsigned int mantissa0:32;
35  } fpregs[8];
36  unsigned int fpsr:32;
37  unsigned int fpcr:32;
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  unsigned char ftype[8];
40  unsigned int init_flag;
41 };
42 struct user{
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  struct pt_regs regs;
45  int u_fpvalid;
46  unsigned long int u_tsize;
47  unsigned long int u_dsize;
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49  unsigned long int u_ssize;
50  unsigned long start_code;
51  unsigned long start_stack;
52  long int signal;
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54  int reserved;
55  struct pt_regs * u_ar0;
56  unsigned long magic;
57  char u_comm[32];
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59  int u_debugreg[8];
60  struct user_fp u_fp;
61  struct user_fp_struct * u_fp0;
62 };
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 #define NBPG PAGE_SIZE
65 #define UPAGES 1
66 #define HOST_TEXT_START_ADDR (u.start_code)
67 #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 struct user_vfp {
70  unsigned long long fpregs[32];
71  unsigned long fpscr;
72 };
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 struct user_vfp_exc {
75  unsigned long fpexc;
76  unsigned long fpinst;
77  unsigned long fpinst2;
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 };
80 #endif
81