On 7/31/25 4:13 PM, Richard Henderson wrote:
On 7/31/25 08:06, Pierrick Bouvier wrote:
We replace target_ulong mechanically by uint64_t.
We can't compile (easily) this code once for user, as it relies on
various target/function types, so leave it in specific_ss for user mode.

Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>
---
   include/semihosting/syscalls.h | 29 ++++++-----
   semihosting/arm-compat-semi.c  |  1 +
   semihosting/syscalls.c         | 89 +++++++++++++++++-----------------
   semihosting/meson.build        |  4 +-
   4 files changed, 62 insertions(+), 61 deletions(-)

We can at least use vaddr for the pointers, like fname.

I see syscalls.c already uses uint64_t in many of those places, but that can be 
a separate
cleanup -- we don't need to add more.


I preferred to do a mechanical change, given where it's used. Anyway, I'll replace that using vaddr where appropriate.


r~


Reply via email to