diff options
| author | Peter Maydell | 2017-09-14 19:43:16 +0200 |
|---|---|---|
| committer | Peter Maydell | 2017-09-14 19:43:16 +0200 |
| commit | 4a16724f06ead684a5962477a557c26c677c2729 (patch) | |
| tree | 320f967ccbafb6708aa4a6258e0ddf5ca81af646 /include/exec | |
| parent | Merge remote-tracking branch 'remotes/dgilbert/tags/pull-hmp-20170914' into s... (diff) | |
| download | qemu-4a16724f06ead684a5962477a557c26c677c2729.tar.gz qemu-4a16724f06ead684a5962477a557c26c677c2729.tar.xz qemu-4a16724f06ead684a5962477a557c26c677c2729.zip | |
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 'include/exec')
0 files changed, 0 insertions, 0 deletions
