From nobody Tue Feb 10 05:46:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.41 as permitted sender) client-ip=209.85.221.41; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f41.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.41 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1632581571; cv=none; d=zohomail.com; s=zohoarc; b=lJG8dEsO2j7Eoz3qEHS/OOjLOtwwoF1it94QNwxcqGSOcfldlOfU9rCbOX9WpF2vnRGS0Drb8/F+ATXT4pybVow9eSodCMciKLYPFMWBUENDfPR/xg//Fnt4dBetrgciU1BBvVqAQAFMfj7U76vMkMDpALhUf0uF/2++BSsQ6jA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632581571; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=esdj4T8w87yQQx5q0gedYQmjf/1Q5yjrjrc7iKp6hio=; b=IQb88rABfOsloqt77r5YsTxNpt9DpCQTltKXJT6uYVjaq6iFsYDoP/NVXaoVDMPXzNg7A4YFHFOCqme1w29ldsgqb59bfVxFl42Ry2cd5jfi7yQuKEYiuXv6v0ppMaRNrf/dbIe4fiS6X0kDlE9V9LnLVI70x+lKAxvrJW53LMs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.41 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mx.zohomail.com with SMTPS id 1632581571737545.2067114113884; Sat, 25 Sep 2021 07:52:51 -0700 (PDT) Received: by mail-wr1-f41.google.com with SMTP id w17so36393660wrv.10 for ; Sat, 25 Sep 2021 07:52:51 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id u25sm13134530wmm.5.2021.09.25.07.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Sep 2021 07:52:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=esdj4T8w87yQQx5q0gedYQmjf/1Q5yjrjrc7iKp6hio=; b=K7jLxmvqCN/iAR6NLt94tpMsCjtkZvoHmGq9pcXL4GqwBoQHtBOQI1FwtJbG30OegV 1xinWCbteDUwK8SgPK7No59Q6v2LuHugRmPs+Zm6y406qZMUS2MSsTNXaWCGB+Sebp7U Oo5+iZg8FIEuCHkKugLO51HwK5n+YjuKEKrT/anJL/7HIMtJTVXtT3h7H4qnl6Z9yYxc TtTPVEhSO1bleiZ3DVKDoXUJkmtKh6kYgn6GonNKy2TGUskEeCf6aJjWEGv7UyUPJmfB AAlH9n1cMXrDUd+3WEQFQaVpBjTycU7WnGxHbpolz82Kl2hlGBj9TdG/ihhbehMgY84b yCZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=esdj4T8w87yQQx5q0gedYQmjf/1Q5yjrjrc7iKp6hio=; b=fuo0kXtAWNRBRhBCHVdBZr2BBMXp0sed12bP5c3898QF0lHkCO1cFo6CnptjGSLGU6 4kXlEvYq9VlqWZAkXHwWwUs1BsKxXWwExvB9pVVs2ci+WTrt2zwo0rtcRn6f6Maa5fMX eMpW4zxE4oSJRmiKV3c61U2hofZ/kWkCkCxWKVy+pjFeDWx9qA5AgHizfTVqV/CSUnrC 0xMuQDHoE8TfU+T0LtWsCN4X8ZpeFgI+V+ZRHqhnRaPFFHZb8XspTMoPAogPPCjs+Fi2 KU5esYpYe7YUwC7oWCr5Zhg4wNE298j9Krd7oJvEck1f2nHdk9ioSx5AbrIq3+azX7I0 ZmsQ== X-Gm-Message-State: AOAM532ph28ctRj7y7T1VtuHJkRhVm1e/HWWbnIcOTXr1FIyEui+LCWt PzhbKPbMohPc3JMsLiqKECg= X-Google-Smtp-Source: ABdhPJy6rXV6+Wx3AZinkQiHkZ25/DaFQLwtVD5S/9zSsTwHY41sBHZUnMmz6j93cw90jyigXPWNeQ== X-Received: by 2002:a5d:4d0d:: with SMTP id z13mr17721352wrt.267.1632581570054; Sat, 25 Sep 2021 07:52:50 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Michael Rolnik Subject: [PATCH v7 19/40] target/avr: Restrict has_work() handler to sysemu Date: Sat, 25 Sep 2021 16:50:57 +0200 Message-Id: <20210925145118.1361230-20-f4bug@amsat.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210925145118.1361230-1-f4bug@amsat.org> References: <20210925145118.1361230-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1632581573443100003 Restrict has_work() to sysemu. Reviewed-by: Richard Henderson Reviewed-by: Michael Rolnik Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/avr/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/avr/cpu.c b/target/avr/cpu.c index 5d70e34dd54..6d51f91ca2c 100644 --- a/target/avr/cpu.c +++ b/target/avr/cpu.c @@ -195,6 +195,7 @@ static const struct SysemuCPUOps avr_sysemu_ops =3D { static const struct TCGCPUOps avr_tcg_ops =3D { .initialize =3D avr_cpu_tcg_init, .synchronize_from_tb =3D avr_cpu_synchronize_from_tb, + .has_work =3D avr_cpu_has_work, .cpu_exec_interrupt =3D avr_cpu_exec_interrupt, .tlb_fill =3D avr_cpu_tlb_fill, .do_interrupt =3D avr_cpu_do_interrupt, @@ -211,7 +212,6 @@ static void avr_cpu_class_init(ObjectClass *oc, void *d= ata) =20 cc->class_by_name =3D avr_cpu_class_by_name; =20 - cc->has_work =3D avr_cpu_has_work; cc->dump_state =3D avr_cpu_dump_state; cc->set_pc =3D avr_cpu_set_pc; cc->memory_rw_debug =3D avr_cpu_memory_rw_debug; --=20 2.31.1