From patchwork Wed Jul 17 10:57:16 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: 813000 Delivered-To: patch@linaro.org Received: by 2002:a5d:42c4:0:b0:367:895a:4699 with SMTP id t4csp728500wrr; Wed, 17 Jul 2024 03:59:08 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVp7xczKuXIvmr8UNSyAD8qIW7Kw+bTgquJ0izVF7HjMhA7/IPx7APx0ECF4Bf9/dcZGUJ4c3LzPV/00qL3f1Na X-Google-Smtp-Source: AGHT+IFcx4ieGo7WSnhQo3hQPX5G+lFAVdjOnQrkF/MJAi75+KHK1Yi7OTFRyKGH38fg42+B7cQx X-Received: by 2002:ac8:7e83:0:b0:446:5cdd:20cd with SMTP id d75a77b69052e-44f86e66758mr14591911cf.61.1721213948196; Wed, 17 Jul 2024 03:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721213948; cv=none; d=google.com; s=arc-20160816; b=RazIgAsI3/baGfGhDkf822dEX+1Ya1miiIx0edWa4D7kgrR5IwlE9RZVeStv1/as87 uh8tqG96d6kqyZHsw17j+mAZgGkREUutV6pXo1YMhMC/vz9bNoZEpBPA6ZEii8ZR0ivM z5Yel3M5nvcfHijAeKda5EfXihZdPO4F7Jeea6qqnAWw/OT6MR3eXBGU6pRTQvgjxc0o QtidSSELcgVEPyGSibOJh/Wp3H1s5QsZbzzBm9uMSI4KfcvISmmbFd7bKNk94UNqR5lN U5UUdyq7rr6bfhuCNUcZxLiPr0MjQ8MjQBfVW4zRQmJ2brT7/rHWEd1AMUmQ6aEbgHJP K1MQ== 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=anM9EOpDNnsAeOw8+e0Zh8fKDzaQ6DzWrkazNPeEQ8s=; fh=3DC2703P4xBxF1F4MVQfPS76oLaSUJt9TaUyDV5jf7I=; b=bPksYr51xMHEg26aE9UcmcOOiT23fDPxIuXwIVYgMUGuZINAv/Vpi4nkd2lbYJq60t 4LnEC6O0LZHr0ZlQ+zAIjViZWILs+0xYysdIbyqXTKfcfGEra670gBaCqGJeJL7Kn8Yt xj5dlAruyyBR2ujHb9RFF0P6ekWUlZBCjhkxP9zmLRDJWEatngls8EP9lH62fEw1aa5Q K0m/pXuRWQ++2Neh2ymSYd0Vxl8KCb/4pTSoGoUlpHCww0UrJk9J1tmAHqggXidRSfpf H+ZJ4qOV2WZ+iu1ea2vjDJpTYiaTpqUPdAobVO2QnWvrky0zeNRr2pTfGH2zKaRozgCr ljGg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u05j5Ay9; 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-44f5b77e321si98535191cf.101.2024.07.17.03.59.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jul 2024 03:59:08 -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=u05j5Ay9; 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 1sU2Lt-0002ji-PO; Wed, 17 Jul 2024 06:57:41 -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 1sU2Ls-0002ec-Fx for qemu-devel@nongnu.org; Wed, 17 Jul 2024 06:57:40 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sU2Lq-0005cA-Ue for qemu-devel@nongnu.org; Wed, 17 Jul 2024 06:57:40 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-368313809a4so275675f8f.0 for ; Wed, 17 Jul 2024 03:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721213851; x=1721818651; 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=anM9EOpDNnsAeOw8+e0Zh8fKDzaQ6DzWrkazNPeEQ8s=; b=u05j5Ay9z5riM9nRuuFpszVbqPt2OUksQTs0aRagCUeBrPlC6nKbg5PjYcYcjG2riC Z/gqDTG6id7tlDpXpQRY3npDJrXinh7zXn1LNjP9RhmmaZpInOsPg7NViONvsAYBwn8u 4fAShowAK/mnHkkns+F3tw/qxnk+FEGkkACKATS2np0CVgZiv0JlohILFVi273awNKMQ yyMkYOzbDqwIoymGyqGpISRM0iq92eJZZj8UTobsk7ZInZxMdceb9pSX1kU64cSBXTai cBaTRdVdWzMrOF36p/M27wm8Got0Ux6kFitRDLPuKdjNB4fYypKgiGW373afM/or7gGz Q/1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721213851; x=1721818651; 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=anM9EOpDNnsAeOw8+e0Zh8fKDzaQ6DzWrkazNPeEQ8s=; b=DxeoXvpO7yFI0cUIVCy5dq1bV4jsMBj7XE45ocWizeZug+7PmSwsmlyikR3cwI9UQn kz/j/8Gxvx3OWtVRapQu5rNKgE25LeMOaiBOYvbjbYljw6lhKPuXC2RQCecCmJTv7yrM YAZ0XxoLcONPfiJq7mrDdDu0csEUSyD452Mx+DFpKi/oEIBNd3gCtaTlwL3XydezVPhm xU3D3w0Ccp9BwCiF4WpKNG9XtU2MVSnal2U2FD6EVbcYimEiYmfaQ2m+SYsXSHojP+1q /q8CMY7VSFI8eL5uadSbQkB7iweaaB3sH0VTcyrrc5rP0omXK2NAuDh7eHl+HZoro3l4 s5kw== X-Gm-Message-State: AOJu0Yzu27B3o2bSao/F5K/Unmf2v2rFoKu106siQzHPh1A3e9N8a4uP dz2bJldLa3LTxtZeaVvTBNdc490Nr9NtyWxj9jYn492+sLv1SAPJaH8YKdIHeSVjXcru/QOwJfP LziB+FQ== X-Received: by 2002:a5d:4583:0:b0:368:377a:e8bb with SMTP id ffacd0b85a97d-368377aea6bmr808541f8f.28.1721213851197; Wed, 17 Jul 2024 03:57:31 -0700 (PDT) Received: from localhost.localdomain ([176.187.208.21]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4279f25abf0sm204165295e9.14.2024.07.17.03.57.30 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 17 Jul 2024 03:57:30 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= , Anton Johansson , qemu-riscv@nongnu.org, Paolo Bonzini , =?utf-8?q?Phili?= =?utf-8?q?ppe_Mathieu-Daud=C3=A9?= Subject: [PATCH v4 1/8] semihosting: Include missing 'gdbstub/syscalls.h' header Date: Wed, 17 Jul 2024 12:57:16 +0200 Message-ID: <20240717105723.58965-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240717105723.58965-1-philmd@linaro.org> References: <20240717105723.58965-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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 "semihosting/syscalls.h" requires definitions from "gdbstub/syscalls.h", include it in order to avoid: include/semihosting/syscalls.h:23:38: error: unknown type name 'gdb_syscall_complete_cb' void semihost_sys_open(CPUState *cs, gdb_syscall_complete_cb complete, ^ Signed-off-by: Philippe Mathieu-Daudé --- include/semihosting/syscalls.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/semihosting/syscalls.h b/include/semihosting/syscalls.h index 3a5ec229eb..b5937c619a 100644 --- a/include/semihosting/syscalls.h +++ b/include/semihosting/syscalls.h @@ -9,6 +9,8 @@ #ifndef SEMIHOSTING_SYSCALLS_H #define SEMIHOSTING_SYSCALLS_H +#include "gdbstub/syscalls.h" + /* * Argument loading from the guest is performed by the caller; * results are returned via the 'complete' callback.