Message ID | 20200223132750.69480-20-ysato@users.sourceforge.jp (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=KMIu=4L=nongnu.org=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B014E92A for <patchwork-qemu-devel@patchwork.kernel.org>; Sun, 23 Feb 2020 13:36:28 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9111420637 for <patchwork-qemu-devel@patchwork.kernel.org>; Sun, 23 Feb 2020 13:36:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9111420637 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:53010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1j5rQp-0003z6-Oi for patchwork-qemu-devel@patchwork.kernel.org; Sun, 23 Feb 2020 08:36:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41777) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ysato@users.sourceforge.jp>) id 1j5rIj-00008l-1s for qemu-devel@nongnu.org; Sun, 23 Feb 2020 08:28:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ysato@users.sourceforge.jp>) id 1j5rIh-0003x7-La for qemu-devel@nongnu.org; Sun, 23 Feb 2020 08:28:04 -0500 Received: from mail01.asahi-net.or.jp ([202.224.55.13]:33336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ysato@users.sourceforge.jp>) id 1j5rIh-0003w1-BG for qemu-devel@nongnu.org; Sun, 23 Feb 2020 08:28:03 -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 mail01.asahi-net.or.jp (Postfix) with ESMTPA id 8B55A51366; Sun, 23 Feb 2020 22:28:02 +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 520B724008F; Sun, 23 Feb 2020 22:28:02 +0900 (JST) From: Yoshinori Sato <ysato@users.sourceforge.jp> To: qemu-devel@nongnu.org Subject: [PATCH RESEND v31 19/22] hw/rx: Restrict the RX62N microcontroller to the RX62N CPU core Date: Sun, 23 Feb 2020 22:27:46 +0900 Message-Id: <20200223132750.69480-20-ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200223132750.69480-1-ysato@users.sourceforge.jp> References: <20200223132750.69480-1-ysato@users.sourceforge.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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.13 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: richard.henderson@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@redhat.com>, Yoshinori Sato <ysato@users.sourceforge.jp> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> |
Series |
Add RX archtecture support
|
expand
|
diff --git a/hw/rx/rx-virt.c b/hw/rx/rx-virt.c index 38c9e55221..c59360408e 100644 --- a/hw/rx/rx-virt.c +++ b/hw/rx/rx-virt.c @@ -17,6 +17,7 @@ */ #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 *filename, static void rxvirt_init(MachineState *machine) { + MachineClass *mc = MACHINE_GET_CLASS(machine); RX62NState *s = g_new(RX62NState, 1); MemoryRegion *sysmem = get_system_memory(); MemoryRegion *sdram = g_new(MemoryRegion, 1);