On 1/24/24 17:56, Philippe Mathieu-Daudé wrote:
From: Ilya Leoshkevich<[email protected]>

Currently qemu_target_page_mask() is usable only from the softmmu
code. Make it possible to use it from the *-user code as well.

Make use of it in perf.c.

Signed-off-by: Ilya Leoshkevich<[email protected]>
Message-ID:<[email protected]>
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  accel/tcg/perf.c       |  3 ++-
  system/physmem.c       |  5 -----
  target/target-common.c | 10 ++++++++++
  target/meson.build     |  2 ++
  4 files changed, 14 insertions(+), 6 deletions(-)
  create mode 100644 target/target-common.c

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to