diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-05-16 11:36:43 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-05-16 11:36:43 -0400 |
commit | 5869a6b58745e3e83f4b9257cf6f64216d5e61dc (patch) | |
tree | c6a532f48a31438c0f289205cd4d60a54af1409b /src/stacks.c | |
parent | d8b308077e984d4baf852448536ae59307efd808 (diff) | |
download | seabios-5869a6b58745e3e83f4b9257cf6f64216d5e61dc.tar.gz |
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 <kevin@koconnor.net>
Diffstat (limited to 'src/stacks.c')
-rw-r--r-- | src/stacks.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |