Message ID | 20241114011310.3615-8-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:9bcc:0:b0:382:184f:390f with SMTP id e12csp48839wrc; Wed, 13 Nov 2024 17:16:05 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUqzIianiTCNtdyVVCZJVu7CsOG8RNa64MIrwOcJTk9WDUBgXJWR2qsAPDtnjgPxYBc7d2F8Q==@linaro.org X-Google-Smtp-Source: AGHT+IEDzhNMjRCbiJfAKZ6TtK8sEJyzZTASJoCVNoaFrWJXe5rXiPzXhKdXkuFObE6qBXy9O7kE X-Received: by 2002:a05:620a:c4c:b0:7ae:6ba2:ef5a with SMTP id af79cd13be357-7b331ebbf75mr3006561585a.28.1731546965247; Wed, 13 Nov 2024 17:16:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731546965; cv=none; d=google.com; s=arc-20240605; b=T0W43SinL7bzqHssZYEAMWPmCeB8amcnnqZOtMm3ObpnvwgXFCm9fLWsyoJNKR7DN2 DhJu7/MSu8nmrZjU/ipnnR71fKwggsQNB0qDE1EMFmgXkWY0H5Foq9XASmq7K+SYxfFM 07NsdSLVGhRWhoGjuZ8YZgGEynSmv444gvDj9hjGfYaPAvg9o3LBYxp1XiyczJ1LhGBR 6bqJbgRhV9IXZP0u66ecTry05vMb3uJiVZk97uH8P2miiizr3IpPu9i/UyiPeZ4NTWwp wf3fPb2/wGDEi2fIBWMtZR5eiAwW7Kf2djF8b8Xq6byyqsn0namI3U4LnFsBQQ0gRvJr dHQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=IkMAKYtUsFK+2kHSHv5+o6ejmYyvsynMitsyE7ErdJE=; fh=83cuDqTdAnvuMUVFbpM+hX6LyzJZjkPjCvqf/t/KLNU=; b=lPhngcFJ0zxOiDJj8YhiM5a2LJVxO0goSZarhti7t/p3ccsYIKzzrn59awbtkHLli2 n5Edq0QY/lo86gGyUjoXHwGWhxxJlOmkkmrODs6o9UbEUH5XhDYWnbnZ9XvbmFmhGNKs s2zfF3OrQYFIM3Kk0etzrtA32Jed9LAip5RsfFjiETkjhplPHoAMFxoXAdu5jjVodDap 3aO+XmrQrR69knzxJxsFaoamD78ZWJt+4Yw+WQQfizBeezy0q5PHCURcsA++sQ/EFDTL Gop6QcqNRSOVQwdSLzcO6vBCyII0zfg0OqtvOImJ1+CVJGvhYd2aGB+slb521ARwAtaI XIqQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nMTLgNZu; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@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 af79cd13be357-7b35c96f90csi4374985a.49.2024.11.13.17.16.05 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Nov 2024 17:16:05 -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=pass header.i=@linaro.org header.s=google header.b=nMTLgNZu; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tBORI-0007wl-OR; Wed, 13 Nov 2024 20:14:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tBORF-0007qO-48 for qemu-devel@nongnu.org; Wed, 13 Nov 2024 20:14:25 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tBORD-00023g-5p for qemu-devel@nongnu.org; Wed, 13 Nov 2024 20:14:24 -0500 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-4315f24a6bbso946285e9.1 for <qemu-devel@nongnu.org>; Wed, 13 Nov 2024 17:14:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731546859; x=1732151659; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IkMAKYtUsFK+2kHSHv5+o6ejmYyvsynMitsyE7ErdJE=; b=nMTLgNZuUNokikg1kST+CcEwOA9jPPKQev18C1iXymHiQo4wI+f+duzowWZTOG2/Lo jMdsxKkDYi/yYqyIbjzxlIyeQ4tY3mgmgXjolTw1gI2ZPwkVstBEaLGmzowFNjLGtIuP 4WXRbWqz8G9UdRpc5TdnVD48c9JBowxuwbpfGL0MKLAQHBPRIGU7rR3nCjlx7kZ8zgiL xAWaKSZ64ZqymV/IOxdo/m2xY78fbxtlk6rRBhuLhFfhttSWgHuRc2D5VaZsOIdUMUaE VXxzzj7QqwaWhgtVm0p+oxEaK01/BXXbyI+3FHo5duwM+auSM5S8bdveHTA/SgLn8X8U zMaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731546859; x=1732151659; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IkMAKYtUsFK+2kHSHv5+o6ejmYyvsynMitsyE7ErdJE=; b=GoCFchnCjDAKAwJ8urWncFkq2p9K+gtE0qZiUlqvs20TTiO507hZxKzP5LFtEwCLAm 63CiH/0JFQJ4hjPqaUtsr4ZtDIxZ+8F249zpTppwxntTn0YxfSAI5Zv5n62vnfQTHJos uYdhEL85c3FuyLdZde6wf34Z8QM8j2yFjYLk9PsMYpUfINkM216R/KTRslyNK2LmIpj5 XU+rmZXXFeVIQDt7G78Tv92q6InUMBoyoNn1QhXjSk7W36tObrKOiGcZBIEkfEUJfGLm K7etUQdL/FAqMPJhL8Hzxy1A8pu+6GkKtkFdh+nqrpbjA980fGp4UWdVigC50X14FLuO THaQ== X-Forwarded-Encrypted: i=1; AJvYcCVJEIpzL4fDX48UGj7/7ZeNptFlvwcmv4j0c4sHA2c5ICfxHr2MEF4RA+nQKLPCo3JktphXsEE7Ifkw@nongnu.org X-Gm-Message-State: AOJu0YzmkgV/BMp8cRH6pbtfW4xn85OgfQNI2eUo6xvF1SkJMvfRWq9O vwMHqx/P28gFJgx8ernIq6v5nOlZlnQxomCMB2js0b2SpmzUOfLParrgnuLGZeM= X-Received: by 2002:a05:600c:1d20:b0:426:5e91:3920 with SMTP id 5b1f17b1804b1-432b751dec4mr186860785e9.29.1731546859011; Wed, 13 Nov 2024 17:14:19 -0800 (PST) Received: from localhost.localdomain ([176.187.209.238]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432da27f4f8sm4766295e9.18.2024.11.13.17.14.16 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 13 Nov 2024 17:14:18 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Anton Johansson <anjo@rev.ng>, qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, Thomas Huth <thuth@redhat.com>, qemu-arm@nongnu.org, Peter Xu <peterx@redhat.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, qemu-riscv@nongnu.org, David Hildenbrand <david@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-s390x@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH 07/24] system/watchpoint: Include missing 'exec/cpu-all.h' header Date: Thu, 14 Nov 2024 02:12:52 +0100 Message-ID: <20241114011310.3615-8-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241114011310.3615-1-philmd@linaro.org> References: <20241114011310.3615-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
exec: Build up 'cputlb.h' and 'ram_addr.h' headers
|
expand
|
On 11/13/24 17:12, Philippe Mathieu-Daudé wrote: > TARGET_PAGE_MASK is defined in "exec/cpu-all.h". > Include it in order to avoid when refactoring: > > system/watchpoint.c:52:24: error: use of undeclared identifier 'TARGET_PAGE_MASK' > 52 | in_page = -(addr | TARGET_PAGE_MASK); > | ^ > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > system/watchpoint.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/system/watchpoint.c b/system/watchpoint.c > index 2aa2a9ea63..f7366574a3 100644 > --- a/system/watchpoint.c > +++ b/system/watchpoint.c > @@ -20,6 +20,7 @@ > #include "qemu/osdep.h" > #include "qemu/error-report.h" > #include "exec/exec-all.h" > +#include "exec/cpu-all.h" > #include "hw/core/cpu.h" > > /* Add a watchpoint. */ Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
diff --git a/system/watchpoint.c b/system/watchpoint.c index 2aa2a9ea63..f7366574a3 100644 --- a/system/watchpoint.c +++ b/system/watchpoint.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" #include "exec/exec-all.h" +#include "exec/cpu-all.h" #include "hw/core/cpu.h" /* Add a watchpoint. */
TARGET_PAGE_MASK is defined in "exec/cpu-all.h". Include it in order to avoid when refactoring: system/watchpoint.c:52:24: error: use of undeclared identifier 'TARGET_PAGE_MASK' 52 | in_page = -(addr | TARGET_PAGE_MASK); | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- system/watchpoint.c | 1 + 1 file changed, 1 insertion(+)