From patchwork Thu May 21 16:39:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Robert Foley X-Patchwork-Id: 187032 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp1719640ilb; Thu, 21 May 2020 09:54:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJximDmraxq+WNX8goiMs7vEFDQvxFwKtHGEnISh72YSNjPJPbtM53BnS+22CE23sLF8x/1f X-Received: by 2002:a05:6214:8e1:: with SMTP id dr1mr9966206qvb.193.1590080089210; Thu, 21 May 2020 09:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590080089; cv=none; d=google.com; s=arc-20160816; b=E7ynv0Pa+91wxgzBooFOivs3qVqszvIIv476zeUwSIdzGPrVV6M7vmitC2z1R5gxYt ZgkUXra/aY2FfWt43eA700IL++4BLIYf5uRM2S5tF10N7rkoL9WbKb+WIKVLsLK5nMws ttrYX6f+fTJBIWqz7mY9XqZVI4B9onf2rJh2D940NBYb7kLHPFf4zfHNlo7iMSV+KZOy hYlaxzW+2bMXGvl7/B8YiEb+YLlOz653G30JY34GXseUXCr57IyL012cSntuFNYOjOiU vGVcBY+CqIWYdTckcJJ7GfMb3ciihliVDJs6VnFI65iP08d5mDt8v0W3n2Of1maxxGvM adrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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=9s3zaT975n7OFyLauiO739G/mW0fqcwhecj+9+iav3g=; b=gnjvbbIscpS/2zUkI2Bb21824FUNrjf6v1354JHkLNvUa8yGnOtRhWfW+54G9W6Ejp NXiEvy3jOW1fq031tKhW75lO3mPIFmQh1nYlG780YWCgzaaWZDhj/0MxIB4487D0VEm1 R03b1I5bW0U7EHDc4xxlRSWNawdV0vRnDAXbOXwBnc4tHe1m3+r/etl3m6c0tM5GimKC wvddhyysQg9P6lKoPpJs1WmzC7QoEtJwDZx43meXJArTZ8RwWHdrDM8LOVVL4rCAJv4g 9AgUr6LOEOhw81jSOMLQXG/0T2E/LLhIfxEgOd0fRK6KafWOsIAOiECDS5n88xprjNzb I6wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=KiaWPAh3; 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=fail (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 x16si3433405qto.300.2020.05.21.09.54.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 May 2020 09:54:49 -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=fail header.i=@linaro.org header.s=google header.b=KiaWPAh3; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jboT2-0008VN-OQ for patch@linaro.org; Thu, 21 May 2020 12:54:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jboIO-0002ki-3w for qemu-devel@nongnu.org; Thu, 21 May 2020 12:43:48 -0400 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]:42228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jboIN-0006Y8-4B for qemu-devel@nongnu.org; Thu, 21 May 2020 12:43:47 -0400 Received: by mail-qt1-x841.google.com with SMTP id x12so5965725qts.9 for ; Thu, 21 May 2020 09:43:46 -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=9s3zaT975n7OFyLauiO739G/mW0fqcwhecj+9+iav3g=; b=KiaWPAh38N4S3fL3nVjRC77mYVrMao+P5F0G0zi327mlEdTOHRUjDXZS7qaVSyT90N /iFVBezNTO1Vp8SSSzAnk4h7zTn1F4vUznS+U8swpDx1RKmdTf+sL08loxARBlOkMW3z j+C2EYq1+eYdh9D6JXOClchRUrWVWJHSqP/iX1Oafs9VME/DvIzBqhd5LWe9YkVlzK/V xVTaqdUA3QVHL6wgBOS7D42XVrZk+wMC/A8B31hWxG8c0uL2Oe0aYnTW8lxB77tUKZnU g3C8xKYUAB1OqBu1K7SGuayeYpTjbIq+9hu/9E1p0bsPMvVFLwAaRusmXSIuaJ8FeyqV 0exA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9s3zaT975n7OFyLauiO739G/mW0fqcwhecj+9+iav3g=; b=X5iEf2lbl/AlTo7I95S+JZbgSDVEhV8nZ2DtidkbPiTX8i9tsQl8qbJ2qlRvyph2Ry pT40nN65xNLrGGrw3Gy7DTTIwcd1wJCE0bU56OtlWjq/+HKNpnTYPewVVJ/MFMI4++vI +K52jWWNjaoGIwU1TagDw9FcjSfAiHjZn/CNYMF3ADfHhRperf7CBBxVL8sWDgF0kr5z FnSoCsKkZDlKrMg3IvEcqO4tO8ACEA7kO6fVcF9qPibxK3dHM/OwK8gaGg/4mmp2iKCa 8HRQ2VdUV7QxJ1ypKtY/oq2Qu8xCl6iC5r5WweIO3zLdIj99O7kp+RzL8hZROt60RTnm NfEg== X-Gm-Message-State: AOAM530/6nEtesCibHInp6r/OdNkY1BpF2+nf+9tC6+wS1ahkrAXLBlu MFA9Tmq0+VWKAtOfhS4biXd27ql1SjnoVQ== X-Received: by 2002:ac8:699a:: with SMTP id o26mr11128102qtq.92.1590079425655; Thu, 21 May 2020 09:43:45 -0700 (PDT) Received: from Rfoley-MA01.hsd1.ma.comcast.net ([2601:199:4480:60c0:1944:c530:655c:5583]) by smtp.gmail.com with ESMTPSA id x24sm5923829qth.57.2020.05.21.09.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 09:43:44 -0700 (PDT) From: Robert Foley To: qemu-devel@nongnu.org Subject: [PATCH v9 23/74] m68k: convert to cpu_halted Date: Thu, 21 May 2020 12:39:20 -0400 Message-Id: <20200521164011.638-24-robert.foley@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200521164011.638-1-robert.foley@linaro.org> References: <20200521164011.638-1-robert.foley@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::841; envelope-from=robert.foley@linaro.org; helo=mail-qt1-x841.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: richard.henderson@linaro.org, cota@braap.org, alex.bennee@linaro.org, robert.foley@linaro.org, peter.puhov@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Reviewed-by: Richard Henderson Reviewed-by: Laurent Vivier Reviewed-by: Alex Bennée Signed-off-by: Emilio G. Cota Signed-off-by: Robert Foley --- target/m68k/op_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/target/m68k/op_helper.c b/target/m68k/op_helper.c index 202498deb5..4a032a150e 100644 --- a/target/m68k/op_helper.c +++ b/target/m68k/op_helper.c @@ -222,7 +222,7 @@ static void cf_interrupt_all(CPUM68KState *env, int is_hw) do_m68k_semihosting(env, env->dregs[0]); return; } - cs->halted = 1; + cpu_halted_set(cs, 1); cs->exception_index = EXCP_HLT; cpu_loop_exit(cs); return;