From patchwork Mon Dec 11 21:19:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 752535 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1548603wrs; Mon, 11 Dec 2023 13:26:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQPIwlwWXAKoTOWmgEFcJu5F1Uia50uBIuViIBYuH8xAK4PvOR0MoLJ8051sCPVMT/Fexb X-Received: by 2002:a25:e805:0:b0:db5:4b76:56de with SMTP id k5-20020a25e805000000b00db54b7656demr2787885ybd.2.1702330003033; Mon, 11 Dec 2023 13:26:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702330003; cv=none; d=google.com; s=arc-20160816; b=nFh2+OunTV03djEkbmdh7ARbOz4MpKez0/8gMyn6aJJRT6dMo8J4gArizpFpdCLmt1 rDUD1DBT0MCDdYYNzCQSp76RCRXLXL54OzNFCXC8EhiaH4Z26kXLDz9QEoCp9qWpME+S yrB3vZmnM9vRQFXzznE9gDpkMKAGpCRNd/zBBJ+ajYAQAjTOxGJ9K2tkPOyLrQbLvM3g 7pqR0+rkjBrHE4HdhR2qKZgvxXgJpKgITfz9tfbrXz40K57YeEx9fL4jVB0diGYEhb8X tcMh+qaJnKjhbVVylv2fibeiKb3Gdnmhg4kioUUCNsUM8MIFbbks7kf/H9Rg+xAwmQX5 UXBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=Hdtduscqdl7lWoQvL5DT94RvR1c94dCnz5Zm14mzbGM=; fh=6uA3yvXeN55FEhLQ+7xhayEyGzy+Y3z2qOYV5oRrcR8=; b=BGtEYMumDRiFakTdAxxRtmVYcpZdPU3Rv+kkgIndaIOG4KWmYuSqC/BHWyLHhl6aHG DaqGyMOIZSdBMA9wiWH9VHrGniF2rf3qN2dYVRz4TCXuhihJlOeSGR7DP91R8Ncwf4aH eF8dtyrflhsGKSkrP7rLLybWS3LfD65huXpXXcmF53Wlz5Efh0Rbr0WqZGW20P3v4PY1 BX69yYdXnfkKo3KxVp/5yVBdYCsInNhsrDMXAIEd6wvT3IUzEYgn/ImNnKDPP5V5U4/Z 8TnLmHdeQL09ftQe4lKXWjw54is04P31ObKwO7dYenHtTaYbWNHwHr3Hsppr05cqk4cQ 2URg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HvI+Lbt0; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h14-20020ac846ce000000b004197bfc153fsi8487426qto.648.2023.12.11.13.26.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Dec 2023 13:26:43 -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=HvI+Lbt0; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCni1-000133-LB; Mon, 11 Dec 2023 16:21:02 -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 ) id 1rCnhy-0000wA-5i for qemu-devel@nongnu.org; Mon, 11 Dec 2023 16:20:58 -0500 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCnhv-0005Lj-Fi for qemu-devel@nongnu.org; Mon, 11 Dec 2023 16:20:57 -0500 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a1ec87a7631so447844566b.0 for ; Mon, 11 Dec 2023 13:20:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702329654; x=1702934454; 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=Hdtduscqdl7lWoQvL5DT94RvR1c94dCnz5Zm14mzbGM=; b=HvI+Lbt0OMGxncTXfmCtUxEpk7DXjvqW4bWkxcD6aBPgh/7lafhBDKlqq2D83UUWBH MijxmKUwMrc/qcAvLr+04pocp7Q22lcmY0HQJARZJEnPFqxDkirBiIQWCvNWfEJCLQG+ NkiYpS0fvA+lNDPjfsXLWXVXq1+8XPtEY/hg1mYzDLHdNTjs6bX/eEqqt9ZxQK1zEyu9 olwSxOboJxM4WH6Bt+fKSaE3E477ZVBL5tRvDVmOjPzRfg/JPyQnaYVMnCR4ZA7SU0ms XPNnoi7pn5eheOTCBCQ+d0242nMvenjyoUttoTspvrsUL6xv/Jp79bFsRiuDPBGZv5e+ lFkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702329654; x=1702934454; 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=Hdtduscqdl7lWoQvL5DT94RvR1c94dCnz5Zm14mzbGM=; b=cDsHhZKNjHuNvyuBR/+sLMPRhLGMcxPdeOGEYxnG8Bvfeo3MDd+jIE16X//yHItwPe sTt3oCf90verH0oBQi4qRQBxDUuj8UghsrLWld5IYVxPlFUBIDNkwRog3jz5Dj6fB0cv YW5pcygT9ytrVwA7eHvmTy1ufYuxKvh0C/DMga+tgntX8TLj+9Uvh1hqb3XgSTerOdWs IjvOrFzD3lKAZcZJqVtAmyc88eouNJi0VHPno8/Lz7GPBTFh1Kr85kcaL3vF0Te3j/J4 tmVq5aMhZu1As1E2wHPyZHj7JvoWypdOf3wLn/jUzSQBuThDOJoL5nv55PYP6oIjrdF3 sTRw== X-Gm-Message-State: AOJu0YwWXoLzI/mflkqCCZdTow/xrFNpjgDhgrNIg0x3r20cDuSI5PTh uQP6rqahIrWPqV7Yb0C1DKl9X6wih/0Bml2TsQPEgw== X-Received: by 2002:a17:906:2207:b0:a1f:9f16:2cfd with SMTP id s7-20020a170906220700b00a1f9f162cfdmr1332861ejs.63.1702329653881; Mon, 11 Dec 2023 13:20:53 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id tm6-20020a170907c38600b00a1db955c809sm5304903ejc.73.2023.12.11.13.20.50 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 11 Dec 2023 13:20:53 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Ilya Leoshkevich , Peter Xu , Liu Zhiwei , Peter Maydell , Mark Cave-Ayland , Eduardo Habkost , qemu-arm@nongnu.org, Paolo Bonzini , qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , qemu-riscv@nongnu.org, David Hildenbrand , Warner Losh , Claudio Fontana , Brian Cain , Daniel Henrique Barboza , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 05/24] semihosting/uaccess: Avoid including 'cpu.h' Date: Mon, 11 Dec 2023 22:19:42 +0100 Message-ID: <20231211212003.21686-6-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231211212003.21686-1-philmd@linaro.org> References: <20231211212003.21686-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=philmd@linaro.org; helo=mail-ej1-x62d.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org "semihosting/uaccess.h" only requires declarations from "exec/cpu-defs.h". Avoid including the huge "cpu.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- include/semihosting/uaccess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/semihosting/uaccess.h b/include/semihosting/uaccess.h index 3963eafc3e..6c8835fbcb 100644 --- a/include/semihosting/uaccess.h +++ b/include/semihosting/uaccess.h @@ -14,7 +14,7 @@ #error Cannot include semihosting/uaccess.h from user emulation #endif -#include "cpu.h" +#include "exec/cpu-defs.h" #define get_user_u64(val, addr) \ ({ uint64_t val_ = 0; \