Increase IMAGE_STACK_SIZE to 16K from 8K.

The existing 8K stack used when switching context to run the executable payload was not enough. Increasing the stack to 16K 
solves the issue, preventing the payload from clobbering memory within OpenBIOS as it runs.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@873 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-10-01 22:29:16 +00:00
committed by Mark Cave-Ayland
parent b60891b683
commit e9c1365d32

View File

@@ -11,7 +11,7 @@
#include "openbios.h"
#define MAIN_STACK_SIZE 16384
#define IMAGE_STACK_SIZE 4096*2
#define IMAGE_STACK_SIZE 4096*4
#define debug printk