Message ID | 20250103171037.11265-4-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp8353538wrq; Fri, 3 Jan 2025 09:12:03 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU2okD+Wvuhd4+kZ1vJ8ZhSyVhRb/ABMVOQ4MvLG3xJSZe3Fc2Ors0s6+tXTVvX2NBK+aynTg==@linaro.org X-Google-Smtp-Source: AGHT+IFfVcycA8oJNwBFmMpj3/FNZ1cCZ9QY5jliYYeywL3h3OtnB0muQwVNLglgZlGiVjE614aD X-Received: by 2002:a05:6122:6607:b0:516:c0b:8bfe with SMTP id 71dfb90a1353d-51b75c308a7mr37518471e0c.1.1735924323719; Fri, 03 Jan 2025 09:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735924323; cv=none; d=google.com; s=arc-20240605; b=hTtKkqZ4Q1OwlEgvzwmmtAO64kv3UwEB6bDTpn3lZRSWPaS1AMSs1sVJfGL8mEVZGW A/z7VsczfFijNOqoo2CK0W4tmocwvB28nO69izRWYc4fapwinV+3tQ4//TMTHYaiHf/g F6TM1WjjG9MXgxukFIqIH01wWhXglac6eg4tXX+OIoTFzcU6k3KW9lheihPOftOhy+iZ oTQXnusWpZTpEfFVDUJnoaxl1gf5Uesrt4P/n9DYfI2gzxnNrIs9Gzokvx8l3fzyKGHs qtO9K3rXbF5uxS2T7PBpSvuLnZZm3dpHpE9yIFY3atyBTt43LytdNn7moDIpHnbnNg3V vlkQ== 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=bFOLOeMz7nvWSObnCUJsVQrXvjleVQMv9sXlW+9Cp1o=; fh=VclK+25cToo2hY7i86CrNJRwJqsJDQE6QtSzvWpK7Ok=; b=NnycLmKtwu8HcsKwdXD+vXBKbrQNbS3NVS2OR5H78Zn+iu2U51CqVuIHfU2tYxiP4Q lkbgs4XP80cqvEGpNFaO7jQgEKOWleOZiFxD/elRtnUKj8zMR7+B96kEqF4ltnz3Ylk+ BRXz+Djw0ojmAt7qAQaQXE9BGdPZ5PY165WrMWN9lNJt4AfjcBZPVbBHtldsktmgMXs9 24CEO4HZNDYVD3KSZoqWjFBZ4G1y5yp1y0fjL1dCwHa0gcjXBRCScyXdVMDBZ5uL0NIr 8f7IRXgd8dqUjt9gt3aszVVkBAHCNkZzjfWmlF43i8VxbHO88qaKa07bRiM24t6vapIB SwNg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dv9AHlLE; 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 71dfb90a1353d-51b68b83547si9914082e0c.17.2025.01.03.09.12.03 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Jan 2025 09:12:03 -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=Dv9AHlLE; 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 1tTlCX-0000SY-JR; Fri, 03 Jan 2025 12:11:09 -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 1tTlCO-0000S9-FQ for qemu-devel@nongnu.org; Fri, 03 Jan 2025 12:11:00 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) 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 1tTlCL-0006nV-EZ for qemu-devel@nongnu.org; Fri, 03 Jan 2025 12:10:58 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4362f61757fso123745775e9.2 for <qemu-devel@nongnu.org>; Fri, 03 Jan 2025 09:10:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735924255; x=1736529055; 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=bFOLOeMz7nvWSObnCUJsVQrXvjleVQMv9sXlW+9Cp1o=; b=Dv9AHlLEy6FKDGC3fNW45b1TcNhGhnXbt15irFsF51B4Eqv/zdBTlNsdEXYThKKA4E CSaCnZ+Nrh9a6izERArAOt5DM6p3AevHWuRi0fJMG+PJs3yrL0Mb68RFE4a9UXzKfDdw Wp/JrB3o1ypwS3ys7uTzYzsvVkoCo4LR9w/pGU8446DznlFLSD/HTHkV73LwoC8/xbzP UyzserCsY+TY6lMDHFdPRio/tET8RoeO/c5medVvN6fuqq/gdWCSALaFonZ7nBuzOy6Q yGa6T0s8jislrW7E/umlEKz4sAGVc7vumUs+t3Yv9c7BsBD8K5pPqf6rvrmwosjWZF34 lQYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735924255; x=1736529055; 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=bFOLOeMz7nvWSObnCUJsVQrXvjleVQMv9sXlW+9Cp1o=; b=WJOq/ARHV9+gna9FN/LR4G8wfYjA6Q/z5n3q7o6C5l/kbnY2Zult+8/YQmN8avCNrC B51P+vKYaoslv2hTDrh2QJ/Ou6jTH2CT7u+SUKa9C10oKPDwyBoABQg1EluzvRxM8cnC eKlDYoqYKcjglOnbnoQrzbaApbrddRTNJ+HxH6Ud0T+5wAKlWY6Ov62N2J6zZcHewuE/ PU1KGFFGwCV0MousiEewj9J2nD8a/cze1OYbPs2bFDijgi6bVSNTj5iVAfpbzwdhIbdm blL6e69eA0Ma3KnB5UZu+7tpJphA91V90PJderMacQI8E70aDfD6XljEGJiqgrfZ0I1G Yk1Q== X-Gm-Message-State: AOJu0YxZY+FbdSUHHL8XckMFtuTO6LJPtOQxLhIAPWfw3+MyH8N+r1fH fw0rmq0j3s0oJ1cDVNdy8UxvqLlBnlWBJxPO8SjyBBJD9PlbEoPf8GM95yUQM/wO6XTbo4VIrPa htrM= X-Gm-Gg: ASbGnctb9FtnM7O9Zelk1qAWQxYc5IMaf/AZFRsd6MOFpW8DlBMEa8n94MbUUH67PdJ nLpYBAaTZBg6mBFP3UGW+O/TNKk6bMlP44L4zAg04JHWDwQzWd/WiD7aKXTFnsY8y8MnwfSgfnq XjNP32sA07/uYwKiYVw9weZpa/pX093v2QmM0q/t9lKnaIoX/JGa+50/Xe8QnJ/P69Lrhfgjas0 mQo338xrm7mYs9CWLC0gfMxxaDUuqHh4KU/qgjOem8K+DpRZ7z5+wqWRNb1DLqaCy3rHnKhCrKt SfK2T+b8v8RN3FTxN4v+kUYj1Fed6Wo= X-Received: by 2002:a05:600c:45c6:b0:42c:c28c:e477 with SMTP id 5b1f17b1804b1-43668b4808fmr385949495e9.23.1735924255552; Fri, 03 Jan 2025 09:10:55 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43661219578sm493380585e9.20.2025.01.03.09.10.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 03 Jan 2025 09:10:54 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Pierrick Bouvier <pierrick.bouvier@linaro.org>, Alistair Francis <alistair.francis@wdc.com>, Kito Cheng <kito.cheng@sifive.com>, Richard Henderson <richard.henderson@linaro.org>, Keith Packard <keithp@keithp.com>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH 3/5] semihosting/arm-compat: Include missing 'cpu.h' header Date: Fri, 3 Jan 2025 18:10:35 +0100 Message-ID: <20250103171037.11265-4-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250103171037.11265-1-philmd@linaro.org> References: <20250103171037.11265-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::329; envelope-from=philmd@linaro.org; helo=mail-wm1-x329.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 |
semihosting: Reduce target specific code
|
expand
|
diff --git a/semihosting/arm-compat-semi.c b/semihosting/arm-compat-semi.c index d78c6428b90..86e5260e504 100644 --- a/semihosting/arm-compat-semi.c +++ b/semihosting/arm-compat-semi.c @@ -166,6 +166,7 @@ static LayoutInfo common_semi_find_bases(CPUState *cs) #endif +#include "cpu.h" #include "common-semi-target.h" /*
ARM semihosting implementations in "common-semi-target.h" must de-reference the target CPUArchState, which is declared in each target "cpu.h" header. Include it in order to avoid when refactoring: In file included from ../../semihosting/arm-compat-semi.c:169: ../target/riscv/common-semi-target.h:16:5: error: use of undeclared identifier 'RISCVCPU' 16 | RISCVCPU *cpu = RISCV_CPU(cs); | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- semihosting/arm-compat-semi.c | 1 + 1 file changed, 1 insertion(+)