Skip to content

Add RX hardware emulation

Yoshinori Sato qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10hw/intc: RX62N interrupt controller (ICUa)hw/intc/Makefile.objs hw/intc/rx_icu.c include/hw/intc/rx_icu.h+436 -01 reply
2/10hw/timer: Renesas 8bit timer module.hw/timer/Kconfig hw/timer/Makefile.objs hw/timer/renesas_8timer.c +1 more+532 -00 replies
3/10hw/timer: Renesas TMU/CMT module.hw/timer/Kconfig hw/timer/Makefile.objs hw/timer/renesas_timer.c +1 more+484 -00 replies
4/10hw/char: Renesas SCI module.hw/char/Kconfig hw/char/Makefile.objs hw/char/renesas_sci.c +1 more+868 -11 reply
5/10hw/rx: RX MCU and targethw/rx/Kconfig hw/rx/Makefile.objs hw/rx/rx-virt.c +3 more+496 -01 reply
6/10Add rx-softmmudefault-configs/rx-softmmu.mak hw/Kconfig+2 -00 replies
7/10hw/sh4: Convert renesas_sci.hw/sh4/Kconfig hw/sh4/sh7750.c include/hw/sh4/sh.h+42 -150 replies
8/10hw/char: remove sh_serial.chw/char/sh_serial.c+0 -4310 replies
9/10hw/sh4: Convert to renesas_timer.chw/sh4/Kconfig hw/sh4/sh7750.c hw/timer/Makefile.objs +1 more+38 -220 replies
10/10hw/timer: remove sh_timer.chw/timer/sh_timer.c+0 -3410 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/10
2/10
3/10
4/10
5/10
6/10T-b R-b
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] Add RX hardware emulation

Hello.

This series add to hardware emulation module for RX target.

Details below.
Interrupt controller, 8bit timer, 16bit comapare match timer and SCI is RX62N integrated peripheral.
rx-virt - RX62N MCU and external RAM. It like gdb simulator.

The compare match timer has a CPU interface similar to the SH4 timer. sh_timer will be deprecated and integrated into this module. SCI is also implemented in sh_serial, but the functionality is omitted. I implemented the complete one as renesas_sci.

git repository here.
git://git.pf.osdn.net/gitroot/y/ys/ysato/qemu.git tags/hw-rx-20200601

Yoshinori Sato (10):
hw/intc: RX62N interrupt controller (ICUa)
hw/timer: Renesas 8bit timer module.
hw/timer: Renesas TMU/CMT module.
hw/char: Renesas SCI module.
hw/rx: RX MCU and target
Add rx-softmmu
hw/sh4: Convert renesas_sci.
hw/char: remove sh_serial.c
hw/sh4: Convert to renesas_timer.c
hw/timer: remove sh_timer.c

 default-configs/rx-softmmu.mak    |   1 +
 include/hw/char/renesas_sci.h     |  77 +++
 include/hw/intc/rx_icu.h          |  56 +++
 include/hw/rx/rx.h                |   7 +
 include/hw/rx/rx62n.h             |  91 ++++
 include/hw/sh4/sh.h               |  21 -
 include/hw/timer/renesas_8timer.h |  61 +++
 include/hw/timer/renesas_timer.h  |  59 +++
 hw/char/renesas_sci.c             | 786 ++++++++++++++++++++++++++++++
 hw/char/sh_serial.c               | 431 ----------------
 hw/intc/rx_icu.c                  | 379 ++++++++++++++
 hw/rx/rx-virt.c                   | 143 ++++++
 hw/rx/rx62n.c                     | 240 +++++++++
 hw/sh4/sh7750.c                   |  78 ++-
 hw/timer/renesas_8timer.c         | 466 ++++++++++++++++++
 hw/timer/renesas_timer.c          | 421 ++++++++++++++++
 hw/timer/sh_timer.c               | 341 -------------
 hw/Kconfig                        |   1 +
 hw/char/Kconfig                   |   3 +
 hw/char/Makefile.objs             |   3 +-
 hw/intc/Makefile.objs             |   1 +
 hw/rx/Kconfig                     |  13 +
 hw/rx/Makefile.objs               |   2 +
 hw/sh4/Kconfig                    |   3 +-
 hw/timer/Kconfig                  |   6 +
 hw/timer/Makefile.objs            |   4 +-
 26 files changed, 2891 insertions(+), 803 deletions(-)
 create mode 100644 include/hw/char/renesas_sci.h
 create mode 100644 include/hw/intc/rx_icu.h
 create mode 100644 include/hw/rx/rx.h
 create mode 100644 include/hw/rx/rx62n.h
 create mode 100644 include/hw/timer/renesas_8timer.h
 create mode 100644 include/hw/timer/renesas_timer.h
 create mode 100644 hw/char/renesas_sci.c
 delete mode 100644 hw/char/sh_serial.c
 create mode 100644 hw/intc/rx_icu.c
 create mode 100644 hw/rx/rx-virt.c
 create mode 100644 hw/rx/rx62n.c
 create mode 100644 hw/timer/renesas_8timer.c
 create mode 100644 hw/timer/renesas_timer.c
 delete mode 100644 hw/timer/sh_timer.c
 create mode 100644 hw/rx/Kconfig
 create mode 100644 hw/rx/Makefile.objs
Signature · 1 line
2.20.1