aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/smp.h
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2000-05-31 21:37:28 +0000
committerMike Smith <msmith@FreeBSD.org>2000-05-31 21:37:28 +0000
commitc3c50c4e3a4dd6b307586a06d3759ed181a11a95 (patch)
tree22740101e581c9cf0e6154eda81bcc5b6f03802e /sys/sys/smp.h
parent92e24ad483dbff921022a1f7e3f2a6b00183002e (diff)
downloadsrc-c3c50c4e3a4dd6b307586a06d3759ed181a11a95.tar.gz
src-c3c50c4e3a4dd6b307586a06d3759ed181a11a95.zip
Further fixes for multiple-IO-APIC systems from Tor Egge:
Further experimentation showed that some Dell 2450 machines with the prevention kludge installed still got T_RESERVED traps. CPU interrupt vector 0x7A was observed to be triggered. This might have been the bitwise OR of two different vectors sent from each of the IOAPICs at the same time. IOAPIC #0: 0x68 --> irq 8: RTC timer interrupt IOAPIC #1: 0x32 --> irq 18: scsi host adapter or network interface ---- 0x7a --> T_RESERVED Both IOAPICs had ID 0. Appendix B.3 in the MP spec indicates that the operating system is responsible for assigning unique IDs to the IOAPICs. The enclosed patch programs the IOAPIC IDs according to the IOAPIC entries in the MP table. Submitted by: tegge
Notes
Notes: svn path=/head/; revision=61136
Diffstat (limited to 'sys/sys/smp.h')
-rw-r--r--sys/sys/smp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/smp.h b/sys/sys/smp.h
index c11bcb28806f..17b7a3a8172b 100644
--- a/sys/sys/smp.h
+++ b/sys/sys/smp.h
@@ -165,6 +165,7 @@ void imen_dump __P((void));
int apic_ipi __P((int, int, int));
int selected_apic_ipi __P((u_int, int, int));
int io_apic_setup __P((int));
+void io_apic_set_id __P((int, int));
int ext_int_setup __P((int, int));
#if defined(READY)