From nobody Tue Nov 4 08:06:05 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1505165979039700.0129746372543; Mon, 11 Sep 2017 14:39:39 -0700 (PDT) Received: from localhost ([::1]:60731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drWQc-0005jk-Cs for importer@patchew.org; Mon, 11 Sep 2017 17:39:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drWL4-00019N-Rl for qemu-devel@nongnu.org; Mon, 11 Sep 2017 17:33:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drWL4-0006yg-2o for qemu-devel@nongnu.org; Mon, 11 Sep 2017 17:33:54 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:37739) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drWL3-0006yN-Uj for qemu-devel@nongnu.org; Mon, 11 Sep 2017 17:33:54 -0400 Received: by mail-qt0-x242.google.com with SMTP id u48so3451183qtc.4 for ; Mon, 11 Sep 2017 14:33:53 -0700 (PDT) Received: from yoga.offpageads.com ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id f4sm6914767qtg.35.2017.09.11.14.33.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 14:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tPNZ89uwe8W0JU73fD+zyl+7n2APZzFpSlSbx7OifTs=; b=Wgxw8gxRgRZf57I7+2J+mpbld+1iYi0YAVbuxweLcbAjYMnBPKvzGIjJiK0xcS7ekX p8K8heCzQl5Ht7QRIJiJNq2EGN4tV8f/+UDH3A8ibfmImazdg12HusCBO82wr567h93J ojnAlzS1EWA1Q9csTb/fGsfUysdsapl8KR8P+tDERtKiAw7RMmigpVyBqREWU8CeWtNE hXKNk2d23Sn/y2eg43Y/LkW83SXXXDt4/sgX7XxPZlSeEgAhNb4a1E90uDZ9v69UImjU JwnWxKo8b5SuvsURJDabYQcouS30qgMPGAwFTqICjODSbQl9GwQ7kMTj5nX+IqU2C9/0 0JBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=tPNZ89uwe8W0JU73fD+zyl+7n2APZzFpSlSbx7OifTs=; b=rpjnoBiooM8+9merC6KV+59EeZWqZ9V4PHnGtR9HvQ549zbal1aKMkiZ6QDYAGpRNS rxgcAr4vsAoFTucaiLLPCn3Y8BhBZ3c4qFyPy71FWFzzE2bOuN9PsppQ26FeiQDqS6Nu AjBHHOMKoeA93uMHQy3KbLXIczvTI6brk1f2m9I7IeHrb4o4tsg0BT03ZS5bHiZ5QTb8 KV5ERQyUKWRcLVEgBZqzmNvjgjFLge1gkMvXPdoiDWXEqVrIGniWFiODYVgJqFTGOKU6 i5teqgkgcKUdomnAcokiWkfCjmj4D+SJjPnwA+Z71wAwZmnNcLQfomyjcsPWRHoF0KqS xpJg== X-Gm-Message-State: AHPjjUisZjndsM1aDRJc3z/OksLGv+uFY+CMG6dnCMvTIjX0X2bxN8iw 6leuqI4v0GYXkg== X-Google-Smtp-Source: AOwi7QA0TvQRGnNsiS5xk3IPo8I7CuQnW6xlR06euFS/sUGCN+U8Uo87zkZIsnc0lmhPqBDVmZPpFw== X-Received: by 10.200.40.27 with SMTP id 27mr18565115qtq.148.1505165633445; Mon, 11 Sep 2017 14:33:53 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Paolo Bonzini , Richard Henderson , Peter Crosthwaite , Thomas Huth Date: Mon, 11 Sep 2017 18:33:28 -0300 Message-Id: <20170911213328.9701-6-f4bug@amsat.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170911213328.9701-1-f4bug@amsat.org> References: <20170911213328.9701-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::242 Subject: [Qemu-devel] [PATCH v2 5/5] tcg: restrict i386 regs definitions 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- cleaning while here :) accel/tcg/user-exec.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index 2a975eaf69..484a3f5f8f 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -25,15 +25,6 @@ #include "exec/cpu_ldst.h" #include "translate-all.h" =20 -#undef EAX -#undef ECX -#undef EDX -#undef EBX -#undef ESP -#undef EBP -#undef ESI -#undef EDI -#undef EIP #ifdef __linux__ #include #endif @@ -131,6 +122,15 @@ static inline int handle_cpu_signal(uintptr_t pc, unsi= gned long address, } =20 #if defined(__i386__) +#undef EAX +#undef ECX +#undef EDX +#undef EBX +#undef ESP +#undef EBP +#undef ESI +#undef EDI +#undef EIP =20 #if defined(__NetBSD__) #include --=20 2.14.1