summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/smp.h
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1998-04-01 21:07:37 +0000
committertegge <tegge@FreeBSD.org>1998-04-01 21:07:37 +0000
commit028480bfb1299a0a34ad19f20e2cc3f24b402235 (patch)
tree77436497a16e77fa303820d1d60caeb109f2acad /sys/i386/include/smp.h
parent574d6dcedfc1e96deb88ef6e7f5540eab053fe2d (diff)
downloadFreeBSD-src-028480bfb1299a0a34ad19f20e2cc3f24b402235.zip
FreeBSD-src-028480bfb1299a0a34ad19f20e2cc3f24b402235.tar.gz
Add two workarounds for broken MP tables:
- Attempt to handle PCI devices where the interrupt is an ISA/EISA interrupt according to the mp table. - Attempt to handle multiple IO APIC pins connected to the same PCI or ISA/EISA interrupt source. Print a warning if this happens, since performance is suboptimal. This workaround is only used for PCI devices. With these two workarounds, the -SMP kernel is capable of running on my Asus P/I-P65UP5 motherboard when version 1.4 of the MP table is disabled.
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r--sys/i386/include/smp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h
index b31aadd..283c925 100644
--- a/sys/i386/include/smp.h
+++ b/sys/i386/include/smp.h
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: smp.h,v 1.40 1998/03/07 21:34:59 dyson Exp $
+ * $Id: smp.h,v 1.41 1998/04/01 20:38:28 tegge Exp $
*
*/
@@ -112,6 +112,7 @@ void mp_announce __P((void));
u_int isa_apic_mask __P((u_int));
int isa_apic_pin __P((int));
int pci_apic_pin __P((int, int, int));
+int next_apic_pin __P((int));
int undirect_isa_irq __P((int));
int undirect_pci_irq __P((int));
int apic_bus_type __P((int));
OpenPOWER on IntegriCloud