From 8b9942fa3368139b089dc3fea0549cc3282b5c12 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 14 Jul 2015 15:44:26 -0400 Subject: 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 --- src/stacks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stacks.h') 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); -- cgit