Re: [Qemu-devel] [PATCH] hw/arm/nseries: Allocating Large sized arrays to heap

2016-05-04 Thread Peter Maydell
On 26 April 2016 at 07:15, Zhou Jie wrote: > 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 > --- > hw/arm/nseries.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/hw/arm/nseries

[Qemu-devel] [PATCH] hw/arm/nseries: Allocating Large sized arrays to heap

2016-04-25 Thread Zhou Jie
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 --- hw/arm/nseries.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c index 5382505..c7068c0 100644 --- a/hw