diff options
| author | Keith Packard <keithp@keithp.com> | 2021-01-08 22:42:51 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2021-01-18 10:05:06 +0000 |
| commit | 095f8c029319b79cce487e3b566cd826b93da3e6 (patch) | |
| tree | a0bd089d43418c1e8802a1db39781842ea36c8ea /util/qemu-timer-common.c | |
| parent | 3c37cfe0b1e8a49e6a48c53a4685618a60b981df (diff) | |
| download | focaccia-qemu-095f8c029319b79cce487e3b566cd826b93da3e6.tar.gz focaccia-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 'util/qemu-timer-common.c')
0 files changed, 0 insertions, 0 deletions