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/fw/csm.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/fw/csm.c')
-rw-r--r-- | src/fw/csm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fw/csm.c b/src/fw/csm.c index 7cdb398f..aee2f90e 100644 --- a/src/fw/csm.c +++ b/src/fw/csm.c @@ -183,6 +183,7 @@ handle_csm_0002(struct bregs *regs) struct bios_data_area_s *bda = MAKE_FLATPTR(SEG_BDA, 0); bda->hdcount = 0; + thread_setup(); mathcp_setup(); timer_setup(); clock_setup(); |