unicorn/qemu/target
Peter Maydell 8f26d8e556
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.

Backports commit 8aec759b45fa6986c0b159cb27353d6abb0d5d73 from qemu
2018-04-11 19:32:16 -04:00
..
arm target/arm: Report unsupported MPU region sizes more clearly 2018-04-11 19:32:16 -04:00
i386 Add missing bit for SSE instr in VEX decoding 2018-04-10 08:49:15 -04:00
m68k cpu: Add Error argument to cpu_exec_init() 2018-03-21 07:50:33 -04:00
mips cpu: Add Error argument to cpu_exec_init() 2018-03-21 07:50:33 -04:00
sparc cpu: Add Error argument to cpu_exec_init() 2018-03-21 07:50:33 -04:00