From patchwork Tue Mar 19 15:42:33 2024 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: 781120 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp1996932wrs; Tue, 19 Mar 2024 08:47:50 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW7SHNJeynBHuVoxvseISmbiPY2lzAsbGrapwcNZn/Huae5wY62MyZASNez7JSB7N2FdCYBtqZeIjLVlb4qtzc8 X-Google-Smtp-Source: AGHT+IH1sSK5VzD20C0z11GFAZP/1+C0549/xJ3zbF418a3NPpsl4APDZTZSBMsaXi/cU6SN2HpN X-Received: by 2002:a05:6214:2d03:b0:696:3802:3597 with SMTP id mz3-20020a0562142d0300b0069638023597mr2776173qvb.15.1710863270367; Tue, 19 Mar 2024 08:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710863270; cv=none; d=google.com; s=arc-20160816; b=TdMTxUava6HQI5LOZ+6tly9iRbBsGDG2q+TcPzyPBFCNFrQDZr68O5DBskcHYpIeCi 1zg2aA5vExlldS+ECvMmpOADnIill0HiiLFGLknXlCv0193QjGR8Q3mydcVdYZ0vZMUf CT50Z/oPh9kOusArWjuq5dMymj4OpZjlp7I3x8F17rX9UwF98aKt7m6JAw0SFhZtRiFO iXfNTEJKEWE4VX1oimrscREse9sWznHr+rj91J781EV0fyszhJr9VQcarcULTAW0zHmt AMnLACT4eocmT42POaEJ7QSrtsLe95niBz+978yzw/HIEXpKL29HAOeKE0aEU+gNKhw/ 0G6g== 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=NgNkzc9TKRqSufr7q2jowH4Mnpr7+ZnLD1X9Wx4INOA=; fh=CWlHSUlS4Mijl0M/gtp3ZQe+a2gObXJw9KXu4yesCeo=; b=BQGB8z/8vWW7J37rd1gD7MbF8DmL6kjz2TSxMNgy1UNnjWcWP/VTbTxAhYkG05rzxo HFFC6qdP9FIsd+c5aGL3DiMg13UOm4BdojACVF2ZexlKXS+blKpNTKOvTWQKqD6kIcKt s9/m1fSITolJBYVaNRLpMfzKwFfqADXwzuaD7vvcSuAL9JWWOWA4+iU6XLx5AoAMG6bM 6MXc/xPo50s07eGzykLajNk8eZMDiHTn1jOGLU4OnSaHQASCPoJHP03zueRmcqU2h8og UZpBb9mVDWgXW9I0naA/nYfqTZ2O7GsSDpFF5ASzJu+fFHBXt/qhAEKE86x7uPrspW2q pJjA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r+Ok3mal; 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 gy11-20020a056214242b00b00690dc2d9d92si10779115qvb.218.2024.03.19.08.47.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2024 08:47:50 -0700 (PDT) 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=r+Ok3mal; 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 1rmbcj-0005Rw-7D; Tue, 19 Mar 2024 11:43:33 -0400 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 1rmbcg-0005QV-B8 for qemu-devel@nongnu.org; Tue, 19 Mar 2024 11:43:30 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmbcd-0004q9-OD for qemu-devel@nongnu.org; Tue, 19 Mar 2024 11:43:29 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-41461c256c4so9409215e9.0 for ; Tue, 19 Mar 2024 08:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710863006; x=1711467806; 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=NgNkzc9TKRqSufr7q2jowH4Mnpr7+ZnLD1X9Wx4INOA=; b=r+Ok3maluSmr1kXNeSb6q+w2dnmADv5ccASjV8CDE+7/CC0JR+4XYf5Wx+pJsVAp5G 7ycRFblmI+65NJGgSyctH+3RikgJPieiGOFOMC92Rw9oUVWGha3O8RK1fuT1+MhHcuil 6BCvp1qe6w46x3+BfR8B0KmeOQFJ/NCYDnDcqwe/jdQC1S0X4O8ilL+WDKWdSN2P1FmW LVDW92fCzYsfUiiU0uJ3uxS2BZNHAFzDfkwDm2/Vv4yuQBGgmWGD3QUz0WB7neve9JSl aTJToG/YN9JQWmXigoStSc8u8eEI5rNtdzNgpNQjpn1IeAQvPeCzOo2F1mfR0i1sDIjb iHnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710863006; x=1711467806; 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=NgNkzc9TKRqSufr7q2jowH4Mnpr7+ZnLD1X9Wx4INOA=; b=Opurge8Ak0aD8+MgjgPTw0T0rM8ALS2FTqeT+Ao78Nycd0DlvGPpIqfY4zNAceRa1v /J7gRnwc/AQESGDAknsDM+7mEWFdEx0cQOoJ1PTMMwnpR+nKqnAjItxcyjLJG7d+vPSx 4xGZTSU88X7FJGAijVprJSRKRcwCq0O657OEn6ZjCtO/jfh/FhwRjHH20ZdVRhlQEBjz CU2fQqnO0Ara4J9TtdEca9Cji/OgVldPBFp+9Kg1AvJeuSGoUos0Iha6wJE78PayGqVa P7wPptHfJEChkw5+ne08FwUKcMTPorImyHeZZIMkaL5bAVebBp1bl6b4KS3gZ5r38IWX smqw== X-Gm-Message-State: AOJu0YzU5Q905/mM1oCm2bqsCUsyylGFW1/C0MI51nRF3gxSmOb8ZPfh yQRShYfvrVhMHKmtjTPMFibWPnp9DN6larb6qYuBFQcltjxiNXLG6VwQpcc7NvZcsL3AvxTZwmB U X-Received: by 2002:a05:600c:4f11:b0:414:1eb:3010 with SMTP id l17-20020a05600c4f1100b0041401eb3010mr2169239wmq.17.1710863006089; Tue, 19 Mar 2024 08:43:26 -0700 (PDT) Received: from m1x-phil.lan ([176.176.166.129]) by smtp.gmail.com with ESMTPSA id w9-20020a05600c474900b0041408af4b34sm11116488wmo.10.2024.03.19.08.43.24 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 19 Mar 2024 08:43:25 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Richard Henderson , qemu-ppc@nongnu.org, qemu-arm@nongnu.org, qemu-riscv@nongnu.org, Anton Johansson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Peter Maydell Subject: [PATCH-for-9.1 04/27] target/arm: Restrict TCG-specific declarations Date: Tue, 19 Mar 2024 16:42:33 +0100 Message-ID: <20240319154258.71206-5-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240319154258.71206-1-philmd@linaro.org> References: <20240319154258.71206-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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=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: 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 Signed-off-by: Philippe Mathieu-Daudé --- target/arm/internals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/arm/internals.h b/target/arm/internals.h index dd3da211a3..087caaf2bd 100644 --- a/target/arm/internals.h +++ b/target/arm/internals.h @@ -346,13 +346,13 @@ void register_cp_regs_for_features(ARMCPU *cpu); void init_cpreg_list(ARMCPU *cpu); void arm_cpu_register_gdb_regs_for_features(ARMCPU *cpu); + +#ifdef CONFIG_TCG void arm_translate_init(void); void arm_restore_state_to_opc(CPUState *cs, const TranslationBlock *tb, const uint64_t *data); - -#ifdef CONFIG_TCG void arm_cpu_synchronize_from_tb(CPUState *cs, const TranslationBlock *tb); #endif /* CONFIG_TCG */