qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: riku.voipio@linaro.org
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Aleksandar Markovic <aleksandar.markovic@imgtec.com>
Subject: [Qemu-devel] [PULL v2 17/22] linux-user: Update ioctls definitions for Mips32
Date: Tue, 18 Oct 2016 16:21:45 +0300	[thread overview]
Message-ID: <368650fd0de473b24687ac888988006f8520f86c.1476796525.git.riku.voipio@linaro.org> (raw)
In-Reply-To: <cover.1476796525.git.riku.voipio@linaro.org>

From: Aleksandar Markovic <aleksandar.markovic@imgtec.com>

Update linux-user/mips/termbits.h with ioctl definitions from kernel
file arch/mips/include/uapi/asm/ioctls.h.

Signed-off-by: Aleksandar Markovic <aleksandar.markovic@imgtec.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
---
 linux-user/mips/termbits.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/linux-user/mips/termbits.h b/linux-user/mips/termbits.h
index d3a6cf8..a0bcad0 100644
--- a/linux-user/mips/termbits.h
+++ b/linux-user/mips/termbits.h
@@ -219,8 +219,20 @@ struct target_termios {
 #define TARGET_TIOCSBRK	0x5427  /* BSD compatibility */
 #define TARGET_TIOCCBRK	0x5428  /* BSD compatibility */
 #define TARGET_TIOCGSID	0x7416  /* Return the session ID of FD */
+#define TARGET_TCGETS2          TARGET_IOR('T', 0x2A, struct termios2)
+#define TARGET_TCSETS2          TARGET_IOW('T', 0x2B, struct termios2)
+#define TARGET_TCSETSW2         TARGET_IOW('T', 0x2C, struct termios2)
+#define TARGET_TCSETSF2         TARGET_IOW('T', 0x2D, struct termios2)
+#define TARGET_TIOCGRS485       TARGET_IOR('T', 0x2E, struct serial_rs485)
+#define TARGET_TIOCSRS485       TARGET_IOWR('T', 0x2F, struct serial_rs485)
 #define TARGET_TIOCGPTN	TARGET_IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
 #define TARGET_TIOCSPTLCK	TARGET_IOW('T',0x31, int)  /* Lock/unlock Pty */
+#define TARGET_TIOCGDEV         TARGET_IOR('T', 0x32, unsigned int)
+#define TARGET_TIOCSIG          TARGET_IOW('T', 0x36, int)
+#define TARGET_TIOCVHANGUP      0x5437
+#define TARGET_TIOCGPKT         TARGET_IOR('T', 0x38, int)
+#define TARGET_TIOCGPTLCK       TARGET_IOR('T', 0x39, int)
+#define TARGET_TIOCGEXCL        TARGET_IOR('T', 0x40, int)
 
 /* I hope the range from 0x5480 on is free ... */
 #define TARGET_TIOCSCTTY	0x5480		/* become controlling tty */
-- 
2.1.4

  parent reply	other threads:[~2016-10-18 13:22 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-18 13:21 [Qemu-devel] [PULL v2 00/22] linux-user changes riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 01/22] linux-user: Add support for adjtimex() syscall riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 02/22] linux-user: Add support for ustat() syscall riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 03/22] linux-user: Fix mq_open() syscall support riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 04/22] linux-user: Fix msgrcv() and msgsnd() syscalls support riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 05/22] linux-user: Fix socketcall() syscall support riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 06/22] linux-user: Fix syslog() " riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 07/22] linux-user: Remove a duplicate item from strace.list riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 08/22] linux-user: sparc64: Use correct target SHMLBA in shmat() riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 09/22] linux-user: add kcmp() syscall riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 10/22] linux-user: add RTA_PRIORITY in netlink riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 11/22] linux-user: Don't use alloca() for epoll_wait's epoll event array riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 12/22] linux-user: use libc wrapper instead of direct mremap syscall riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 13/22] linux-user: Fix definition of target_sigevent for 32-bit guests riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 14/22] linux-user: Add support for clock_adjtime() syscall riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 15/22] linux-user: Add support for syncfs() syscall riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 16/22] linux-user: Update mips_syscall_args[] array in main.c riku.voipio
2016-10-18 13:21 ` riku.voipio [this message]
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 18/22] linux-user: Redirect termbits.h for Mips64 to termbits.h for Mips32 riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 19/22] linux-user: Fix fadvise64() syscall support " riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 20/22] linux-user: added support for preadv() system call riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 21/22] linux-user: added support for pwritev() " riku.voipio
2016-10-18 13:21 ` [Qemu-devel] [PULL v2 22/22] linux-user: disable unicore32 linux-user build riku.voipio
2016-10-18 15:37 ` [Qemu-devel] [PULL v2 00/22] linux-user changes Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=368650fd0de473b24687ac888988006f8520f86c.1476796525.git.riku.voipio@linaro.org \
    --to=riku.voipio@linaro.org \
    --cc=aleksandar.markovic@imgtec.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).