hw/arm/nseries: Allocating Large sized arrays to heap
commit0b062eb090517a66f3e9b4b1ddf2e740e9517102
authorZhou Jie <zhoujie2011@cn.fujitsu.com>
Thu, 12 May 2016 12:22:25 +0000 (12 13:22 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 May 2016 12:22:25 +0000 (12 13:22 +0100)
treef87f87a83b9665b3f76bc6194ef705e9727c2639
parent27a5dc7be6a55b60039e39206eed2734ea166a47
hw/arm/nseries: Allocating Large sized arrays to heap

n8x0_init has a huge stack usage of 65536 bytes approx.
Moving large arrays to heap to reduce stack usage.

Signed-off-by: Zhou Jie <zhoujie2011@cn.fujitsu.com>
Message-id: 1461651308-894-1-git-send-email-zhoujie2011@cn.fujitsu.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/nseries.c