From patchwork Thu Jan 16 16:02:32 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: 857895 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:cc8:b0:385:e875:8a9e with SMTP id dq8csp276160wrb; Thu, 16 Jan 2025 08:05:13 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUfg35Put4D9xqc61x1QoX2g3nwrSk6aXgWbY1aAw2ATvqC27DSEld108/bHIpqU+4gJvhUgw==@linaro.org X-Google-Smtp-Source: AGHT+IGYLgmovkbjqNLkbdRPNDFjEVTg8cgEwkWcx9FsaJgkr29BEIXoeSEdWcrlziTeAYIWjPLe X-Received: by 2002:a05:6214:c46:b0:6d4:18ce:117f with SMTP id 6a1803df08f44-6df9b1f2416mr523184016d6.20.1737043512866; Thu, 16 Jan 2025 08:05:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737043512; cv=none; d=google.com; s=arc-20240605; b=Kgu0KlBJ0EuqEMuALeyAQjdgopgbqaWISWJycXuvyPaAAMqejNdb4AuoxP0bV0i7kL ZcL2ROWh/7wMw27USm8zPBQCUb+PliaKcIRl5u+h9rW3BHZw/7FihVXcoHvDtIQ2F3Et 2DdjyI1jdYFgH+BGyABhP/r/cwzl6y4qMlGZTL+67rb1ZRDjtA+p1Nh/5XhNZ4/pYVDG C7HfmGINRu+3D5OEgEdpLwCp9o4LXIcUJzDCVJh/JKnEQjWaEngARdErahMPpBBNmFl9 A1mfuipJvKqUKVe1imHy9TkdxFml6Rj8BkXxijtbt9PiF5kRlgpJP/icS9Bv7PapuYhd UhPQ== 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=LWJxUxOPIoAG7kV40OipmNLMiNyFM+gQ1dWz4vBqJQ4=; b=H8fH8vw+1W/adPFr6/7jgVcuBOceTJLKIZG8ZS/WQiuD9z7PYbbeXio+8V9G3v73Q1 fCnVMqvEa5br7HV2YNAUc6YAC4qhBNeBTAjLb5G2U8lZ9hjDHiTwZHAinmJA4ymvjOoc Bz9EjRbEDH/oagctLkdvqjn/VUahfuFKgYkjGfHyv+Wf9i4hL2x7nIySxFLqCGyDFU2J 6+rwPFPGLAFqYEwk2AJlmdMM7RLxXIAyVyhvvDnnDM431OLUB/0okOZigLyrHyLdlKVb 8ZmdNsXHQC86R8hVWpqKjx+hmkF8rYOOW9wu+bODC1ZWvSFEgr5YlJEblp8K3+36lBzV mRAA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GLK8vyRy; 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 d75a77b69052e-46e1040a0e0si1837941cf.291.2025.01.16.08.05.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Jan 2025 08:05:12 -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=GLK8vyRy; 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 1tYSLQ-0003nR-OV; Thu, 16 Jan 2025 11:03:48 -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 1tYSKy-0003U9-FV for qemu-devel@nongnu.org; Thu, 16 Jan 2025 11:03:18 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tYSKu-0001DI-9X for qemu-devel@nongnu.org; Thu, 16 Jan 2025 11:03:16 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-435f8f29f8aso7224955e9.2 for ; Thu, 16 Jan 2025 08:03:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737043389; x=1737648189; 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=GLK8vyRyDD60NByImrO1vr9zCDqVSn5Q4iYpZTonThQ1VZ4F6/epwlQWvKXhNiRu9K ZvyXFjc0xa4Q6Gx+f71arOXCsv+keMSSDX7NnVo6VFgldQajT6TtHX2zXZLp1rCRQqbi tCH8twoG89MdxBs3+ljO7IhYhkp8VAqBJjZWq9dgIUWZ1cEGTH0bEacO9pPwe55G3n3a ommwJ3e5vCuYX8TknpdyjPq/rfqtFFXrhnzR5v+r3Z+kGHr7R8e9yT0xvPRnizw4gqz6 dltxUWoXzERTvZdaQRgOp2aMHE8VWaV9/yRDB8svILSertR5OlAHapha0KjNT2xrNj+/ sGxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737043389; x=1737648189; 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=sGdD9PXOBJzEqJnBNU+S9L9lMnYdpTNskx5xPnD23Skes5HZNEcIxojCxxk/UgTYMs VEKmjREjemTlTE1826akaaioFMkA3U2+s6yG9/4K7JghcT9fZW9+isL6+QyPr6ObIM6/ EGc66ut5oCuyVx787FwqG3N3OvVf4iPpAf8IhPI3gXcAcfYMvRDvs8mF2rsmS+DB7PRB WqMNNik4OWygDF0HbVRc16zyBaY6VHU33eL0s9WFMfibZr6x1jP6yIXuyGkKtQvGsV8H HZDspsmutsIdeNyp+uJch702+sqUk/Xvb48yR4QwQruuD2cTTILPFEADXon0ec4t3giJ nF4g== X-Gm-Message-State: AOJu0Yy8HW/AY0Gx+B0S+1epzGZdxYwjn6kclB8EQsKWxEMnWqLFvphp yoz+Jcyhppg4/HPewGIBhUy18J+8L+yuEAr7q5kjHr93KPHWJZpKQWCmIWWBqFM= X-Gm-Gg: ASbGncs9AVI9i4pE+bcTsbOeQ+hIK5aK2aHRC/ZetdZ8j1FxuAYQi2UZ+twXTzWzwrE 1PldncUXXnEGkmmOwBa68oKIY1Bl/Usalaa/L/eVwn0cP9SaG2HEvIa0JInQiMCIE/xb8wVc60G 5uS92q4v+VMUxLvuWCY/dnM5pyGigD09A72XKEnkvQVsi8DpuiUUoJuef+5bnBrt6cRfGer3MHW 28mSzoaRniPPOWIrPo3dwROiJztvCfKmZ3ZS9ID/SZoll6HcxZG2AE= X-Received: by 2002:a05:600c:1987:b0:436:1aa6:b8ee with SMTP id 5b1f17b1804b1-436e2677378mr298564195e9.2.1737043388725; Thu, 16 Jan 2025 08:03:08 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38bf321537dsm232527f8f.13.2025.01.16.08.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 08:03:07 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id AF04C6084C; Thu, 16 Jan 2025 16:03:06 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Markus Armbruster , Yuri Benditovich , Jason Wang , Cleber Rosa , "Dr. David Alan Gilbert" , Peter Xu , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Stefan Weil , Stefano Garzarella , qemu-arm@nongnu.org, Michael Roth , Laurent Vivier , Mahmoud Mandour , Andrew Melnychenko , Konstantin Kostiuk , Kyle Evans , Richard Henderson , =?utf-8?q?Marc-Andr=C3=A9?= =?utf-8?q?_Lureau?= , John Snow , David Hildenbrand , Fabiano Rosas , Alexandre Iooss , Eric Blake , =?utf-8?q?Alex_Benn=C3=A9e?= , Vladimir Sementsov-Ogievskiy , Pierrick Bouvier , Kevin Wolf , Peter Maydell , Laurent Vivier , "Michael S. Tsirkin" , Thomas Huth , Warner Losh , =?utf-8?q?Dan?= =?utf-8?q?iel_P=2E_Berrang=C3=A9?= Subject: [PATCH v3 03/37] semihosting/syscalls: Include missing 'exec/cpu-defs.h' header Date: Thu, 16 Jan 2025 16:02:32 +0000 Message-Id: <20250116160306.1709518-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250116160306.1709518-1-alex.bennee@linaro.org> References: <20250116160306.1709518-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32e.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=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 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" /*