[PATCH v4 0/2] semihosting/next (SYS_HEAPINFO)

Alex Bennée posted 2 patches 2 years, 10 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210623134756.30930-1-alex.bennee@linaro.org
There is a newer version of this series
include/hw/loader.h                 |  16 ++++
hw/core/loader.c                    |  74 ++++++++++++++++
semihosting/arm-compat-semi.c       | 129 +++++++++++++++-------------
tests/tcg/aarch64/system/semiheap.c |  74 ++++++++++++++++
4 files changed, 232 insertions(+), 61 deletions(-)
create mode 100644 tests/tcg/aarch64/system/semiheap.c
[PATCH v4 0/2] semihosting/next (SYS_HEAPINFO)
Posted by Alex Bennée 2 years, 10 months ago
Hi Peter,

This is v4 of the semihosting changes with your proposed algorithm for
finding the largest gap in the various loaded ROMS. The included test
is fairly simple but I also did a bit of manual testing with
guest-loader and loader stanzas and it seemed to do the right thing. I
think this is ready if you are happy with it.

Currently all patches need fresh review and testing given the change
from the originally very simple implementation I proposed on v1 ;-)

Alex Bennée (2):
  semihosting/arm-compat: replace heuristic for softmmu SYS_HEAPINFO
  tests/tcg: port SYS_HEAPINFO to a system test

 include/hw/loader.h                 |  16 ++++
 hw/core/loader.c                    |  74 ++++++++++++++++
 semihosting/arm-compat-semi.c       | 129 +++++++++++++++-------------
 tests/tcg/aarch64/system/semiheap.c |  74 ++++++++++++++++
 4 files changed, 232 insertions(+), 61 deletions(-)
 create mode 100644 tests/tcg/aarch64/system/semiheap.c

-- 
2.20.1