From patchwork Thu Sep 21 17:36:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 724814 Delivered-To: patch@linaro.org Received: by 2002:adf:ea87:0:b0:31d:da82:a3b4 with SMTP id s7csp613100wrm; Thu, 21 Sep 2023 10:38:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQB76qHuE5sDWU7XWG20RtZ5lcf1+xjylfo6pbkd4LrQDsnNPK8kXQqXaQbIdz5OlVA3Fj X-Received: by 2002:ac8:67d7:0:b0:417:dd8b:6801 with SMTP id r23-20020ac867d7000000b00417dd8b6801mr3282632qtp.47.1695317891493; Thu, 21 Sep 2023 10:38:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695317891; cv=none; d=google.com; s=arc-20160816; b=05rt1/wYM1Tv/hIX+TK0ZKOxXKaGiQ07Rr/P8yrPSj3Zhc8hlaGOZIgnm5dyENXwZg WMzzi9V65oCIv1wPeNwduOlYqBHkgnMZrea97lkxBFqM1pC4MJbWR8NeT7las16SkFVZ JM2MYaoQRPnaKDbhbHa/3+JLgzwfzeOYU+6vTKJZc5UEDlepi71shS65avyGmO2z3giC kdj1jvVswEQV/qiTOUvstq+2dzyIt2WzJN63bm3vxy0POXXgGI2BDFNvIo73Nsg3nfrU KXTzygOwI13/ByB2REX4SYNq3bSyPLNxfNuZCIlJi/rLidncRchW5wQJZQps56BpVQ7d 8+Yw== 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:to:from :dkim-signature; bh=cjcMhrWP1zUiCzEV4lG0uJngonIBEvy+btrPgJEisu0=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=S4YTOMdvaznT9hVwGa3Zq6tPD7RLmOZZ8XK7nrbHrVcUdPB/rYYUniI/jk2zlVAFoj InaqyafmeZRXYWyn7nF1T03omEtrj+abIkfI7nwMqpjEGVhUud4QJ5SA4jPrvGUYOOiL at2kXd087wTEIZTfP6qldJKXl5Ey5W/Hq1e04K8GrnLfQKTEH5Z1901M93zxRzxZYJ99 MYpROn/IolAlbv2sLVXWwcl3IX/gG5AeP/cbCJBxfZcVPzQsKNJpsK9aM5XbPYsxmGMA 97yM+hJ6lDMYMrYrq32/XiLQgiD4kRX//S43FKD8O+04foEdXT3yftTlABZGPphnenpr j2vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZmT4WFRM; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p12-20020a05622a00cc00b00403f3141703si1204608qtw.619.2023.09.21.10.38.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Sep 2023 10:38:11 -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=ZmT4WFRM; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjNcG-0001z3-H1; Thu, 21 Sep 2023 13:37:28 -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 1qjNcF-0001yo-PP for qemu-devel@nongnu.org; Thu, 21 Sep 2023 13:37:27 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjNcC-0007ec-T6 for qemu-devel@nongnu.org; Thu, 21 Sep 2023 13:37:26 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4050bd2e33aso13258845e9.2 for ; Thu, 21 Sep 2023 10:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695317843; x=1695922643; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=cjcMhrWP1zUiCzEV4lG0uJngonIBEvy+btrPgJEisu0=; b=ZmT4WFRMk7QcaJROC4mRgvp9Uot9EFcCVW51NP03HbpW6QUcQDHsFaMcw0Vp6CC3th WoW2ZOunKQUcyXXGs8G5vWqEwWbBRbpisE/+9dFwc6zwRp376h9Eh2N48b0aG4IynjKN ZhAAqxYI/GDn9CeY6Y1tEcT3mMyZcpMh194BTOVTA//j5R7UGziOaywHYAMafcEv8ebU W+FH+IWH8Lx6gS2Fp0mpVW9QYPJ2qpZTpYTgbpqFf8+WIB4+u8LbWXWdguHRNfOpIos2 nqO0WaWMfHtFoYQtegocMn2kP7jaec/3K2XWsltFmnAWi959++yKO7Sn/woD//OSxswE XuQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695317843; x=1695922643; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cjcMhrWP1zUiCzEV4lG0uJngonIBEvy+btrPgJEisu0=; b=rMXg770+hgEWe5nd+OlfcHBSdtznLav6R9jGp8Ksnl0fsu6VqImQXflUqyw4TyOKg2 Gvwti1KMyCXLF1hj6zUaKzvoE/hXOBE0zSuLW4SK2Ky/HNLIV3ulDre27F2NGXr1qiJq Gbdqe6LocV7p37WErcIuCcWVcO++NS2KZodtnJbwAlf1Ph0kYAPuw9UfWeEr4oFFo3A5 up926mkOHDjDzI2LD3KJKQM/jE3hMa2DTd7ksqrmgw/9+ppiN0j9Gnxfz4Q56D8zdwrH EbRbUk+c7NJIoZdUeNRWHw1BNi+4xEWsOcZt6nffZDT3HDual4k3j6VpAzK0cIRDVrGa Nd+A== X-Gm-Message-State: AOJu0Yxv9i50R28QFhV7mCyrc+k8CzWQE9E2I36oFughCmlw6XFNH2wt K+ftdSSn2DZSerfiFUZfz5ubN6ai9pIxm4tcOzY= X-Received: by 2002:a7b:ca5a:0:b0:402:bda9:74d1 with SMTP id m26-20020a7bca5a000000b00402bda974d1mr5967870wml.8.1695317843084; Thu, 21 Sep 2023 10:37:23 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id m14-20020a7bce0e000000b003feff926fc5sm2464122wmc.17.2023.09.21.10.37.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 10:37:22 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 01/30] target/m68k: Add URL to semihosting spec Date: Thu, 21 Sep 2023 18:36:51 +0100 Message-Id: <20230921173720.3250581-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230921173720.3250581-1-peter.maydell@linaro.org> References: <20230921173720.3250581-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x334.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 The spec for m68k semihosting is documented in the libgloss sources. Add a comment with the URL for it, as we already have for nios2 semihosting. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-id: 20230801154451.3505492-1-peter.maydell@linaro.org --- target/m68k/m68k-semi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/m68k/m68k-semi.c b/target/m68k/m68k-semi.c index 239f6e44e90..80cd8d70dbb 100644 --- a/target/m68k/m68k-semi.c +++ b/target/m68k/m68k-semi.c @@ -15,6 +15,10 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, see . + * + * The semihosting protocol implemented here is described in the + * libgloss sources: + * https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=libgloss/m68k/m68k-semi.txt;hb=HEAD */ #include "qemu/osdep.h"