diff options
author | Damien Zammit <damien@zamaudio.com> | 2024-01-24 03:51:57 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-01-27 22:52:40 +0100 |
commit | eaa2f2c1bfe738d9a53c2f8ab9fbc96c2976f727 (patch) | |
tree | eb67e925eabcdadaacf723a483789413e2aa1296 /i386/i386at/ioapic.c | |
parent | 288a78a5d276028363b80de158df372ee688f918 (diff) | |
download | gnumach-eaa2f2c1bfe738d9a53c2f8ab9fbc96c2976f727.tar.gz gnumach-eaa2f2c1bfe738d9a53c2f8ab9fbc96c2976f727.tar.bz2 gnumach-eaa2f2c1bfe738d9a53c2f8ab9fbc96c2976f727.zip |
ioapic: Remove IMCR toggle
Since we are not using legacy MP tables but intending to use ACPI
to configure interrupt routing, we can assume all boards have
virtual wire mode, thus do not require setting of IMCR register.
(This may fix crashes on machines that do not have IMCR registers).
Message-ID: <20240124035138.1044855-2-damien@zamaudio.com>
Diffstat (limited to 'i386/i386at/ioapic.c')
-rw-r--r-- | i386/i386at/ioapic.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/i386/i386at/ioapic.c b/i386/i386at/ioapic.c index dcc91eff..fb73eab7 100644 --- a/i386/i386at/ioapic.c +++ b/i386/i386at/ioapic.c @@ -93,12 +93,6 @@ picdisable(void) */ outb ( PIC_SLAVE_OCW, PICS_MASK ); outb ( PIC_MASTER_OCW, PICM_MASK ); - - /* - ** Route interrupts through IOAPIC - */ - outb ( IMCR_SELECT, MODE_IMCR ); - outb ( IMCR_DATA, IMCR_USE_APIC ); } void |