Re: [PATCH v2 04/21] exec: Make cpu_memory_rw_debug() target agnostic

2022-02-05 Thread Richard Henderson
On 2/4/22 06:17, Philippe Mathieu-Daudé wrote: cpu_memory_rw_debug() is declared in "exec/cpu-all.h" which contains target-specific declarations. To be able to use it from target agnostic source, move the declaration to the generic "exec/cpu-common.h" header. Replace the target-specific 'target_

[PATCH v2 04/21] exec: Make cpu_memory_rw_debug() target agnostic

2022-02-03 Thread Philippe Mathieu-Daudé via
cpu_memory_rw_debug() is declared in "exec/cpu-all.h" which contains target-specific declarations. To be able to use it from target agnostic source, move the declaration to the generic "exec/cpu-common.h" header. Replace the target-specific 'target_ulong' type by 'vaddr' which better reflects the