diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2015-07-14 15:44:26 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-07-14 15:47:39 -0400 |
commit | 8b9942fa3368139b089dc3fea0549cc3282b5c12 (patch) | |
tree | 39d57e05e25a6529aa5f06b955d43e6459ff2aa0 /src/stacks.h | |
parent | 6a668b35e1691de8ebccf9c8b627c58f333cea7a (diff) | |
download | seabios-8b9942fa3368139b089dc3fea0549cc3282b5c12.tar.gz |
Don't enable interrupts prior to IVT and PIC setup
The machine may crash if an interrupt occurs prior to the setup of the
interrupt vector table (IVT) and programmable interrupt controller
(PIC). This patch makes sure that interrupts remain disabled until
these components are setup.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stacks.h')
-rw-r--r-- | src/stacks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stacks.h b/src/stacks.h index 82c4c3c8..a3b031ce 100644 --- a/src/stacks.h +++ b/src/stacks.h @@ -28,7 +28,7 @@ extern struct thread_info MainThread; struct thread_info *getCurThread(void); void yield(void); void yield_toirq(void); -void thread_init(void); +void thread_setup(void); int threads_during_optionroms(void); void run_thread(void (*func)(void*), void *data); void wait_threads(void); |