From 5869a6b58745e3e83f4b9257cf6f64216d5e61dc Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 16 May 2017 11:36:43 -0400 Subject: stacks: Make sure to initialize Call16Data 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 --- src/stacks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stacks.c b/src/stacks.c index ef6a7077..9fec2fb7 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); -- cgit