summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/apicvar.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-05-02 12:20:43 +0000
committermav <mav@FreeBSD.org>2009-05-02 12:20:43 +0000
commitbaf55d1d06ec21028f521e2a0594294a49bc3bce (patch)
treef18d346c3109119beca341888aa2edfe43eac759 /sys/amd64/include/apicvar.h
parenta5dcb177014ca524da48b6cd1ecdbde4e6b42789 (diff)
downloadFreeBSD-src-baf55d1d06ec21028f521e2a0594294a49bc3bce.zip
FreeBSD-src-baf55d1d06ec21028f521e2a0594294a49bc3bce.tar.gz
Add support for using i8254 and rtc timers as event sources for amd64 SMP
system. Redistribute hard-/stat-/profclock events to other CPUs using IPIs.
Diffstat (limited to 'sys/amd64/include/apicvar.h')
-rw-r--r--sys/amd64/include/apicvar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/amd64/include/apicvar.h b/sys/amd64/include/apicvar.h
index 3cc028d..84ba3b8 100644
--- a/sys/amd64/include/apicvar.h
+++ b/sys/amd64/include/apicvar.h
@@ -126,7 +126,10 @@
/* IPIs handled by IPI_BITMAPED_VECTOR (XXX ups is there a better place?) */
#define IPI_AST 0 /* Generate software trap. */
#define IPI_PREEMPT 1
-#define IPI_BITMAP_LAST IPI_PREEMPT
+#define IPI_HARDCLOCK 2
+#define IPI_STATCLOCK 3
+#define IPI_PROFCLOCK 4
+#define IPI_BITMAP_LAST IPI_PROFCLOCK
#define IPI_IS_BITMAPED(x) ((x) <= IPI_BITMAP_LAST)
#define IPI_STOP (APIC_IPI_INTS + 7) /* Stop CPU until restarted. */
OpenPOWER on IntegriCloud