diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-04-05 15:25:18 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-04-05 15:25:18 +0200 |
commit | 305c9dcf20c06b07183a09131225248be80cfb8a (patch) | |
tree | e9d31b47490573512c32155856da437463921e9c /i386 | |
parent | dbbda3c238f47b5f5621068a047c404b92748b24 (diff) | |
download | gnumach-305c9dcf20c06b07183a09131225248be80cfb8a.tar.gz gnumach-305c9dcf20c06b07183a09131225248be80cfb8a.tar.bz2 gnumach-305c9dcf20c06b07183a09131225248be80cfb8a.zip |
apic: Also unmask irq 3 and 4 early
We unmasked by hand kd's irq 1, but com0/1 also need unmasking. More
generally we should unmask irqs as appropriate.
* i386/i386at/model_dep.c (machine_init): Unmask irq 3 and 4.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/model_dep.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index f83d24cb..21a36bf2 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -174,7 +174,14 @@ void machine_init(void) smp_init(); ioapic_configure(); lapic_enable_timer(); + +#warning FIXME: Rather unmask them from their respective drivers + /* kd */ unmask_irq(1); + /* com0 */ + unmask_irq(4); + /* com1 */ + unmask_irq(3); #endif /* NCPUS > 1 */ #ifdef LINUX_DEV |