qemu/hw/semihosting
Keith Packard 095f8c0293 semihosting: Support SYS_HEAPINFO when env->boot_info is not set
env->boot_info is only set in some ARM startup paths, so we cannot
rely on it to support the SYS_HEAPINFO semihosting function. When not
available, fallback to finding a RAM memory region containing the
current stack and use the base of that.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210107170717.2098982-5-keithp@keithp.com>
Message-Id: <20210108224256.2321-16-alex.bennee@linaro.org>
2021-01-18 10:05:06 +00:00
..
arm-compat-semi.c semihosting: Support SYS_HEAPINFO when env->boot_info is not set 2021-01-18 10:05:06 +00:00
common-semi.h semihosting: Change common-semi API to be architecture-independent 2021-01-18 10:05:06 +00:00
config.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
console.c semihosting: don't send the trailing '\0' 2020-07-27 09:40:08 +01:00
Kconfig semihosting: Move ARM semihosting code to shared directories 2021-01-18 10:05:06 +00:00
meson.build semihosting: Move ARM semihosting code to shared directories 2021-01-18 10:05:06 +00:00