Skip to content

ARM BE8/BE32 big-endian system-mode fixes (semihosting, gdbstub)

Julian Brown qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 8 repliesIn review
  2. v26 patches 13 repliesSuperseded
  3. v15 patches 20 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Add cfgend parameter for ARM CPU selection.hw/arm/integratorcp.c target/arm/cpu.c target/arm/cpu.h+38 -21 reply
2/7Honour reset_sctlr EE/B bits during reset.hw/arm/boot.c+27 -01 reply
3/7Move target_memory_rw_debug function.gdbstub.c include/exec/cpu-all.h+22 -111 reply
4/7ARM big-endian semihosting support.include/exec/softmmu-arm-semi.h target/arm/arm-semi.c target/arm/cpu.c +1 more+163 -21 reply
5/7ARM big-endian system-mode gdbstub support.target/arm/gdbstub.c+42 -01 reply
6/7Fix Thumb-1 BE32 execution and disassembly.disas.c include/disas/bfd.h target/arm/arm_ldst.h +1 more+40 -11 reply
7/7ARM BE32 watchpoint fix.exec.c include/qom/cpu.h qom/cpu.c +3 more+40 -01 reply

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchPeter Maydell
1/7
2/7
3/7R-b
4/7
5/7
6/7R-b
7/7R-b

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/7] ARM BE8/BE32 big-endian system-mode fixes (semihosting, gdbstub)

This is the third iteration of a series of patches to implement semihosting/gdbstub support for big-endian ARM system mode. The previous series started here:

http://lists.nongnu.org/archive/html/qemu-devel/2016-12/msg00972.html

I've (hopefully!) addressed all the comments from the second round of reviews, apologies in advance if I've missed anything.

Thanks,

Julian

Julian Brown (7):
Add cfgend parameter for ARM CPU selection.
Honour reset_sctlr EE/B bits during reset.
Move target_memory_rw_debug function.
ARM big-endian semihosting support.
ARM big-endian system-mode gdbstub support.
Fix Thumb-1 BE32 execution and disassembly.
ARM BE32 watchpoint fix.

 disas.c                         |   1 +
 exec.c                          |   1 +
 gdbstub.c                       |  11 ----
 hw/arm/boot.c                   |  27 +++++++++
 hw/arm/integratorcp.c           |  19 +++++-
 include/disas/bfd.h             |   7 +++
 include/exec/cpu-all.h          |  22 +++++++
 include/exec/softmmu-arm-semi.h | 131 ++++++++++++++++++++++++++++++++++++++++
 include/qom/cpu.h               |   3 +
 qom/cpu.c                       |   6 ++
 target/arm/arm-semi.c           |   4 +-
 target/arm/arm_ldst.h           |  10 ++-
 target/arm/cpu.c                |  64 ++++++++++++++++++++
 target/arm/cpu.h                |  13 ++++
 target/arm/gdbstub.c            |  42 +++++++++++++
 target/arm/internals.h          |   5 ++
 target/arm/op_helper.c          |  22 +++++++
 17 files changed, 372 insertions(+), 16 deletions(-)
 create mode 100644 include/exec/softmmu-arm-semi.h
Signature · 1 line
2.8.1