diff options
author | Aleksandar Markovic <aleksandar.markovic@imgtec.com> | 2016-10-12 14:30:23 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2016-10-21 15:20:13 +0300 |
commit | af83b52e03bb90b1415b58b189e458580baa364b (patch) | |
tree | a57b4e5314f590368dc03c7f969877a4fbb0f11f /linux-user | |
parent | 2e6eeb67429a7e0683d3d1a75ca497dd67c751e4 (diff) | |
download | qemu-af83b52e03bb90b1415b58b189e458580baa364b.tar.gz qemu-af83b52e03bb90b1415b58b189e458580baa364b.tar.bz2 qemu-af83b52e03bb90b1415b58b189e458580baa364b.zip |
linux-user: Update ioctls definitions for Mips32
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>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/mips/termbits.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-user/mips/termbits.h b/linux-user/mips/termbits.h index d3a6cf8f91..a0bcad0946 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 */ |