diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-28 21:27:36 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-28 21:27:36 +0200 |
commit | ecc99f77810305304893d188d25e598f5645ecaf (patch) | |
tree | ccf5769f7bc8394140dd177ac00bcb65bbe6ee64 /i386/i386at/ioapic.c | |
parent | 87cf68424591ec4576ecfc5833b2babf2d674459 (diff) | |
download | gnumach-ecc99f77810305304893d188d25e598f5645ecaf.tar.gz gnumach-ecc99f77810305304893d188d25e598f5645ecaf.tar.bz2 gnumach-ecc99f77810305304893d188d25e598f5645ecaf.zip |
Fix crash at boot
spl cannot be called before the clock is set up.
Diffstat (limited to 'i386/i386at/ioapic.c')
-rw-r--r-- | i386/i386at/ioapic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/i386/i386at/ioapic.c b/i386/i386at/ioapic.c index 73fd216a..218f9a51 100644 --- a/i386/i386at/ioapic.c +++ b/i386/i386at/ioapic.c @@ -40,6 +40,7 @@ uint32_t lapic_timer_val = 0; uint32_t calibrated_ticks = 0; spl_t curr_ipl[NCPUS] = {0}; +int spl_init = 0; int iunit[NINTR] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23}; |