Initialize the Call16Data at startup - otherwise some early yield()
calls may check for interrupts without using the preferred A20
setting.

Signed-off-by: Kevin O'Connor <[email protected]>
---
 src/stacks.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/stacks.c b/src/stacks.c
index ef6a707..9fec2fb 100644
--- a/src/stacks.c
+++ b/src/stacks.c
@@ -496,6 +496,7 @@ void
 thread_setup(void)
 {
     CanInterrupt = 1;
+    call16_override(1);
     if (! CONFIG_THREADS)
         return;
     ThreadControl = romfile_loadint("etc/threads", 1);
-- 
2.9.3


_______________________________________________
SeaBIOS mailing list
[email protected]
https://mail.coreboot.org/mailman/listinfo/seabios

Reply via email to