]> Git Repo - qemu.git/commit
linux-user: Add generic 'termbits.h' for some archs
authorFilip Bozuta <[email protected]>
Thu, 23 Jul 2020 21:02:31 +0000 (23:02 +0200)
committerLaurent Vivier <[email protected]>
Thu, 27 Aug 2020 10:29:50 +0000 (12:29 +0200)
commitfcb6fcf63bab7582d847b956804fe45e536e38c0
tree530d5a0438e5f954c55246cde9d0db121d09c170
parent1a674adf983204cfa5b5cc35185f2bf3274992c6
linux-user: Add generic 'termbits.h' for some archs

This patch introduces a generic 'termbits.h' file for following
archs: 'aarch64', 'arm', 'i386, 'm68k', 'microblaze', 'nios2',
'openrisc', 'riscv', 's390x', 'x86_64'.

Since all of these archs have the same termios flag values and
same ioctl_tty numbers, there is no need for a separate 'termbits.h'
file for each one of them. For that reason one generic 'termbits.h'
file was added for all of them and an '#include' directive was
added for this generic file in every arch 'termbits.h' file.

Also, some of the flag values that were missing were added in this
generic file so that it matches the generic 'termibts.h' and 'ioctls.h'
files from the kernel: 'asm-generic/termbits.h' and 'asm-generic/ioctls.h'.

Signed-off-by: Filip Bozuta <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
Message-Id: <20200723210233[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
12 files changed:
linux-user/aarch64/termbits.h
linux-user/arm/termbits.h
linux-user/generic/termbits.h [new file with mode: 0644]
linux-user/i386/termbits.h
linux-user/m68k/termbits.h
linux-user/microblaze/termbits.h
linux-user/nios2/termbits.h
linux-user/openrisc/termbits.h
linux-user/riscv/termbits.h
linux-user/s390x/termbits.h
linux-user/tilegx/termbits.h
linux-user/x86_64/termbits.h
This page took 0.031475 seconds and 4 git commands to generate.