On 5/15/26 05:57, Peter Maydell wrote:
The get_phys_addr_attrs_debug method of SysemuCPUOps is used only by
x86 and microblaze.  Convert x86 to the newer translate_for_debug
method, as a step towards being able to remove
get_phys_addr_attrs_debug.

The new API allows us to tell the caller the actual size of the
mapping via lg_page_size, so we do that, although no caller will care
since it's always at least TARGET_PAGE_BITS.

Signed-off-by: Peter Maydell<[email protected]>
---
  target/i386/cpu.c           |  2 +-
  target/i386/cpu.h           |  4 ++--
  target/i386/helper.c        | 31 +++++++++++++++++--------------
  target/i386/whpx/whpx-all.c |  2 +-
  4 files changed, 21 insertions(+), 18 deletions(-)

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

r~

Reply via email to