aboutsummaryrefslogtreecommitdiff
path: root/linux-user/semihost.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2021-01-08 22:42:51 +0000
committerAlex Bennée <alex.bennee@linaro.org>2021-01-18 10:05:06 +0000
commit095f8c029319b79cce487e3b566cd826b93da3e6 (patch)
treea0bd089d43418c1e8802a1db39781842ea36c8ea /linux-user/semihost.c
parent3c37cfe0b1e8a49e6a48c53a4685618a60b981df (diff)
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 'linux-user/semihost.c')
0 files changed, 0 insertions, 0 deletions