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: 1295378 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=KiaWPAh3; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49SbMk4sHnz9sSJ for ; Fri, 22 May 2020 02:55:14 +1000 (AEST) Received: from localhost ([::1]:45744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jboTP-0008VN-Td for incoming@patchwork.ozlabs.org; Thu, 21 May 2020 12:55:12 -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-Google-Smtp-Source: ABdhPJzY587YpBTuzBXN/9VxCPFM5wS2+T2U3pwnjrFdxWK9VeQGBAXHNnVW6KkmhZtVpWiSeflnJg== 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+incoming=patchwork.ozlabs.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(-) 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;