[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH RESEND v31 19/22] hw/rx: Restrict the RX62N microcontroller to th
From: |
Yoshinori Sato |
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 |
From: Philippe Mathieu-Daudé <address@hidden>
While the VIRT machine can use different microcontrollers,
the RX62N microcontroller is tied to the RX62N CPU core.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Yoshinori Sato <address@hidden>
---
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 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);
--
2.20.1
- [PATCH RESEND v31 00/22] Add RX archtecture support, Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 02/22] qemu/bitops.h: Add extract8 and extract16, Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 01/22] MAINTAINERS: Add RX, Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 03/22] hw/registerfields.h: Add 8bit and 16bit register macros, Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 10/22] target/rx: Use prt_ldmi for XCHG_mr disassembly, Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 08/22] target/rx: Disassemble rx_index_addr into a string, Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 13/22] target/rx: Dump bytes for each insn during disassembly, Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 12/22] target/rx: Collect all bytes during disassembly, Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 19/22] hw/rx: Restrict the RX62N microcontroller to the RX62N CPU core,
Yoshinori Sato <=
- [PATCH RESEND v31 11/22] target/rx: Emit all disassembly in one prt(), Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 09/22] target/rx: Replace operand with prt_ldmi in disassembler, Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 18/22] hw/rx: Honor -accel qtest, Yoshinori Sato, 2020/02/23
- [PATCH RESEND v31 17/22] hw/rx: RX Target hardware definition, Yoshinori Sato, 2020/02/23
- [PATCH v31 23/23] fix warning., Yoshinori Sato, 2020/02/23
- Re: [PATCH v31 23/23] fix warning., Peter Maydell, 2020/02/24