From patchwork Thu Feb 16 17:11:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 654066 Delivered-To: patch@linaro.org Received: by 2002:adf:9bcd:0:0:0:0:0 with SMTP id e13csp86563wrc; Thu, 16 Feb 2023 09:15:41 -0800 (PST) X-Google-Smtp-Source: AK7set9IE+OYbcboU+OsRktpMZQSwESoMaRC9sOjwm7r1uatpWYePczcnIveD6CvjQ3FaUrtgjg7 X-Received: by 2002:a05:622a:311:b0:3b9:a441:37ed with SMTP id q17-20020a05622a031100b003b9a44137edmr10845721qtw.32.1676567741104; Thu, 16 Feb 2023 09:15:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676567741; cv=none; d=google.com; s=arc-20160816; b=PHRwKFWQ+UoYJ7FfUcS0Ez507JwMXEJZ2Eh62zQebUHRPfbYzVE9Ps226Dfq0dB+Y2 vkUItJ+w9L3Zm9ReXTcW2oVF+z1ZO7KAUIDtxUyNzl2+yE4pbtLrBITdhud9+Wi2DP7+ Y+J4pKbsgBKZ917A/c8NvDnrIxy43vYT/6WuM7Sg+sU72D3uTN3cuLKuX4E6X43K26AC EppWHghNr/OHW766be2YaEGhJfyNQSl4vki/DssLQsr+Rbt0LqwofqueLDJly5EdVUY8 fBaj3yRWxS+w7sEdaUy1KG/LMvgG70VEGpWiErBYOYmb4Wve2jrRFPA7xtUlF3LX30Ao vkiQ== 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=RdFlF/b3VYR2fecwChpgN5HOR7iNVGAod5mHzESL9uI=; b=aoodgLxJCDTy7ui1Jr2q5077bHKvlTWyOwNJQOXEdJ1MJ2KtfyWmTpQRMDO2Bwg4u2 Jm9chaEAMgwXjnqzWXoJPJe6IONbkC0ZIbShilmImUjSCoA6H6HMq2zfEofejg4+xB4i /35XIzYkreXAa5RokSpYEDPKicm2rAT1zl3yJf19uEW3Gu0Nys/+9fiFRuAKPaL2fqgT ulHRO+aj5ow3KnzH3iTPj0w+e+k8wT96T99aIZaj2CkGnaR8z0pb68MjHLHyGVsOWyy+ oDwmj3vF1BI7S3HFxuIrafK6FrMj9DKHqmfVl1eb8Ew3cF3krKlRs9Cs4ZgR6pw4FQxB x1Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=znvZml3Z; 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 g10-20020ac8580a000000b003b9a45f6bbbsi1916051qtg.755.2023.02.16.09.15.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Feb 2023 09:15:41 -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=znvZml3Z; 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 1pShnP-000095-TV; Thu, 16 Feb 2023 12:11: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 1pShnO-0008Sv-Ag for qemu-devel@nongnu.org; Thu, 16 Feb 2023 12:11:46 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pShnM-0007wh-Lh for qemu-devel@nongnu.org; Thu, 16 Feb 2023 12:11:45 -0500 Received: by mail-wr1-x429.google.com with SMTP id bk16so2510469wrb.11 for ; Thu, 16 Feb 2023 09:11:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=RdFlF/b3VYR2fecwChpgN5HOR7iNVGAod5mHzESL9uI=; b=znvZml3ZjylSoN2v8dvO4Z/GkBv12CdVnUKtc5oZbcxyDATpA4eQZLXMydqOyKo5X/ VU/Pgm34HSphHIb/zrgCyvk12HSm+osqNVheBCNqXE9Z3bqdS+8+1CfrGgzV87tPvSCH GgthlS+n9xOZNXUVfOpjnZveBp7qb8nhttzn8ooAw8+03wrOFSl87McXki1SdBZJPjEG 3ZPMOAcdb6+z0mz+Dn5wdATsAGSb1D4Q6eBFGjG1kk/dt7j587ayXTXBJiOvmp87TOpm sAD+0f7/aZC7hmO7oIuhGA4OqpRfdoKn7LJl8q1joUeN2jxF922m4nnMAIwHLOFITHlU LKKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=RdFlF/b3VYR2fecwChpgN5HOR7iNVGAod5mHzESL9uI=; b=wW2lb16x6Az2x1ceoclSSpczF2r9wOUtDAbxbPoY0tT076lKJPfcQ0A5PkTB3m5AgC 8xlPw+p0L20qeR5g067qIJBh0jZTDXSnQgBkhLCXjlG7gJgRL394Nqa6AeAE/yRxEuo2 S3WQFNcnPhgTKbyDujnBjO9ga2bOnsmFiFDXyytCa3KydHOBE5PS5fdBm2rp/8Fh1SsJ ieuAOaPs9KDJE36I1YIlYYOnlrCIZ1I9XJEWXxcccITsVwfLBRBWmey5Qegyz/HMYsLv wfJ/9uUM8X3buLPib2LtOpS8rbl+2cuA8frnA63+7q4WySRMBoVV73XOi8P7Q116zxgM /KJQ== X-Gm-Message-State: AO0yUKXE5X+Aui5fUHiCWZfOtYv0f5RUTZWa5y13MS2rK8hasgP8DPDJ mPal1heRqwMxVfWspU70rCby2fSdxzo+cXaX X-Received: by 2002:adf:e64e:0:b0:2c5:5847:7374 with SMTP id b14-20020adfe64e000000b002c558477374mr5619107wrn.67.1676567503412; Thu, 16 Feb 2023 09:11:43 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id f12-20020a5d4dcc000000b002c556a4f1casm2049107wru.42.2023.02.16.09.11.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 09:11:42 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 21/30] target/arm: rename handle_semihosting to tcg_handle_semihosting Date: Thu, 16 Feb 2023 17:11:14 +0000 Message-Id: <20230216171123.2518285-22-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230216171123.2518285-1-peter.maydell@linaro.org> References: <20230216171123.2518285-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x429.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 From: Claudio Fontana make it clearer from the name that this is a tcg-only function. Signed-off-by: Claudio Fontana Signed-off-by: Fabiano Rosas Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Peter Maydell --- target/arm/helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/arm/helper.c b/target/arm/helper.c index 22670c20c00..509e674b0f0 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -11014,7 +11014,7 @@ static void arm_cpu_do_interrupt_aarch64(CPUState *cs) * trapped to the hypervisor in KVM. */ #ifdef CONFIG_TCG -static void handle_semihosting(CPUState *cs) +static void tcg_handle_semihosting(CPUState *cs) { ARMCPU *cpu = ARM_CPU(cs); CPUARMState *env = &cpu->env; @@ -11076,7 +11076,7 @@ void arm_cpu_do_interrupt(CPUState *cs) */ #ifdef CONFIG_TCG if (cs->exception_index == EXCP_SEMIHOST) { - handle_semihosting(cs); + tcg_handle_semihosting(cs); return; } #endif