Message ID | 20200213032223.14643-2-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp27847ile; Wed, 12 Feb 2020 19:22:40 -0800 (PST) X-Google-Smtp-Source: APXvYqyyAxzzr5R38dA9PkxBhq8jsbxvcnPLd2y7T3CJCGAhM0W0uVZl8S18MpJunv8RM3YLQCFd X-Received: by 2002:ac8:2939:: with SMTP id y54mr9849688qty.109.1581564160400; Wed, 12 Feb 2020 19:22:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581564160; cv=none; d=google.com; s=arc-20160816; b=IWcIi9ICWkSHr1/Fdnu05IcpAS+iD3xWqTLNZxWVOrzr1fD7PkCLAfsFnqzoVu82+6 n6kJlbvh2+Gjnu4BwvoQZhK8Ud13mjuZ7vRKhvXP37KLdJ8eDJtoOcc68fTsg5AdLJMl c+SRIWJTkb0RnJ8MuXguncJMSSoGzr2auUy2D2n6Zw5yHnWtMUsRILOH/aoJh5lzQpsH l5CTPrFy9dSdEKxs3AjkItKTjsLM/arPJXOqj+0ta5vun5bCzYQKJS+YLVrsVXky55ra G4qNrGXXwWCeAX7bezMySBPm15kxs09cqtDR4VKzSw/faP5JPf4rNPf2Dr5mqgcXkS5Z GeOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=b0SUyaJJjQZuc34rLJlUYZCom+bkortVckKDUk4LlxA=; b=pZgBg4RNt+skXDNnKCVLjj+smMl80CBm8Lcn9kNN+Kvb/gF+JnkaMuuagXK3+QmnCO 3RyTpMIDFXJR3aTmuqh9jEjfRYH4rm65C85HBvRQCpjwGe45m11U61UHWN+1z6h1QLb0 FT4TXnsmXF374pNMVGSuoEglFs/LQ94KJW6czBSZ+KWCy/5EfDWlJZ1bCKVq8YV5Lvc/ WaMc5F/hh/PNY3UaEyJfvEFNYWcHreEs9XJ8+zHNI1+i8Me6noLnw6riJltk6j4iMMVf RL9/J0GjlrSmE3KsFrvHhxPVbcwSuHqqfLawe6M8UPoDbBfVkAObHi26zApITsVG0pnt jVAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=tEI+Wq+M; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bl1si369611qvb.90.2020.02.12.19.22.40 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Feb 2020 19:22:40 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=tEI+Wq+M; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:46774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1j255L-0002Bb-RY for patch@linaro.org; Wed, 12 Feb 2020 22:22:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60132) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1j255B-0002BP-95 for qemu-devel@nongnu.org; Wed, 12 Feb 2020 22:22:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1j255A-0008W3-7e for qemu-devel@nongnu.org; Wed, 12 Feb 2020 22:22:29 -0500 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:38429) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1j255A-0008Uj-2M for qemu-devel@nongnu.org; Wed, 12 Feb 2020 22:22:28 -0500 Received: by mail-pl1-x642.google.com with SMTP id t6so1750871plj.5 for <qemu-devel@nongnu.org>; Wed, 12 Feb 2020 19:22:28 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=b0SUyaJJjQZuc34rLJlUYZCom+bkortVckKDUk4LlxA=; b=tEI+Wq+MT+AsYiUz4cgA7Dp9LDe139xyevHXaao51NWk4Qy+oHi8p3FQTzxyP6TQoL vn3yo3aKQhiqaWVSgTQBnM/i1ZWcF5GRjHnqZqpIKSop9zahZmSW2lPkOX/K6XirkBqm /hEGcr3q0MjJCWTwiswI8i2EZOSz4V9Sot3kp/G5Jn0xXD8rkcDjqidnN4iRidn+LqYn CL0QQQPBoVyX1fX+aG0+o5NWXugfdCywTMVZr0ky8Jl71dNhDP1GxrSAI0cSSXXvXP/L qubE268Myx0bhtFagMfU4vyfzI6m5q6blBQnJK5Yu3TiEkvqqwctKFggO0iwgVl/PAua rVRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=b0SUyaJJjQZuc34rLJlUYZCom+bkortVckKDUk4LlxA=; b=f5KhhQ7ouOqjRD1qePlmcoiYc/ZdLcd+1DwgoY5WItmNHCaxBy5ueaYsmZo3BH4OnW 56gkZJjrqUiyy7vCNNUYs7Q5aZFeqZulBaJ5P5pxgkFcENsojOtjicf6+LncNSIp4B1W FCaDoxvLRNfe8YPQS2kobvmFrsjsx5G5IkOMybGvAIqoODk3XPzHXExpOInOJmpj6Hia cWsS1k88XpbEBDyxqamrlTzCsbi4MmGiODywfJSa4P8IQj5Ss+pKgsdV/hnf9f3jgJB+ XHoRVkEiMUnicuTWELG/jqtmZ/eECjvQdoc6f6JTTEVxvlDUjDxScTTxAezJ6aKnaSEH y8Lg== X-Gm-Message-State: APjAAAWxg+NATTcSOE4LDEJ8C9eWP6aU9bs58/MF6DYAHHNjTbX5OsbD uAwwl+zaIO8376E9kyRSmcnLX/VDHDs= X-Received: by 2002:a17:90a:bf83:: with SMTP id d3mr2634922pjs.77.1581564146790; Wed, 12 Feb 2020 19:22:26 -0800 (PST) Received: from localhost.localdomain (97-126-123-70.tukw.qwest.net. [97.126.123.70]) by smtp.gmail.com with ESMTPSA id l15sm536067pgi.31.2020.02.12.19.22.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Feb 2020 19:22:26 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v3 1/5] target/i386: Renumber EXCP_SYSCALL Date: Wed, 12 Feb 2020 19:22:19 -0800 Message-Id: <20200213032223.14643-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200213032223.14643-1-richard.henderson@linaro.org> References: <20200213032223.14643-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::642 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, laurent@vivier.eu, =?utf-8?q?Philippe_Mathi?= =?utf-8?b?ZXUtRGF1ZMOp?= <philmd@redhat.com> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
linux-user: Implement x86_64 vsyscalls
|
expand
|
diff --git a/target/i386/cpu.h b/target/i386/cpu.h index 576f309bbf..08b4422f36 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -999,9 +999,8 @@ typedef uint64_t FeatureWordArray[FEATURE_WORDS]; #define EXCP11_ALGN 17 #define EXCP12_MCHK 18 -#define EXCP_SYSCALL 0x100 /* only happens in user only emulation - for syscall instruction */ -#define EXCP_VMEXIT 0x100 +#define EXCP_VMEXIT 0x100 /* only for system emulation */ +#define EXCP_SYSCALL 0x101 /* only for user emulation */ /* i386-specific interrupt pending bits. */ #define CPU_INTERRUPT_POLL CPU_INTERRUPT_TGT_EXT_1