• 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_USER_H
20 #define _ASM_USER_H
21 #include <asm/page.h>
22 #include <asm/reg.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define EF_SIZE 180
25 struct user {
26  unsigned long regs[EF_SIZE /
27  sizeof(unsigned long) + 64];
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29  size_t u_tsize;
30  size_t u_dsize;
31  size_t u_ssize;
32  unsigned long start_code;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34  unsigned long start_data;
35  unsigned long start_stack;
36  long int signal;
37  unsigned long u_ar0;
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  unsigned long magic;
40  char u_comm[32];
41 };
42 #define NBPG PAGE_SIZE
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define UPAGES 1
45 #define HOST_TEXT_START_ADDR (u.start_code)
46 #define HOST_DATA_START_ADDR (u.start_data)
47 #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #endif
50