[PATCH v1 0/3] semihosting/next (move from hw, heapinfo)

Alex Bennée posted 3 patches 3 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210305135451.15427-1-alex.bennee@linaro.org
meson.build                                   |   1 +
include/{hw => }/semihosting/console.h        |   0
include/{hw => }/semihosting/semihost.h       |   0
{hw/semihosting => semihosting}/common-semi.h |   0
tests/tcg/arm/semicall.h                      |   1 +
gdbstub.c                                     |   2 +-
hw/mips/malta.c                               |   2 +-
linux-user/aarch64/cpu_loop.c                 |   2 +-
linux-user/arm/cpu_loop.c                     |   2 +-
linux-user/riscv/cpu_loop.c                   |   2 +-
linux-user/semihost.c                         |   2 +-
.../arm-compat-semi.c                         | 135 ++++++++++--------
{hw/semihosting => semihosting}/config.c      |   2 +-
{hw/semihosting => semihosting}/console.c     |   4 +-
softmmu/vl.c                                  |   2 +-
stubs/semihost.c                              |   2 +-
target/arm/helper.c                           |   4 +-
target/arm/m_helper.c                         |   4 +-
target/arm/translate-a64.c                    |   2 +-
target/arm/translate.c                        |   2 +-
target/lm32/helper.c                          |   2 +-
target/m68k/op_helper.c                       |   2 +-
target/mips/cpu.c                             |   2 +-
target/mips/mips-semi.c                       |   4 +-
target/mips/translate.c                       |   2 +-
target/nios2/helper.c                         |   2 +-
target/riscv/cpu_helper.c                     |   2 +-
target/unicore32/helper.c                     |   2 +-
target/xtensa/translate.c                     |   2 +-
target/xtensa/xtensa-semi.c                   |   2 +-
tests/tcg/arm/semihosting.c                   |  34 ++++-
Kconfig                                       |   1 +
MAINTAINERS                                   |   4 +-
hw/Kconfig                                    |   1 -
hw/meson.build                                |   1 -
{hw/semihosting => semihosting}/Kconfig       |   0
{hw/semihosting => semihosting}/meson.build   |   0
37 files changed, 142 insertions(+), 92 deletions(-)
rename include/{hw => }/semihosting/console.h (100%)
rename include/{hw => }/semihosting/semihost.h (100%)
rename {hw/semihosting => semihosting}/common-semi.h (100%)
rename {hw/semihosting => semihosting}/arm-compat-semi.c (94%)
rename {hw/semihosting => semihosting}/config.c (99%)
rename {hw/semihosting => semihosting}/console.c (98%)
rename {hw/semihosting => semihosting}/Kconfig (100%)
rename {hw/semihosting => semihosting}/meson.build (100%)
[PATCH v1 0/3] semihosting/next (move from hw, heapinfo)
Posted by Alex Bennée 3 years, 1 month ago
Hi,

Not much in this series apart from moving semihosting out of hw (where
it sat a bit weirdly) and an attempt at fixing a bug in the
SYS_HEAPINFO code. It works AFAICT but still seems a little fugly to
me. See:

 - semihosting/arg-compat: fix up handling of SYS_HEAPINFO

Alex Bennée (1):
  semihosting/arg-compat: fix up handling of SYS_HEAPINFO

Philippe Mathieu-Daudé (2):
  semihosting: Move include/hw/semihosting/ -> include/semihosting/
  semihosting: Move hw/semihosting/ -> semihosting/

 meson.build                                   |   1 +
 include/{hw => }/semihosting/console.h        |   0
 include/{hw => }/semihosting/semihost.h       |   0
 {hw/semihosting => semihosting}/common-semi.h |   0
 tests/tcg/arm/semicall.h                      |   1 +
 gdbstub.c                                     |   2 +-
 hw/mips/malta.c                               |   2 +-
 linux-user/aarch64/cpu_loop.c                 |   2 +-
 linux-user/arm/cpu_loop.c                     |   2 +-
 linux-user/riscv/cpu_loop.c                   |   2 +-
 linux-user/semihost.c                         |   2 +-
 .../arm-compat-semi.c                         | 135 ++++++++++--------
 {hw/semihosting => semihosting}/config.c      |   2 +-
 {hw/semihosting => semihosting}/console.c     |   4 +-
 softmmu/vl.c                                  |   2 +-
 stubs/semihost.c                              |   2 +-
 target/arm/helper.c                           |   4 +-
 target/arm/m_helper.c                         |   4 +-
 target/arm/translate-a64.c                    |   2 +-
 target/arm/translate.c                        |   2 +-
 target/lm32/helper.c                          |   2 +-
 target/m68k/op_helper.c                       |   2 +-
 target/mips/cpu.c                             |   2 +-
 target/mips/mips-semi.c                       |   4 +-
 target/mips/translate.c                       |   2 +-
 target/nios2/helper.c                         |   2 +-
 target/riscv/cpu_helper.c                     |   2 +-
 target/unicore32/helper.c                     |   2 +-
 target/xtensa/translate.c                     |   2 +-
 target/xtensa/xtensa-semi.c                   |   2 +-
 tests/tcg/arm/semihosting.c                   |  34 ++++-
 Kconfig                                       |   1 +
 MAINTAINERS                                   |   4 +-
 hw/Kconfig                                    |   1 -
 hw/meson.build                                |   1 -
 {hw/semihosting => semihosting}/Kconfig       |   0
 {hw/semihosting => semihosting}/meson.build   |   0
 37 files changed, 142 insertions(+), 92 deletions(-)
 rename include/{hw => }/semihosting/console.h (100%)
 rename include/{hw => }/semihosting/semihost.h (100%)
 rename {hw/semihosting => semihosting}/common-semi.h (100%)
 rename {hw/semihosting => semihosting}/arm-compat-semi.c (94%)
 rename {hw/semihosting => semihosting}/config.c (99%)
 rename {hw/semihosting => semihosting}/console.c (98%)
 rename {hw/semihosting => semihosting}/Kconfig (100%)
 rename {hw/semihosting => semihosting}/meson.build (100%)

-- 
2.20.1