diff options
author | Keith Packard | 2021-01-08 23:42:51 +0100 |
---|---|---|
committer | Alex Bennée | 2021-01-18 11:05:06 +0100 |
commit | 095f8c029319b79cce487e3b566cd826b93da3e6 (patch) | |
tree | a0bd089d43418c1e8802a1db39781842ea36c8ea /default-configs/targets | |
parent | semihosting: Change internal common-semi interfaces to use CPUState * (diff) | |
download | qemu-095f8c029319b79cce487e3b566cd826b93da3e6.tar.gz qemu-095f8c029319b79cce487e3b566cd826b93da3e6.tar.xz qemu-095f8c029319b79cce487e3b566cd826b93da3e6.zip |
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>
Diffstat (limited to 'default-configs/targets')
0 files changed, 0 insertions, 0 deletions