mbox series

[PATCH-for-5.2,0/3] hw/misc/unimp: Improve how offset/value are displayed

Message ID 20200807143705.30066-1-f4bug@amsat.org (mailing list archive)
Headers show
Series hw/misc/unimp: Improve how offset/value are displayed | expand

Message

Philippe Mathieu-Daudé Aug. 7, 2020, 2:37 p.m. UTC
This series aims to ease looking at the '-d unimp' output reported
by the UnimplementedDevice.

- read/write accesses are now aligned
- the value format width uses the access size
- the offset (address) uses the size of the memory region it belongs

Philippe Mathieu-Daudé (3):
  hw/misc/unimp: Display value after offset
  hw/misc/unimp: Display the value with width of the access size
  hw/misc/unimp: Display the offset with width of the region size

 include/hw/misc/unimp.h |  1 +
 hw/misc/unimp.c         | 14 ++++++++------
 2 files changed, 9 insertions(+), 6 deletions(-)