aboutsummaryrefslogtreecommitdiff
path: root/pc-bios
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-05-07 12:55:04 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-05-07 12:55:04 +0100
commit63159601fb3e396b28da14cbb71e50ed3f5a0331 (patch)
tree93000e89219661e4b073b956b6dbc23006e00c77 /pc-bios
parentf1e2598c46d480c9e21213a244bc514200762828 (diff)
target/arm: Stop using variable length array in dc_zvapull-target-arm-20190507
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 'pc-bios')
0 files changed, 0 insertions, 0 deletions