The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 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 | *** |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 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 | *** |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef USER32_H |
| 20 | #define USER32_H 1 |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 21 | struct user_i387_ia32_struct { |
| 22 | u32 cwd; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 24 | u32 swd; |
| 25 | u32 twd; |
| 26 | u32 fip; |
| 27 | u32 fcs; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 29 | u32 foo; |
| 30 | u32 fos; |
| 31 | u32 st_space[20]; |
| 32 | }; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 34 | struct user32_fxsr_struct { |
| 35 | unsigned short cwd; |
| 36 | unsigned short swd; |
| 37 | unsigned short twd; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 39 | unsigned short fop; |
| 40 | int fip; |
| 41 | int fcs; |
| 42 | int foo; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 44 | int fos; |
| 45 | int mxcsr; |
| 46 | int reserved; |
| 47 | int st_space[32]; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 49 | int xmm_space[32]; |
| 50 | int padding[56]; |
| 51 | }; |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 52 | struct user_regs_struct32 { |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 54 | __u32 ebx, ecx, edx, esi, edi, ebp, eax; |
| 55 | unsigned short ds, __ds, es, __es; |
| 56 | unsigned short fs, __fs, gs, __gs; |
| 57 | __u32 orig_eax, eip; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 59 | unsigned short cs, __cs; |
| 60 | __u32 eflags, esp; |
| 61 | unsigned short ss, __ss; |
| 62 | }; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 64 | struct user32 { |
| 65 | struct user_regs_struct32 regs; |
| 66 | int u_fpvalid; |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 67 | struct user_i387_ia32_struct i387; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 69 | __u32 u_tsize; |
| 70 | __u32 u_dsize; |
| 71 | __u32 u_ssize; |
| 72 | __u32 start_code; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 74 | __u32 start_stack; |
| 75 | __u32 signal; |
| 76 | int reserved; |
| 77 | __u32 u_ar0; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 79 | __u32 u_fpstate; |
| 80 | __u32 magic; |
| 81 | char u_comm[32]; |
| 82 | int u_debugreg[8]; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 84 | }; |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 85 | #endif |