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

Philippe Mathieu-Daudé posted 3 patches 3 years, 8 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200807143705.30066-1-f4bug@amsat.org
There is a newer version of this series
include/hw/misc/unimp.h |  1 +
hw/misc/unimp.c         | 14 ++++++++------
2 files changed, 9 insertions(+), 6 deletions(-)
[PATCH-for-5.2 0/3] hw/misc/unimp: Improve how offset/value are displayed
Posted by Philippe Mathieu-Daudé 3 years, 8 months ago
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(-)

-- 
2.21.3