summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-01-05 06:44:27 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-01-05 06:44:27 +0000
commit8e65260a43e3aa16e03cfe7713c6bbfe7c89a11a (patch)
treeed04cecd5f8822990734341b8e88dbc6060fdd87 /sys
parent99fd86af3f283934b7e3b8f436db0c34c27916e0 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/i386/mpapic.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/sys/i386/i386/mpapic.c b/sys/i386/i386/mpapic.c
index aa9eaefd948f..dc7861f736ae 100644
--- a/sys/i386/i386/mpapic.c
+++ b/sys/i386/i386/mpapic.c
@@ -638,36 +638,6 @@ selected_apic_ipi(u_int target, int vector, int delivery_mode)
return status;
}
-
-#if defined(READY)
-/*
- * Send an IPI INTerrupt containing 'vector' to CPU 'target'
- * NOTE: target is a LOGICAL APIC ID
- */
-int
-selected_proc_ipi(int target, int vector)
-{
- u_long icr_lo;
- u_long icr_hi;
-
- /* write the destination field for the target AP */
- icr_hi = (lapic.icr_hi & ~APIC_ID_MASK) |
- (cpu_num_to_apic_id[target] << 24);
- lapic.icr_hi = icr_hi;
-
- /* write command */
- icr_lo = (lapic.icr_lo & APIC_RESV2_MASK) |
- APIC_DEST_DESTFLD | APIC_DELMODE_FIXED | vector;
- lapic.icr_lo = icr_lo;
-
- /* wait for pending status end */
- while (lapic.icr_lo & APIC_DELSTAT_MASK)
- /* spin */ ;
-
- return 0; /** XXX FIXME: return result */
-}
-#endif /* READY */
-
#endif /* APIC_IO */