]> git.proxmox.com Git - mirror_qemu.git/commit
Reducing stack frame size in stream_process_mem2s()
authorRutuja Shah <rutu.shah.26@gmail.com>
Mon, 17 Oct 2016 18:22:16 +0000 (19:22 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Oct 2016 18:22:16 +0000 (19:22 +0100)
commitcabbcca0375a96f2e0ccae660ca9dc1510adafbd
tree51d8d90c2d583b2940dd7754f4b8f1ebd64aae06
parentbcf48274ba6fbe6158beccd9d4be4c22931f33b9
Reducing stack frame size in stream_process_mem2s()

This patch allocates memory for txbuf in struct Stream rather than the stack.
As a result, the stack frame size is reduced of stream_process_mem2s().

Signed-off-by: Rutuja Shah <rutu.shah.26@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/dma/xilinx_axidma.c