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_ulong' type by 'vaddr'
which better reflects the argument type, and is target agnostic.

Suggested-by: Richard Henderson<richard.hender...@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé<f4...@amsat.org>
---
  cpu.c                     | 6 +++---
  include/exec/cpu-all.h    | 4 ----
  include/exec/cpu-common.h | 4 ++++
  softmmu/cpus.c            | 2 +-
  softmmu/physmem.c         | 6 +++---
  5 files changed, 11 insertions(+), 11 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to