From nobody Sun Feb 8 12:38:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1582441001; cv=none; d=zohomail.com; s=zohoarc; b=F/8feOG1yJbSZnwHiTF6wHIUohOLLdTCe22hsHK3ThedmAAgjeB8b6ryh14AsVTebWLOcKGgx7S+Y+bTxgd31nZ+HFRE5v31+ObRf1m3kS6OhbmGz0mRaRdCJ9OHfiP2A7or7TQGOEM9hRJK3v0b+zv8epjXy+B4YVNRcsawk3U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582441001; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=N7GKbEBjydQWlYJ6LzI0S0EEL161uytFt3p+TWa1lc4=; b=IDdLn+dzhu120oIL0OnAUOGdA2+HHIVwLpW5z0MpNurx7yZjDDOpUpuWO/CSYHovT7OWnAD6aSCy8tmmLpkMbsWiemWdzMZ9aQrlQEJP95vdddKAxTqS00xsWMLTPKKsbLYlKetFnqw/dOvY1YaLXyh4JkaQWonZdf/6VrO60CY= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1582441001930509.54993126918225; Sat, 22 Feb 2020 22:56:41 -0800 (PST) Received: from localhost ([::1]:50086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5lBw-0007mm-VS for importer@patchew.org; Sun, 23 Feb 2020 01:56:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34500) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5l6l-0004K8-3q for qemu-devel@nongnu.org; Sun, 23 Feb 2020 01:51:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5l6j-0004pb-O9 for qemu-devel@nongnu.org; Sun, 23 Feb 2020 01:51:19 -0500 Received: from mail03.asahi-net.or.jp ([202.224.55.15]:47200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j5l6j-0004od-EV for qemu-devel@nongnu.org; Sun, 23 Feb 2020 01:51:17 -0500 Received: from h61-195-96-97.vps.ablenet.jp (h61-195-96-97.ablenetvps.ne.jp [61.195.96.97]) (Authenticated sender: PQ4Y-STU) by mail03.asahi-net.or.jp (Postfix) with ESMTPA id B8E1AE3501; Sun, 23 Feb 2020 15:51:16 +0900 (JST) Received: from yo-satoh-debian.localdomain (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by h61-195-96-97.vps.ablenet.jp (Postfix) with ESMTPSA id 7D26E24008E; Sun, 23 Feb 2020 15:51:16 +0900 (JST) From: Yoshinori Sato To: qemu-devel@nongnu.org Subject: [PATCH v31 19/22] hw/rx: Restrict the RX62N microcontroller to the RX62N CPU core Date: Sun, 23 Feb 2020 15:50:59 +0900 Message-Id: <20200223065102.61652-20-ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200223065102.61652-1-ysato@users.sourceforge.jp> References: <20200223065102.61652-1-ysato@users.sourceforge.jp> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 202.224.55.15 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, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yoshinori Sato Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 While the VIRT machine can use different microcontrollers, the RX62N microcontroller is tied to the RX62N CPU core. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Yoshinori Sato --- hw/rx/rx-virt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/rx/rx-virt.c b/hw/rx/rx-virt.c index b945be9f75..6cf7936201 100644 --- a/hw/rx/rx-virt.c +++ b/hw/rx/rx-virt.c @@ -17,6 +17,7 @@ */ =20 #include "qemu/osdep.h" +#include "qemu/error-report.h" #include "qapi/error.h" #include "qemu-common.h" #include "cpu.h" @@ -56,6 +57,7 @@ static void rx_load_image(RXCPU *cpu, const char *filenam= e, =20 static void rxvirt_init(MachineState *machine) { + MachineClass *mc =3D MACHINE_GET_CLASS(machine); RX62NState *s =3D g_new(RX62NState, 1); MemoryRegion *sysmem =3D get_system_memory(); MemoryRegion *sdram =3D g_new(MemoryRegion, 1); --=20 2.20.1