summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell2019-05-07 13:55:04 +0200
committerPeter Maydell2019-05-07 13:55:04 +0200
commit63159601fb3e396b28da14cbb71e50ed3f5a0331 (patch)
tree93000e89219661e4b073b956b6dbc23006e00c77 /include
parenttarget/arm: Implement XPSR GE bits (diff)
downloadqemu-63159601fb3e396b28da14cbb71e50ed3f5a0331.tar.gz
qemu-63159601fb3e396b28da14cbb71e50ed3f5a0331.tar.xz
qemu-63159601fb3e396b28da14cbb71e50ed3f5a0331.zip
target/arm: Stop using variable length array in dc_zva
Currently the dc_zva helper function uses a variable length array. In fact we know (as the comment above remarks) that the length of this array is bounded because the architecture limits the block size and QEMU limits the target page size. Use a fixed array size and assert that we don't run off it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190503120448.13385-1-peter.maydell@linaro.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions