Alex Bennée writes:
> +asprintf(&heap_info, "heap: %p -> %p\n", info.heap_base,
> info.heap_limit);
> +__semi_call(SYS_WRITE0, (uintptr_t) heap_info);
> +if (info.heap_base != brk) {
That requires qemu to know a lot about the run-time environment, which
it rarely does in my experien
Query the SYS_HEAPINFO semicall and do some basic verification of the
information via libc calls.
Signed-off-by: Alex Bennée
---
.../multiarch/arm-compat-semi/semihosting.c | 35 ++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/tests/tcg/multiarch/arm-compat-se