From patchwork Tue Jun 7 22:26:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 579448 Delivered-To: patch@linaro.org Received: by 2002:a5d:6706:0:0:0:0:0 with SMTP id o6csp3760752wru; Tue, 7 Jun 2022 16:32:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0wjyNCPj+LMuz6id6csQ4zPeOmcYqNaBFtJS/MNnsFnsy50hPhZXKHpAOmDi3fvK2nwM/ X-Received: by 2002:a05:620a:2892:b0:6a6:3e04:bfdf with SMTP id j18-20020a05620a289200b006a63e04bfdfmr20932589qkp.653.1654644722370; Tue, 07 Jun 2022 16:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654644722; cv=none; d=google.com; s=arc-20160816; b=VwgPnpQ/87AKdmrfwSlbBsTIQxciNGwPCZIb0JJAVE12HDYZUxGxuKEcYeqbVUlPIm DmV7GkQv3u52AQKD8zYmnMfjGIkOlrm+k678zAIeEYTpWY4HYpyfh+SQdkeotrZqcKJU 8sGXOHCVc7y8Kr87sEHb65n4CdEcQ+APYTm93O+PK3OplwhKH5mkJ+EPTPDn9GDyqXnm OJT7iTJXhfuF6JmaYxcNhiz33iZadMWvFauv0eFF8lV9/0S75JmpmvkXYZWJwMgCjhdR LiTEjAh1NP1820WN3aiMu4Al6FQhw9GNcllaL7xmBzhdQIh84kmdKpcP3qpUOVohghLP KufA== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=7rtDAhCLf9N87R4+LTH6i5sFHnNG85TAi8iRmZuIwB0=; b=N4gCLp6RK3hAdfkkBHZNLYEQbuTFNaPBIhMV5J91m36Jbev5nAKtWs3CMIGG33ImuF BIqVNLnCX7YO86M3TK/vsBNy3RnqSJDz+5D1Yqpy3cMcsVSxqmigNidfzPNWAXQQwZzL lI2gWUf1k7vCZonQaNIWuOo/lLRWJktgLuplJ4wM3paIhSOgThMvHUENH/DmSZRFeiCb q4btkptJpq/dUdKSv0o/oyXfgh9yUgywuQ6RVZ+RzSPE7TsVmAb++dy3uP5pYIM3yME8 W2oR1kkKlocHHoFuffx0RpFZYlW+0K9XlIlBLgWsKP0KxzMZ/11CrxA/zx9EGa9FQyG+ cDsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FNMDITtC; 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 gw2-20020a0562140f0200b00468cbabdcfesi6842946qvb.451.2022.06.07.16.32.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Jun 2022 16:32:02 -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=FNMDITtC; 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]:47134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyig5-0001TU-Pr for patch@linaro.org; Tue, 07 Jun 2022 19:32:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyheb-0005WH-28 for qemu-devel@nongnu.org; Tue, 07 Jun 2022 18:26:25 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:55856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyheW-0007vG-4T for qemu-devel@nongnu.org; Tue, 07 Jun 2022 18:26:24 -0400 Received: by mail-pj1-x1034.google.com with SMTP id e9so6356864pju.5 for ; Tue, 07 Jun 2022 15:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7rtDAhCLf9N87R4+LTH6i5sFHnNG85TAi8iRmZuIwB0=; b=FNMDITtCpwl0Kk/3QvIPDbbZKWI2XXJ4TsOjgeTfPAhGCU3aUyIqUIG5Cq9vXIsr73 qBQ7QcYkjgIW28fU3jbYYmjTgLepiL83Qt3GxsjwBiuUXC34cIMlvzCR9zCjRcIHiK2X rS89/vrJ4bhsMunaBaEPCify2vEQ62G4Yb3SPEGpnjO59grxYHAeHYBQaE3ytE0HTbv/ nDa8XqLTEuyhs+lhbOXX6peC8Dsi8Fjwk+xwX1Vy+mccGRDFII1psRtOKn5lcyWcrVCd OeeBvXLpfN0FvdZ9n1OAVXHPiSXlRKeCzqlYQnxvRKv4s/NswSD1g2fsZngKcroSARe9 U74A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7rtDAhCLf9N87R4+LTH6i5sFHnNG85TAi8iRmZuIwB0=; b=2FV0tvVCix8zDu1MZbdidQRBx8S2mefDQQC3Lg18xqgg1md7B0j8nmq6RRxVufiYG4 b8OLifv1wOIDn0NYWhnQVjpDeIdIOXI+HTpjvzVc/l5oThD9Ysc8UBpnh//khzBpL3Wm 2NkF2wanTk/LxaaV3oCanZCWi2tpjKqyDRlC3VbfhgMoj06TvpRwnOXKZI3yaScvCBL1 7E/Ar6bZcuaUHN2+w4L0EZMetXO/Nu2pw0wgUX01SOpbHJhtH59d0q0Vh/lm3wNGuRAB y5zXCFEZ06AplcB1vgcI6gKWmVH4EHYhdZOgM5IaL8PWLzeqSpLZbeeLhcpJJa+Pcix5 DzMw== X-Gm-Message-State: AOAM530bigHk9CeP/qNgVsCRNdX0pvoXILn730TQNkFemKPeXLiqw9b1 q3jmjo+FqilbgekcBfR1iNFScFobJiYyQg== X-Received: by 2002:a17:902:7282:b0:164:17f6:e36a with SMTP id d2-20020a170902728200b0016417f6e36amr30395419pll.139.1654640778116; Tue, 07 Jun 2022 15:26:18 -0700 (PDT) Received: from stoup.. ([2602:ae:1547:e101:3cf2:c634:5b19:25f6]) by smtp.gmail.com with ESMTPSA id e19-20020a17090ae4d300b001e2fade86c1sm15112133pju.2.2022.06.07.15.26.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 15:26:17 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: laurent@vivier.eu Subject: [PATCH v4 0/3] target/m68k: semihosting cleanup Date: Tue, 7 Jun 2022 15:26:13 -0700 Message-Id: <20220607222616.717435-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1034.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_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 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" Based-on: <20220607204557.658541-1-richard.henderson@linaro.org> ("[PATCH v4 00/53] semihosting cleanup") Changes for v4: * Split out of v2. * Convert host errno to gdb errno, which for m68k is guest errno. r~ Richard Henderson (3): target/m68k: Eliminate m68k_semi_is_fseek target/m68k: Make semihosting system only target/m68k: Use semihosting/syscalls.h linux-user/m68k/cpu_loop.c | 5 - target/m68k/m68k-semi.c | 375 +++++++++---------------------------- target/m68k/meson.build | 6 +- 3 files changed, 92 insertions(+), 294 deletions(-)