]> xenbits.xensource.com Git - seabios.git/commitdiff
stacks: Make sure to initialize Call16Data
authorKevin O'Connor <kevin@koconnor.net>
Tue, 16 May 2017 15:36:43 +0000 (11:36 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 16 May 2017 15:36:43 +0000 (11:36 -0400)
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@koconnor.net>
src/stacks.c

index ef6a707751615fe059a44b455b46051a2e931456..9fec2fb7cffab469774728940a0d8c4711b9425d 100644 (file)
@@ -496,6 +496,7 @@ void
 thread_setup(void)
 {
     CanInterrupt = 1;
+    call16_override(1);
     if (! CONFIG_THREADS)
         return;
     ThreadControl = romfile_loadint("etc/threads", 1);