From patchwork Fri Jan 17 13:42:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 858172 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:cc8:b0:385:e875:8a9e with SMTP id dq8csp704489wrb; Fri, 17 Jan 2025 05:43:46 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUA2JhkYyCyFiFApVg0OWmaUgYiKnGFW3ij1ObbYx+RA0vJZ+2aYyQfdH+oHSVGkAnVQCn6cA==@linaro.org X-Google-Smtp-Source: AGHT+IGKxTS3N4uz78gY0Ok+1t6m3VIS7f9HlchvHyVXLVAJZ0s56Ewn3z3Ps3KA73Qi6FPRQq23 X-Received: by 2002:a67:c41a:0:b0:4b6:8bd1:6b5d with SMTP id ada2fe7eead31-4b68bd1722cmr2690079137.1.1737121426069; Fri, 17 Jan 2025 05:43:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737121426; cv=none; d=google.com; s=arc-20240605; b=L6USrwnLldJs4OQJb99s3ckAJqXXghuTec+i/Kqrx/lLsVjw4UycxpVxtY1yJ9L4IJ HS8D8kaExx7EU1iTmLXn528+FhewsD1giUxXP04lqKdEYBjbPJFxXXv15aS+xeW5LXur WZQprjUhES3b4x5iBrwMQgNpT4/1zXYUV7SmOliC3tZKo/2TtV2kapyRtHvU3mfepEpD b/lGHHAuxFzdXQvp78u+ocCpuuNwHuUWyeHHnu8Uu4NE+7xZ0INQ5pMyILGP8ub8cKLu EZgyGkCyXLNZojBDqjOr5114WlTJX0lv+6HKppBhIKmnMJxURxkbgGA7TROlADi0cpSq CAew== 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=iXBLUkL8+yV2RgOy7GvclV3RoZ3IJx6imsmC3PeKgzg=; fh=Blf2oUU/YG0QI3K9EaXy3qgSFUqguV8JMcvhxUv3o9M=; b=L/9Hv1OeshY70jgVY0KsC8h8jshBWINapX239AonKPZ5mv+xM7k4noLZXdFUaYuSbR 6TF8aTWKFs/3z0nBX2LtwYzAiklEd/2XT2uIQJ7ZxNUSGvrtdN+2tFmJ7/8f2whDfHDi caDSMYMMA4Af6voLybMhadVrYSZbRl2Z3YDel3OZCVPEEJDr/USysSH4kUJ3dvd5slcH IbmAmD+SjcJdxGsArSKZ4/+5N+M6pvQZ/ih4BK0L/7yoCFizufKM7EldB+bUD1LCtL8Z gxkMs54YXWLE9lbSYMBJRGnuTFsbvbltUrzrA2c5l3LTTYb/m9FL84kka0Oh38eVQsky /20Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GVokmrSd; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-4b68a37c43fsi1081288137.642.2025.01.17.05.43.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Jan 2025 05:43:46 -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=GVokmrSd; 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 ) id 1tYmdM-0001Hu-Un; Fri, 17 Jan 2025 08:43:36 -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 1tYmcu-0000xH-Jg for qemu-devel@nongnu.org; Fri, 17 Jan 2025 08:43:08 -0500 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tYmcq-0002CS-7x for qemu-devel@nongnu.org; Fri, 17 Jan 2025 08:43:07 -0500 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-ab2c9b8aecaso329038566b.0 for ; Fri, 17 Jan 2025 05:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737121379; x=1737726179; 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=iXBLUkL8+yV2RgOy7GvclV3RoZ3IJx6imsmC3PeKgzg=; b=GVokmrSdyT/lwVZRQaZofRkTOLzLgB493e+eKcmLXCkXZ2bUarJBrJqogyNVspnN61 +aEolV7NbFb5/WatLbfZZiK6ImDE9+Loy7c8IjoAd20Qgh2e6dtwsPPCEE59yHSFz+cL 1zdRMfZO3MMZ/804uAZUI4hPuT8TaxM5iiATtfMGvGgu5Jv0N0GykNcDVKF0KjuqMJxl g/zGUWTX5pwJ0C5rvUhP2HZFC/JPryLGoAlPeMaBm/QsNL/1B7ksuWkQjihgVgaZ4VW/ foXhzUnl30GabcsMZrSWLznfHuSxgfe/kDhMXgN4a9Czx/dFdGYFhcNBOA3D9kh4b+uj 5wyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737121379; x=1737726179; 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=iXBLUkL8+yV2RgOy7GvclV3RoZ3IJx6imsmC3PeKgzg=; b=oOVzLuUTDC6BtRAuVwL7zIHUf4oRHHGE7PdSjvyi4trlme7BGaxTRodwEy7tGkWfXP z+ydLVEsWhR3jV2DiNEEbuDl8G1Jwit3uTDF1Vu2O85AgjvICIA7QP8gQf3v/H6FhuOo yaIA3mFn0ceq8ak1x8EH9pVnQ5g17SuQu47Cv4g9UzhvHE/JB2dPLlTT7W9Dmxtrpx6T arpYnbo+eh69h9dnN3djSaiWtcm1bWwDQUKm/WM6FL/C6gbAEtGrxKycuKdRrWxJm5oK c/4bO016F+GrSRSUHV/WVSbIMI2eJ6R9c0f8Y/6niBpPoJ3CVxDQ6mPLmkJHgF6eF3ek CsCw== X-Gm-Message-State: AOJu0YxkGQcd6RFLvpS3pJ1M9afJVIvdG6AQSVfzZflnDjDjsFW39C5s VhIzAyvmkpqlOdgnUv+nQvoQYDtTZAb33b0cfN2ol2P+9T4pXqEJ6VZOVFfRZOI= X-Gm-Gg: ASbGncvf7GNHlVKkohnNU6uMVLHF/3qrYXvChKf3+EBQGWK5YmcdvUfBfLAyrbfaU3X 5M3je9LvNey13wdljIY1M7WNR0KgcU+fYpbJrjP8scA8HS0m/cU3v36We/LIEAeVfyQxaicgUai tLJBnLgEjhViF0Q2IL676/lkZ2Xytt1Jy3tgWSumfTlRZNaFabXBh1i/QofaQYGnd+qSsNLmUxr Oveg+nI4eifILF6zP7vHmStbfKi5nw0cpZdMovtFPxJIBtduiB/yzI= X-Received: by 2002:a17:907:72d4:b0:ab3:84b2:4247 with SMTP id a640c23a62f3a-ab38b3808fcmr272000666b.40.1737121378861; Fri, 17 Jan 2025 05:42:58 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab384fcd90csm169662666b.181.2025.01.17.05.42.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 05:42:57 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 28B8A60858; Fri, 17 Jan 2025 13:42:57 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= Subject: [PULL 03/37] semihosting/syscalls: Include missing 'exec/cpu-defs.h' header Date: Fri, 17 Jan 2025 13:42:22 +0000 Message-Id: <20250117134256.2079356-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250117134256.2079356-1-alex.bennee@linaro.org> References: <20250117134256.2079356-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x62a.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: 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 From: Philippe Mathieu-Daudé target_ulong is defined in each target "cpu-param.h", itself included by "exec/cpu-defs.h". Include the latter in order to avoid when refactoring: include/semihosting/syscalls.h:26:24: error: unknown type name 'target_ulong' 26 | target_ulong fname, target_ulong fname_len, | ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20250103171037.11265-2-philmd@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20250116160306.1709518-4-alex.bennee@linaro.org> diff --git a/include/semihosting/syscalls.h b/include/semihosting/syscalls.h index b5937c619a..6627c45fb2 100644 --- a/include/semihosting/syscalls.h +++ b/include/semihosting/syscalls.h @@ -9,6 +9,7 @@ #ifndef SEMIHOSTING_SYSCALLS_H #define SEMIHOSTING_SYSCALLS_H +#include "exec/cpu-defs.h" #include "gdbstub/syscalls.h" /*