Commit 2601c356b71ee69a91e51e5c95d2caae9bb90bd6
1 parent
2337fdc2
Correct and update mips termbits.h.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3213 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
28 additions
and
12 deletions
linux-user/mips/termbits.h
... | ... | @@ -26,6 +26,7 @@ struct target_termios { |
26 | 26 | #define TARGET_IXANY 0004000 |
27 | 27 | #define TARGET_IXOFF 0010000 |
28 | 28 | #define TARGET_IMAXBEL 0020000 |
29 | +#define TARGET_IUTF8 0040000 | |
29 | 30 | |
30 | 31 | /* c_oflag bits */ |
31 | 32 | #define TARGET_OPOST 0000001 |
... | ... | @@ -92,12 +93,25 @@ struct target_termios { |
92 | 93 | #define TARGET_HUPCL 0002000 |
93 | 94 | #define TARGET_CLOCAL 0004000 |
94 | 95 | #define TARGET_CBAUDEX 0010000 |
95 | -#define TARGET_B57600 0010001 | |
96 | -#define TARGET_B115200 0010002 | |
97 | -#define TARGET_B230400 0010003 | |
98 | -#define TARGET_B460800 0010004 | |
96 | +#define TARGET_BOTHER 0010000 | |
97 | +#define TARGET_B57600 0010001 | |
98 | +#define TARGET_B115200 0010002 | |
99 | +#define TARGET_B230400 0010003 | |
100 | +#define TARGET_B460800 0010004 | |
101 | +#define TARGET_B500000 0010005 | |
102 | +#define TARGET_B576000 0010006 | |
103 | +#define TARGET_B921600 0010007 | |
104 | +#define TARGET_B1000000 0010010 | |
105 | +#define TARGET_B1152000 0010011 | |
106 | +#define TARGET_B1500000 0010012 | |
107 | +#define TARGET_B2000000 0010013 | |
108 | +#define TARGET_B2500000 0010014 | |
109 | +#define TARGET_B3000000 0010015 | |
110 | +#define TARGET_B3500000 0010016 | |
111 | +#define TARGET_B4000000 0010017 | |
99 | 112 | #define TARGET_CIBAUD 002003600000 /* input baud rate (not used) */ |
100 | -#define TARGET_CRTSCTS 020000000000 /* flow control */ | |
113 | +#define TARGET_CMSPAR 010000000000 /* mark or space (stick) parity */ | |
114 | +#define TARGET_CRTSCTS 020000000000 /* flow control */ | |
101 | 115 | |
102 | 116 | /* c_lflag bits */ |
103 | 117 | #define TARGET_ISIG 0000001 |
... | ... | @@ -108,32 +122,34 @@ struct target_termios { |
108 | 122 | #define TARGET_ECHOK 0000040 |
109 | 123 | #define TARGET_ECHONL 0000100 |
110 | 124 | #define TARGET_NOFLSH 0000200 |
111 | -#define TARGET_TOSTOP 0000400 | |
125 | +#define TARGET_IEXTEN 0000400 | |
112 | 126 | #define TARGET_ECHOCTL 0001000 |
113 | 127 | #define TARGET_ECHOPRT 0002000 |
114 | 128 | #define TARGET_ECHOKE 0004000 |
115 | 129 | #define TARGET_FLUSHO 0010000 |
116 | 130 | #define TARGET_PENDIN 0040000 |
117 | -#define TARGET_IEXTEN 0100000 | |
131 | +#define TARGET_TOSTOP 0100000 | |
132 | +#define TARGET_ITOSTOP TARGET_TOSTOP | |
118 | 133 | |
119 | 134 | /* c_cc character offsets */ |
120 | 135 | #define TARGET_VINTR 0 |
121 | 136 | #define TARGET_VQUIT 1 |
122 | 137 | #define TARGET_VERASE 2 |
123 | 138 | #define TARGET_VKILL 3 |
124 | -#define TARGET_VEOF 4 | |
139 | +#define TARGET_VMIN 4 | |
125 | 140 | #define TARGET_VTIME 5 |
126 | -#define TARGET_VMIN 6 | |
141 | +#define TARGET_VEOL2 6 | |
127 | 142 | #define TARGET_VSWTC 7 |
128 | 143 | #define TARGET_VSTART 8 |
129 | 144 | #define TARGET_VSTOP 9 |
130 | 145 | #define TARGET_VSUSP 10 |
131 | -#define TARGET_VEOL 11 | |
146 | +/* VDSUSP not supported */ | |
132 | 147 | #define TARGET_VREPRINT 12 |
133 | 148 | #define TARGET_VDISCARD 13 |
134 | 149 | #define TARGET_VWERASE 14 |
135 | 150 | #define TARGET_VLNEXT 15 |
136 | -#define TARGET_VEOL2 16 | |
151 | +#define TARGET_VEOF 16 | |
152 | +#define TARGET_VEOL 17 | |
137 | 153 | |
138 | 154 | /* ioctls */ |
139 | 155 | |
... | ... | @@ -154,7 +170,7 @@ struct target_termios { |
154 | 170 | #define TARGET_TIOCEXCL 0x740d /* set exclusive use of tty */ |
155 | 171 | #define TARGET_TIOCNXCL 0x740e /* reset exclusive use of tty */ |
156 | 172 | #define TARGET_TIOCOUTQ 0x7472 /* output queue size */ |
157 | -#define TARGET_TIOCSTI 0x5472 /* simulate terminal input */ | |
173 | +#define TARGET_TIOCSTI 0x5472 /* simulate terminal input */ | |
158 | 174 | #define TARGET_TIOCMGET 0x741d /* get all modem bits */ |
159 | 175 | #define TARGET_TIOCMBIS 0x741b /* bis modem bits */ |
160 | 176 | #define TARGET_TIOCMBIC 0x741c /* bic modem bits */ | ... | ... |