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/post.c | |
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/post.c')
-rw-r--r-- | src/post.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,6 @@ interface_init(void) bda_init(); // Other interfaces - thread_init(); boot_init(); bios32_init(); pmm_init(); @@ -167,6 +166,7 @@ platform_hardware_setup(void) // Init base pc hardware. pic_setup(); + thread_setup(); mathcp_setup(); timer_setup(); clock_setup(); |