Renesas RX target fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hw/rx: Allow execution without either bios or kernelhw/ | +0 | 1 reply | |
| 2/5 | target/rx: Set exception vector base to 0xffffff80target/ | +1 | 1 reply | |
| 3/5 | target/rx: Reset the CPU at qemu reset timetarget/ | +10 | 3 replies | |
| 4/5 | target/rx: Load reset vector from memory after first runtarget/ | +19 | 5 replies | |
| 5/5 | target/rx: Remove TCG_CALL_NO_WG from helpers which write envtarget/ | +7 | 3 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Richard Henderson | Peter Maydell |
|---|---|---|
| Series | R-b R-b | |
| 1/5 | R-b | |
| 2/5 | ||
| 3/5 | ||
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Renesas RX target fixes
I'm getting a Renesas toolchain working and found a couple of bugs and a few fixes in the qemu target code for this device.
The two critical bugs which are fixed:
1. Exception vector base address is incorrect. The
right value is 0xffffff80.
2. A bunch of opcode helper functions are incorrectly labeled as TCG_CALL_NO_WG. These helpers read and write virtual registers out of the global environment and so must not be marked with this flag.
The other changes included are sufficient to use qemu without needing to start gdb as well, starting the machine using the reset vector found in the exception table and then re-loading that vector during subsequent reset operations.
With these fixes, the picolibc CI tests are now passing.
Keith Packard (5):
hw/rx: Allow execution without either bios or kernel target/rx: Set exception vector base to 0xffffff80 target/rx: Reset the CPU at qemu reset time target/rx: Load reset vector from memory after first run target/rx: Remove TCG_CALL_NO_WG from helpers which write env
hw/rx/rx-gdbsim.c | 3 --- target/rx/cpu.c | 35 +++++++++++++++++++++++++++++------ target/rx/helper.c | 2 +- target/rx/helper.h | 14 +++++++------- 4 files changed, 37 insertions(+), 17 deletions(-)
Signature · 1 line
2.47.2