Page MenuHomeFreeBSD

D1983.id4044.diff
No OneTemporary

D1983.id4044.diff

Index: head/sys/x86/include/apicvar.h
===================================================================
--- head/sys/x86/include/apicvar.h
+++ head/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
Sun, Aug 30, 1:32 AM (2 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37556026
Default Alt Text
D1983.id4044.diff (685 B)

Event Timeline