From eaa2f2c1bfe738d9a53c2f8ab9fbc96c2976f727 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Wed, 24 Jan 2024 03:51:57 +0000 Subject: 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> --- i386/i386at/ioapic.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'i386/i386at/ioapic.c') 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 -- cgit v1.2.3