[SeaBIOS] [PATCH 2/4] stacks: Make sure to initialize Call16Data
Kevin O'Connor
kevin at koconnor.net
Tue May 16 18:14:49 CEST 2017
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 <kevin at koconnor.net>
---
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
More information about the SeaBIOS
mailing list