From patchwork Tue Jan 14 11:37:47 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: 857220 Delivered-To: patch@linaro.org Received: by 2002:a5d:525c:0:b0:385:e875:8a9e with SMTP id k28csp1871892wrc; Tue, 14 Jan 2025 03:39:19 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXKUso8Qnef4i50tSTnWqkLoQt41O1Yk0d3AetHvBTCIqGjrsgqvgAqpq6r2c577ichYdJbvQ==@linaro.org X-Google-Smtp-Source: AGHT+IGNxQKfVi5p8/FHpC9HTQEOuHQeb1xN3nQesoRALDbOvUR7mtbYWtqChZYqiFRdB3gaPg00 X-Received: by 2002:a05:620a:2991:b0:7b6:e8d4:9b86 with SMTP id af79cd13be357-7bcd97d6b8fmr2253674185a.57.1736854759345; Tue, 14 Jan 2025 03:39:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736854759; cv=none; d=google.com; s=arc-20240605; b=Sw0ocz6QfRpnhtsE7NxfOVbwpChBRF0Mh5yD0nl14fwkBB4oNYPn6y4p+kanb5VDOe By8lUqvUQEzPG1j22yVJGllZUzjpOu8WHNitNQ7oVHC4fuIE8ItAtoF2c4QOHx2fh+5p wqB5g+SKj/fyEE28FODYdoSVuOg38ARMHLTaoftI2GmF3j29jWXIEECU+1VHNOz5sgIM wliOVQlcsEOzCASr0Uc3RFylD6LNjGm/mMQ5biluwwE6NwxpaEIhM+hxOoW0a7UpUk2O R22qCGol1OXT+FdWZc3em67sz999jhq/BRM+JH/V0HxpK2E6FGJKv+3CeG35rqlaTeES KO8g== 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=swWbfqbBQuWTwxy/6Yz7+TAY9SVPbs3mxyJnC781jXo=; fh=oeiMHLly9J0rbkyrYGoYtpVMS3e4wcjDioAW7i/gzPA=; b=PfNO+ib0esDmQbQt+2dpuVGBWTsEIDbb3a+dXoPByKAh7L98NKDHaTNMO6rMXoQDhS cEnr17bM5rdRMFLmqjuodCLRwvTn4fs0YkyYE0qG1PuyayHEgwcy/ew90ab5KCyRtoS3 3rUK9f6PboHUfZO6aiMUK0HYYgbZYzZRPSgcoSAmUgb+fadRQzqY2TyXZufmnjug1LtM dI2J2Uw3sVSmHO7EKSlxBsHRFBND1MsFJWu1V47kbzS9AraTrTXADX6naf5W0tRUj9pq 5PaueoGNd2yXl44ESs6GaNYbrUymgbcjhwOx1iy6N8NfutYW15p53D7uZQDGZNuIVi22 c20g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TNEHmavf; 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 af79cd13be357-7bce3307727si1406048285a.339.2025.01.14.03.39.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Jan 2025 03:39:19 -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=TNEHmavf; 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 1tXfFc-00054i-IL; Tue, 14 Jan 2025 06:38: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 ) id 1tXfFa-00053s-Rp for qemu-devel@nongnu.org; Tue, 14 Jan 2025 06:38:26 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tXfFZ-0005Od-Ay for qemu-devel@nongnu.org; Tue, 14 Jan 2025 06:38:26 -0500 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-aaf6b1a5f2bso155134166b.1 for ; Tue, 14 Jan 2025 03:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736854703; x=1737459503; 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=swWbfqbBQuWTwxy/6Yz7+TAY9SVPbs3mxyJnC781jXo=; b=TNEHmavfEMqqSLUYe6Hr/S1/kFHIHAc1rwruZ9rKrZcgarSkMmoNRzr6NRLsldAw3u hs7aEe/HnBAEoTcAtzmv2ooYZxHZ0Do+/1Lw87ZGB7FWXl5sGhSR2BDM1gpwE933sIb8 iKzdVW+gQrIYMLOzFcqYaN0wJHJRCaVdc6JR3G8JliQvYK0TSg9OJdRO1614YQ875yaa +1nW+6IyMbVpZpjj+GWYSskkxzqJFFLJlcY8MRK9bcz5dJmA66Trzbs2vVC9mzjryQ0w ytILp2BQtXC3O9tM1oXnP5nCijywt9GTjdJKqauyS3cawtt/fqSOOKZKER6sM4aeO6cp iU+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736854703; x=1737459503; 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=swWbfqbBQuWTwxy/6Yz7+TAY9SVPbs3mxyJnC781jXo=; b=gOjPaTlhpkahw/irk9UF+dLw0S3bb1O19hqda8Ys07j34pUiZHGuleYpzJtAaDhWnW 2mJPAVGDebeLdum6QpUn3XSUmy07MPjYO4ZtyLZWeHL0vzovMFjHEt+WTvxrrt2GUVvM 6MofUiNmgRrPoozV5LmMVjZTPxpV9s/agS+VVW/xFLU0wItj0Jn/AULP1nwJjR53/JY4 lturSQPopphJzW3qxJ6y+pCyozzU9fNwY5wDlwla/dleCVRRpOQ+pGJyFFxC4ZOI2cDn asRGAkxjunChiTK8f8QhbWVzlsI0GXr6oJmh3Fdqs8H8alHmpZTgcK60FEzUpxLbYKEs S7Kw== X-Gm-Message-State: AOJu0Yx68OrdmB952xGdqb77iLXJge+lEhIC9sBQ+EMGybdbE5OIgUtB 9PciQ5xxk6rMHfqm/DyPI5Lk7umtnf/fuGkTVVTJwiGIWbjvj4Y0LyLror9Qy5Q= X-Gm-Gg: ASbGncvej+LmF9mbEMCmZE3CNDF6ZI/pxnUcWs9w9A3qxfQ2nA952R4gwpsOzs9MQpy KVaJCWrQaGxCMYaBqnUoY8nFeagy9fCQBh9kcGMOgYTR2wrrvcPm3Lnf5gHOhq84PUltQhS5O34 KTMpTwEHwmUWjiVDcLitO4BW51QpQhv8jH0JnpvhUXEDFzt6uwRQTEiu03KvJ9mah1jx4j0vLWR iCwJcOJaOh7baxWLHOE1VbK6NJxgl8CLbtGJujehutKoeO502HUAYs= X-Received: by 2002:a17:906:c14f:b0:aaf:1f6:7423 with SMTP id a640c23a62f3a-ab2c3cb6e2dmr1669429266b.18.1736854703475; Tue, 14 Jan 2025 03:38:23 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab2c913605csm615049866b.82.2025.01.14.03.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2025 03:38:22 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 122525F932; Tue, 14 Jan 2025 11:38:22 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Stefan Weil , Pierrick Bouvier , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= Subject: [PATCH v2 03/37] semihosting/syscalls: Include missing 'exec/cpu-defs.h' header Date: Tue, 14 Jan 2025 11:37:47 +0000 Message-Id: <20250114113821.768750-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250114113821.768750-1-alex.bennee@linaro.org> References: <20250114113821.768750-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x635.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 --- include/semihosting/syscalls.h | 1 + 1 file changed, 1 insertion(+) 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" /*