On 2/26/26 2:02 PM, Philippe Mathieu-Daudé wrote:
mtree_print_mr() display addresses using 16 chars on 64-bit
binaries, and 8 chars on 32-bit ones. Some MR / AS don't
always benefit of 16 chars, for example the ISA I/O region
fits in 16 bits, and displaying 12 extra '0' in 64-bit
binaries isn't really a good user experience.
Add an extra @width argument to mtree_print_mr(). Next
commit will make use of it.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
system/memory.c | 48 +++++++++++++++++++++++++++---------------------
1 file changed, 27 insertions(+), 21 deletions(-)
Reviewed-by: Pierrick Bouvier <[email protected]>