qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPIN


From: Richard Henderson
Subject: Re: [PATCH v1 3/3] semihosting/arg-compat: fix up handling of SYS_HEAPINFO
Date: Fri, 5 Mar 2021 17:27:37 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/5/21 3:54 PM, Keith Packard via wrote:
I don't know of any implementation in hardware or software that supports
modifying this value. I'm not sure we need to support this in the
semihosting code for qemu as I'm pretty sure getting qemu to support
dynamic XLEN values would be a large project

I think it would be fairly trivial, now. We have riscv_cpu_is_32bit (which checks misa, not xlen, fwiw). It's not examined in cpu_get_tb_cpu_state(), but it is many other places.

(a project which I don't
personally feel would offer much value).

Now that's a different story.  I'll take no position there.

However! We do have a function, that can be made into a TCG hook, which could then be queried by semihosting/.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]