summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2024-01-24 03:51:57 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-01-27 22:52:40 +0100
commiteaa2f2c1bfe738d9a53c2f8ab9fbc96c2976f727 (patch)
treeeb67e925eabcdadaacf723a483789413e2aa1296 /i386
parent288a78a5d276028363b80de158df372ee688f918 (diff)
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')
-rw-r--r--i386/i386at/ioapic.c6
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