mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
committed by
Mark Cave-Ayland
parent
b60891b683
commit
e9c1365d32
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user