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<[email protected]>
Message-Id:<[email protected]>
---
  linux-user/riscv/cpu_loop.c | 5 +++++
  1 file changed, 5 insertions(+)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to