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 | 654325d | 2012-03-07 21:13:49 -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 __ASM_I386_PROCESSOR_FLAGS_H |
| 20 | #define __ASM_I386_PROCESSOR_FLAGS_H |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 21 | #define X86_EFLAGS_CF 0x00000001 |
| 22 | #define X86_EFLAGS_PF 0x00000004 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_EFLAGS_AF 0x00000010 |
| 25 | #define X86_EFLAGS_ZF 0x00000040 |
| 26 | #define X86_EFLAGS_SF 0x00000080 |
| 27 | #define X86_EFLAGS_TF 0x00000100 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_EFLAGS_IF 0x00000200 |
| 30 | #define X86_EFLAGS_DF 0x00000400 |
| 31 | #define X86_EFLAGS_OF 0x00000800 |
| 32 | #define X86_EFLAGS_IOPL 0x00003000 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_EFLAGS_NT 0x00004000 |
| 35 | #define X86_EFLAGS_RF 0x00010000 |
| 36 | #define X86_EFLAGS_VM 0x00020000 |
| 37 | #define X86_EFLAGS_AC 0x00040000 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_EFLAGS_VIF 0x00080000 |
| 40 | #define X86_EFLAGS_VIP 0x00100000 |
| 41 | #define X86_EFLAGS_ID 0x00200000 |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 42 | #define X86_CR0_PE 0x00000001 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_CR0_MP 0x00000002 |
| 45 | #define X86_CR0_EM 0x00000004 |
| 46 | #define X86_CR0_TS 0x00000008 |
| 47 | #define X86_CR0_ET 0x00000010 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_CR0_NE 0x00000020 |
| 50 | #define X86_CR0_WP 0x00010000 |
| 51 | #define X86_CR0_AM 0x00040000 |
| 52 | #define X86_CR0_NW 0x20000000 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_CR0_CD 0x40000000 |
| 55 | #define X86_CR0_PG 0x80000000 |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 56 | #define X86_CR3_PWT 0x00000008 |
| 57 | #define X86_CR3_PCD 0x00000010 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_CR4_VME 0x00000001 |
| 60 | #define X86_CR4_PVI 0x00000002 |
| 61 | #define X86_CR4_TSD 0x00000004 |
| 62 | #define X86_CR4_DE 0x00000008 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_CR4_PSE 0x00000010 |
| 65 | #define X86_CR4_PAE 0x00000020 |
| 66 | #define X86_CR4_MCE 0x00000040 |
| 67 | #define X86_CR4_PGE 0x00000080 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_CR4_PCE 0x00000100 |
| 70 | #define X86_CR4_OSFXSR 0x00000200 |
| 71 | #define X86_CR4_OSXMMEXCPT 0x00000400 |
| 72 | #define X86_CR4_VMXE 0x00002000 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define X86_CR8_TPR 0x0000000F |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 75 | #define CX86_PCR0 0x20 |
| 76 | #define CX86_GCR 0xb8 |
| 77 | #define CX86_CCR0 0xc0 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define CX86_CCR1 0xc1 |
| 80 | #define CX86_CCR2 0xc2 |
| 81 | #define CX86_CCR3 0xc3 |
| 82 | #define CX86_CCR4 0xe8 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -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 | #define CX86_CCR5 0xe9 |
| 85 | #define CX86_CCR6 0xea |
| 86 | #define CX86_CCR7 0xeb |
| 87 | #define CX86_PCR1 0xf0 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 88 | /* 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] | 89 | #define CX86_DIR0 0xfe |
| 90 | #define CX86_DIR1 0xff |
| 91 | #define CX86_ARR_BASE 0xc4 |
| 92 | #define CX86_RCR_BASE 0xdc |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 93 | /* 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] | 94 | #endif |