[SeaBIOS] [PATCH] Don't enable thread preemption during S3 resume vga option rom execution.
Kevin O'Connor
kevin at koconnor.net
Sat May 31 03:47:27 CEST 2014
Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---
src/stacks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stacks.c b/src/stacks.c
index 6bcb319..beccc0f 100644
--- a/src/stacks.c
+++ b/src/stacks.c
@@ -287,7 +287,7 @@ thread_init(void)
int
threads_during_optionroms(void)
{
- return CONFIG_THREADS && ThreadControl == 2;
+ return CONFIG_THREADS && ThreadControl == 2 && in_post();
}
// Switch to next thread stack.
--
1.9.3
More information about the SeaBIOS
mailing list