On 3/20/21 7:37 AM, Alex Bennée wrote:
Arguably the target_cpu_copy_regs function for each architecture is
misnamed as a number of the architectures also take the opportunity to
fill out the TaskState structure. This could arguably be factored out
into common code but that would require a wider audit of the
architectures. For now just replicate for riscv so we can correctly
report semihosting information for SYS_HEAPINFO.
Signed-off-by: Alex Bennée<alex.ben...@linaro.org>
Message-Id:<20210312102029.17017-5-alex.ben...@linaro.org>
---
linux-user/riscv/cpu_loop.c | 5 +++++
1 file changed, 5 insertions(+)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~