Signed-off-by: Kevin O'Connor <[email protected]>
---
 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


_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios

Reply via email to