Page MenuHomeFreeBSD

D1983.id4023.diff
No OneTemporary

D1983.id4023.diff

Index: sys/x86/include/apicvar.h
===================================================================
--- sys/x86/include/apicvar.h
+++ sys/x86/include/apicvar.h
@@ -126,7 +126,12 @@
#define IPI_STOP (APIC_IPI_INTS + 7) /* Stop CPU until restarted. */
#define IPI_SUSPEND (APIC_IPI_INTS + 8) /* Suspend CPU until restarted. */
-#define IPI_STOP_HARD (APIC_IPI_INTS + 9) /* Stop CPU with a NMI. */
+
+/*
+ * IPI_STOP_HARD does not need to occupy a slot in the IPI vector space since
+ * it is delivered using an NMI anyways.
+ */
+#define IPI_STOP_HARD 255 /* Stop CPU with a NMI. */
/*
* The spurious interrupt can share the priority class with the IPIs since

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 28, 1:39 PM (10 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30474595
Default Alt Text
D1983.id4023.diff (670 B)

Event Timeline