aboutsummaryrefslogtreecommitdiff
path: root/linux-user/ppc/termbits.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-23 23:27:46 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-23 23:27:46 +0000
commitf05d35d26da3bcec318e23b943223f83d5e90add (patch)
tree007d51eb79f3756bfa698d834eb96dc3eb25e7d2 /linux-user/ppc/termbits.h
parentb9a02beda2301f91e2d90e329e9a9c0aae3fbb83 (diff)
Sync termbits.h with current Linux kernel.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3215 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/ppc/termbits.h')
-rw-r--r--linux-user/ppc/termbits.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux-user/ppc/termbits.h b/linux-user/ppc/termbits.h
index 7bf14eb5c3..002de9564f 100644
--- a/linux-user/ppc/termbits.h
+++ b/linux-user/ppc/termbits.h
@@ -47,6 +47,7 @@ struct target_termios {
#define TARGET_IXANY 0004000
#define TARGET_IUCLC 0010000
#define TARGET_IMAXBEL 0020000
+#define TARGET_IUTF8 0040000
/* c_oflag bits */
#define TARGET_OPOST 0000001
@@ -69,6 +70,7 @@ struct target_termios {
#define TARGET_TAB1 00002000
#define TARGET_TAB2 00004000
#define TARGET_TAB3 00006000
+#define TARGET_XTABS 00006000 /* required by POSIX to == TAB3 */
#define TARGET_CRDLY 00030000
#define TARGET_CR0 00000000
#define TARGET_CR1 00010000
@@ -83,7 +85,6 @@ struct target_termios {
#define TARGET_VTDLY 00200000
#define TARGET_VT0 00000000
#define TARGET_VT1 00200000
-#define TARGET_XTABS 01000000 /* Hmm.. Linux/i386 considers this part of TABDLY.. */
/* c_cflag bit meaning */
#define TARGET_CBAUD 0000377
@@ -135,7 +136,8 @@ struct target_termios {
#define TARGET_HUPCL 00040000
#define TARGET_CLOCAL 00100000
-#define TARGET_CRTSCTS 020000000000 /* flow control */
+#define TARGET_CMSPAR 010000000000 /* mark or space (stick) parity */
+#define TARGET_CRTSCTS 020000000000 /* flow control */
/* c_lflag bits */
#define TARGET_ISIG 0x00000080