diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-04-10 13:02:25 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-04-10 13:02:25 +0100 |
commit | 8aec759b45fa6986c0b159cb27353d6abb0d5d73 (patch) | |
tree | d936e8765267e8be307c6b79d1d085d9f76c0958 /cpus.c | |
parent | f640a5914f5179aa1af00df70da470e24e055e8d (diff) |
target/arm: Report unsupported MPU region sizes more clearly
Currently our PMSAv7 and ARMv7M MPU implementation cannot handle
MPU region sizes smaller than our TARGET_PAGE_SIZE. However we
report that in a slightly confusing way:
DRSR[3]: No support for MPU (sub)region alignment of 9 bits. Minimum is 10
The problem is not the alignment of the region, but its size;
tweak the error message to say so:
DRSR[3]: No support for MPU (sub)region size of 512 bytes. Minimum is 1024.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180405172554.27401-1-peter.maydell@linaro.org
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions