summaryrefslogtreecommitdiff
path: root/target/arm/cpu.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-09-14 18:43:16 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-09-14 18:43:16 +0100
commit4a16724f06ead684a5962477a557c26c677c2729 (patch)
tree320f967ccbafb6708aa4a6258e0ddf5ca81af646 /target/arm/cpu.c
parent3dabde1128b671f36ac6cb36b97b273139964420 (diff)
downloadqemu-4a16724f06ead684a5962477a557c26c677c2729.tar.gz
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 'target/arm/cpu.c')
0 files changed, 0 insertions, 0 deletions