On 10/28/25 19:12, Philippe Mathieu-Daudé wrote:
MemoryRegion::addr is private data of MemoryRegion.
Introduce memory_region_get_address() to get it,
similar to memory_region_set_address() to set it.

Suggested-by: Peter Maydell<[email protected]>
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  include/system/memory.h | 7 +++++++
  system/memory.c         | 5 +++++
  2 files changed, 12 insertions(+)

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

I agree with Thomas that this should come first, and no new uses of mr->addr should be added in the first couple of patches.


r~

Reply via email to