hw/misc/unimp: Display the offset with width of the region size
commit55d35c881924ce5a8ce410210865e47553762847
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 28 Aug 2020 09:02:46 +0000 (28 10:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Aug 2020 09:02:46 +0000 (28 10:02 +0100)
treebadf2043f16c61963a61ac5c7e69b9ddbf16c6c2
parenta12b4c53cbf4d5e75f0e88d624c196d8b71256f4
hw/misc/unimp: Display the offset with width of the region size

To have a better idea of how big is the region where the offset
belongs, display the value with the width of the region size
(i.e. a region of 0x1000 bytes uses 0x000 format).

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200812190206.31595-4-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/unimp.c
include/hw/misc/unimp.h