diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-09-14 18:43:16 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-09-14 18:43:16 +0100 |
commit | 4a16724f06ead684a5962477a557c26c677c2729 (patch) | |
tree | 320f967ccbafb6708aa4a6258e0ddf5ca81af646 /audio | |
parent | 3dabde1128b671f36ac6cb36b97b273139964420 (diff) | |
download | qemu-4a16724f06ead684a5962477a557c26c677c2729.zip qemu-4a16724f06ead684a5962477a557c26c677c2729.tar.gz qemu-4a16724f06ead684a5962477a557c26c677c2729.tar.bz2 |
target/arm: Use M_REG_NUM_BANKS rather than hardcoding 2
Use a symbolic constant M_REG_NUM_BANKS for the array size for
registers which are banked by M profile security state, rather
than hardcoding lots of 2s.
Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 1505137930-13255-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions