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_X86_TERMIOS_H |
| 20 | #define _ASM_X86_TERMIOS_H |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 21 | #include <asm/termbits.h> |
| 22 | #include <asm/ioctls.h> |
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 | struct winsize { |
| 25 | unsigned short ws_row; |
| 26 | unsigned short ws_col; |
| 27 | unsigned short ws_xpixel; |
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 | unsigned short ws_ypixel; |
| 30 | }; |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 31 | #define NCC 8 |
| 32 | struct termio { |
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 | unsigned short c_iflag; |
| 35 | unsigned short c_oflag; |
| 36 | unsigned short c_cflag; |
| 37 | unsigned short c_lflag; |
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 | unsigned char c_line; |
| 40 | unsigned char c_cc[NCC]; |
| 41 | }; |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 42 | #define TIOCM_LE 0x001 |
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 TIOCM_DTR 0x002 |
| 45 | #define TIOCM_RTS 0x004 |
| 46 | #define TIOCM_ST 0x008 |
| 47 | #define TIOCM_SR 0x010 |
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 TIOCM_CTS 0x020 |
| 50 | #define TIOCM_CAR 0x040 |
| 51 | #define TIOCM_RNG 0x080 |
| 52 | #define TIOCM_DSR 0x100 |
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 TIOCM_CD TIOCM_CAR |
| 55 | #define TIOCM_RI TIOCM_RNG |
| 56 | #define TIOCM_OUT1 0x2000 |
| 57 | #define TIOCM_OUT2 0x4000 |
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 TIOCM_LOOP 0x8000 |
Bruce Beare | 84baa86 | 2010-06-04 08:14:44 -0700 | [diff] [blame] | 60 | #define N_TTY 0 |
| 61 | #define N_SLIP 1 |
| 62 | #define N_MOUSE 2 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 64 | #define N_PPP 3 |
| 65 | #define N_STRIP 4 |
| 66 | #define N_AX25 5 |
| 67 | #define N_X25 6 |
| 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 69 | #define N_6PACK 7 |
| 70 | #define N_MASC 8 |
| 71 | #define N_R3964 9 |
| 72 | #define N_PROFIBUS_FDL 10 |
| 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 74 | #define N_IRDA 11 |
| 75 | #define N_SMSBLOCK 12 |
| 76 | #define N_HDLC 13 |
| 77 | #define N_SYNC_PPP 14 |
| 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 79 | #define N_HCI 15 |
| 80 | #define N_TTY 0 |
| 81 | #define N_SLIP 1 |
| 82 | #define N_MOUSE 2 |
| 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Bruce Beare | 84baa86 | 2010-06-04 08:14:44 -0700 | [diff] [blame] | 84 | #define N_PPP 3 |
| 85 | #define N_STRIP 4 |
| 86 | #define N_AX25 5 |
| 87 | #define N_X25 6 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 88 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Bruce Beare | 84baa86 | 2010-06-04 08:14:44 -0700 | [diff] [blame] | 89 | #define N_6PACK 7 |
| 90 | #define N_MASC 8 |
| 91 | #define N_R3964 9 |
| 92 | #define N_PROFIBUS_FDL 10 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 93 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Bruce Beare | 84baa86 | 2010-06-04 08:14:44 -0700 | [diff] [blame] | 94 | #define N_IRDA 11 |
| 95 | #define N_SMSBLOCK 12 |
| 96 | #define N_HDLC 13 |
| 97 | #define N_SYNC_PPP 14 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 98 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Bruce Beare | 84baa86 | 2010-06-04 08:14:44 -0700 | [diff] [blame] | 99 | #define N_HCI 15 |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 100 | #endif |