Message ID | 20220608051945.802339-5-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp5797677max; Tue, 7 Jun 2022 22:28:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznHdJ+NlzhK/A+Afgk1ANCDGjStitcrjxgdDqM+BJvMYGCengae7a7RR5k9tBOwK8N2f0m X-Received: by 2002:a05:622a:178c:b0:304:bd84:3a93 with SMTP id s12-20020a05622a178c00b00304bd843a93mr25675541qtk.612.1654666127493; Tue, 07 Jun 2022 22:28:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654666127; cv=none; d=google.com; s=arc-20160816; b=1B2vF2BwegVGCN0MeXes26oUJtenLIxBOkZFntOBt6HIyPV4tkkWzL6Pi2PMwYh+5g dSzEsOIGtoiajZeS9WSZobTpahHqx6GBJ0vMUpW/zOGiqtLlB95TCDtbiSYqnLUCbdzr 5pRXVpX+aA51jwuLH2VqCBQajbZziHTIZdp41IeO7+OSaGH+6mlFgX214kyA7OVZpcpX UnIt7DfkpoLoQ1tlTPSXt1tZiMBxem/c00tHIbFEupYVPLpx+mmSj8nRiTayABqi6hMe 6qTTl1rkbXxQp3lL7il1xAQDWR+jiNFdbhPcXAtUuyQOIkrxnnPn+D9WNjHMSqj/ypr7 wIxQ== 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=GB8QwFJfH3hlfZTD3yMvfbRrCq2bQTobhy4HeZnGERI=; b=bRyTm09hmqo9MSx48wn0jv4ZQyvKqFf1gm9zUqbw6fUlhoedbhjeprbVBiA4ZFy7Ob R3HPclZIb2x7Ttjpwn4V6eVX8KoRujfqRJmOwCQXskRa+UL3hRY4CQSsZcWjzKDX5QV3 iox6w6YbvA9XHw/w3XySWUOa1IUOlgv0HUisxwmqB1VQmz79rjtG081S7umpBzyLErmE GkUmNgl+lQu4Z7JvaDhQdsYbfQhi9lTovMmQRVgmsH7XgDMIaX16FAuNubrRcXdn7dEP 04QjnGz4xy+VwLsny2uzOrhm+Rcs0mcijbERNybinlcXpukad2q4EdFWz5UZZ406qu6i 7ulA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E2+lQZu4; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y22-20020a05622a005600b00304e67e8191si6746176qtw.354.2022.06.07.22.28.47 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Jun 2022 22:28:47 -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=E2+lQZu4; 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]:45634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1nyoFL-0007N4-3S for patch@linaro.org; Wed, 08 Jun 2022 01:28:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1nyo6m-0006tI-4t for qemu-devel@nongnu.org; Wed, 08 Jun 2022 01:19:56 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:40747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1nyo6k-00022a-27 for qemu-devel@nongnu.org; Wed, 08 Jun 2022 01:19:55 -0400 Received: by mail-pj1-x102f.google.com with SMTP id w13-20020a17090a780d00b001e8961b355dso5605591pjk.5 for <qemu-devel@nongnu.org>; Tue, 07 Jun 2022 22:19:51 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=GB8QwFJfH3hlfZTD3yMvfbRrCq2bQTobhy4HeZnGERI=; b=E2+lQZu4gEeyLpetu/BjgozYH5ryNjR0Ihq6Vj9hx5x7XUPw/hxuP5G6gMJSm/TDXb N5xijYhvxA5/lxNHrjABgY1RKHHR8YMTD7q8YiRF6zGjeL4wlQfL/m/kyoSa+vmor1q1 KSiyYK8Y1E/SrmV07fBYc4mI32GqlqWp0ebrvv9LWZia3P29HsjcXXXHisPqiKhJt0Uo ObZDDfeWD1KylmfX2VoEBMoFTVHaKzUkxp4HtWmLehxetTfkgdqAfufcm/puFhif3N5g mgsvCZLfjl2UKYNCCoZK0tFqnPLfLDWIvqb59O3cPEjDmwR3Dt4kL+o1E5WHgKkv/wEx hZsw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=GB8QwFJfH3hlfZTD3yMvfbRrCq2bQTobhy4HeZnGERI=; b=QhWKKZZXKHe9q6VYJ91hT1bOvjDiLhaQCjmM1ZdaS+TZmvprC8Ittf/6MtmAwpUZFt 0tsv88/fRhb5aucIJ4gjJH92Yy7QrDPwWdJk+CN8vwSs+FBoozr9Yx1dbbNEQBxDUEj0 pRwPquNBIJ5xRd0sLkf1TQuYBBJBzFtismu4bKftOSDqfHruDT9oOL3e6kPvthQuDeFh F31Yu7g5TlPoWvq4Pkt0eXpouOQbNbbqSUstafORhHzLmsdM3PX7CiuNojkXQSc2oVwh JGaR+8I30Lpb3zxYIK6yUrKrk8k9EncCXgN0I4OpRkKwqNSM7JDjjZUUwBI+D0hX8CJT VFTw== X-Gm-Message-State: AOAM532S2wGJzyFvkuEBa4k9bJQoZjx4lKW7lqekfL1S+uvf8Q3saFSu lbFsC56Q9mJwjy7lvpwi8Fvcr3zz+z/+1w== X-Received: by 2002:a17:902:d50f:b0:166:41a8:abf5 with SMTP id b15-20020a170902d50f00b0016641a8abf5mr30945014plg.17.1654665590647; Tue, 07 Jun 2022 22:19:50 -0700 (PDT) Received: from stoup.. ([2602:ae:1547:e101:c626:2f70:ac99:7c97]) by smtp.gmail.com with ESMTPSA id k8-20020a170902d58800b001641244d051sm13378807plh.257.2022.06.07.22.19.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:19:50 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: f4bug@amsat.org Subject: [PATCH v4 04/11] target/mips: Drop link syscall from semihosting Date: Tue, 7 Jun 2022 22:19:38 -0700 Message-Id: <20220608051945.802339-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220608051945.802339-1-richard.henderson@linaro.org> References: <20220608051945.802339-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102f.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, T_SCC_BODY_TEXT_LINE=-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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/mips: semihosting cleanup
|
expand
|
diff --git a/target/mips/tcg/sysemu/mips-semi.c b/target/mips/tcg/sysemu/mips-semi.c index 33221444e1..254c7fad9a 100644 --- a/target/mips/tcg/sysemu/mips-semi.c +++ b/target/mips/tcg/sysemu/mips-semi.c @@ -387,15 +387,6 @@ void mips_semihosting(CPUMIPSState *env) gpr[2] = write_to_file(env, gpr[4], gpr[5], gpr[6], gpr[7]); gpr[3] = errno_mips(errno); break; -#ifndef _WIN32 - case UHI_link: - GET_TARGET_STRINGS_2(p, gpr[4], p2, gpr[5]); - gpr[2] = link(p, p2); - gpr[3] = errno_mips(errno); - FREE_TARGET_STRING(p2, gpr[5]); - FREE_TARGET_STRING(p, gpr[4]); - break; -#endif default: error_report("Unknown UHI operation %d", op); abort();
We don't implement it with _WIN32 hosts, and the syscall is missing from the gdb remote file i/o interface. Since we can't implement it universally, drop it. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/mips/tcg/sysemu/mips-semi.c | 9 --------- 1 file changed, 9 deletions(-)