qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] PPC termios structure ordering


From: Stuart Anderson
Subject: [Qemu-devel] [PATCH] PPC termios structure ordering
Date: Tue, 17 Apr 2007 16:20:00 -0400 (EDT)


Just found a small problem w/ the termios structure as defined for PPC
linux user. It doesn't match the one in include/asm-powerpc/termbits.h.

Index: linux-user/ppc/termbits.h
===================================================================
--- linux-user/ppc/termbits.h   (revision 44)
+++ linux-user/ppc/termbits.h   (working copy)
@@ -7,8 +7,8 @@
     unsigned int c_oflag;               /* output mode flags */
     unsigned int c_cflag;               /* control mode flags */
     unsigned int c_lflag;               /* local mode flags */
+    unsigned char c_cc[TARGET_NCCS];                /* control
characters */
     unsigned char c_line;                    /* line discipline */
-    unsigned char c_cc[TARGET_NCCS];                /* control
     characters */
     unsigned int c_ispeed;             /* input speed */
     unsigned int c_ospeed;             /* output speed */
 };


With this change, both host and target 'stty -a' give the same output.


                                Stuart

Stuart R. Anderson                               address@hidden
Network & Software Engineering                   http://www.netsweng.com/
1024D/37A79149:                                  0791 D3B8 9A4C 2CDC A31F
                                                 BD03 0A62 E534 37A7 9149




reply via email to

[Prev in Thread] Current Thread [Next in Thread]