Re: [PATCH v3 05/49] semihosting: Add target_strlen for softmmu-uaccess.h

2022-05-23 Thread Peter Maydell
On Sat, 21 May 2022 at 05:51, Richard Henderson wrote: > > On 5/20/22 17:03, Richard Henderson wrote: > > Mirror the interface of the user-only function of the same name. > > Use probe_access_flags for the common case of ram, and > > cpu_memory_rw_debug for the uncommon case of mmio. > > > > Signe

Re: [PATCH v3 05/49] semihosting: Add target_strlen for softmmu-uaccess.h

2022-05-20 Thread Richard Henderson
On 5/20/22 17:03, Richard Henderson wrote: Mirror the interface of the user-only function of the same name. Use probe_access_flags for the common case of ram, and cpu_memory_rw_debug for the uncommon case of mmio. Signed-off-by: Richard Henderson --- v3: Use probe_access_flags (pmm) Ho hum.

[PATCH v3 05/49] semihosting: Add target_strlen for softmmu-uaccess.h

2022-05-20 Thread Richard Henderson
Mirror the interface of the user-only function of the same name. Use probe_access_flags for the common case of ram, and cpu_memory_rw_debug for the uncommon case of mmio. Signed-off-by: Richard Henderson --- v3: Use probe_access_flags (pmm) --- include/semihosting/softmmu-uaccess.h | 3 ++ semi