OSDN Git Service

armv7m: Improve "-d mmu" tracing for PMSAv7 MPU
authorMichael Davidsaver <mdavidsaver@gmail.com>
Fri, 2 Jun 2017 10:51:48 +0000 (11:51 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jun 2017 10:51:48 +0000 (11:51 +0100)
commitc9f9f1246d630960bce45881e9c0d27b55be71e2
tree3b8eb2d376105b87006ddb98aa1dcbc94e61e9d9
parente9235c6983b261e04e897e8ff900b2b7a391e644
armv7m: Improve "-d mmu" tracing for PMSAv7 MPU

Improve the "-d mmu" tracing for the PMSAv7 MPU translation
process as an aid in debugging guest MPU configurations:
 * fix a missing newline for a guest-error log
 * report the region number with guest-error or unimp
   logs of bad region register values
 * add a log message for the overall result of the lookup
 * print "0x" prefix for hex values

Signed-off-by: Michael Davidsaver <mdavidsaver@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1493122030-32191-9-git-send-email-peter.maydell@linaro.org
[PMM: a little tidyup, report region number in all messages
 rather than just one]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c