From patchwork Mon Oct 17 13:24:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 682961 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3syK7s1f2Lz9sDG for ; Tue, 18 Oct 2016 00:39:53 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b=g/V8ZSyc; dkim-atps=neutral Received: from localhost ([::1]:33123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw88q-0007NH-TU for incoming@patchwork.ozlabs.org; Mon, 17 Oct 2016 09:39:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw7ue-0003MF-Ai for qemu-devel@nongnu.org; Mon, 17 Oct 2016 09:25:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bw7uc-0003ID-Rb for qemu-devel@nongnu.org; Mon, 17 Oct 2016 09:25:08 -0400 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:33659) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bw7uc-0003HL-Jx for qemu-devel@nongnu.org; Mon, 17 Oct 2016 09:25:06 -0400 Received: by mail-lf0-x231.google.com with SMTP id x79so294888727lff.0 for ; Mon, 17 Oct 2016 06:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VkdwPwMdS/JfoQMjriJwjAgi5zkuAJqHgKFSzXhNrcI=; b=g/V8ZSyc4QHPSFmooMu1FxO9euCv3QVF4kNItOHMB5pX77CxF0B+X2am3PVWSo6Sj+ o0vjwg5CeYIwjCNz7jyThHgCBl3m7ugh96mMfU+y5aU0PMxcHoPFVcmY1gQREjuVoB2k Z8+S7JDXt0SOQ0k9s1uURXMXI739vQYwYAOzk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VkdwPwMdS/JfoQMjriJwjAgi5zkuAJqHgKFSzXhNrcI=; b=Q8Bi6AKLsHEb++axkrNFrLZXO4RwUNGe8CAhkD5zaxvtXIvs7MqxjJmh/L5RX+qb6A vMfD/EItZTsHhcqhiDktB9u1Xxfs/vVmgsk2PjtGbzsokQRN9oK1wSm88JwFuQ4xjLtQ O3SRhUZgePqXniqEl9QPA+K2ZlQTzZxf97Lw31LRo9xhNyn/QAi620BftWKG+IdCVcdx uW2IMc//DKqhAm+eSUf4WsPSeFaoSKoakFvkrcgOsXb6AwAtJRRVhMEBgIBMZieKbdwo a/TnbngeUvf+2lZ/9TDdv4EYRRRpAi4e6lN7WqWHDJF4DVLWzQX9xq8k1uT/ig7q/7V5 VvlA== X-Gm-Message-State: AA6/9RnAEl0JCT/JvcS9TlqHp94DoUnXPWgZ/Va0f7ehXaZfmYT0G1iMPHdJvr9pOwOL+wOT X-Received: by 10.25.133.11 with SMTP id h11mr15095902lfd.60.1476710705031; Mon, 17 Oct 2016 06:25:05 -0700 (PDT) Received: from beaming.home (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id y81sm7782857lff.29.2016.10.17.06.25.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Oct 2016 06:25:04 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Mon, 17 Oct 2016 16:24:35 +0300 Message-Id: <564ce487064da70411eaa15b5897c949ac8926ef.1476710353.git.riku.voipio@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::231 Subject: [Qemu-devel] [PULL 17/22] linux-user: Update ioctls definitions for Mips32 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Aleksandar Markovic Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Aleksandar Markovic Update linux-user/mips/termbits.h with ioctl definitions from kernel file arch/mips/include/uapi/asm/ioctls.h. Signed-off-by: Aleksandar Markovic Signed-off-by: Riku Voipio --- 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 */