summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/segments.h
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-08-28 08:03:29 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-08-28 08:03:29 +0000
commit707917e57b9e89c2d8a0b8c5ef3f2fd4abe19556 (patch)
treedb25003fe1513ee1e6b3319f1520510b66d46406 /sys/amd64/include/segments.h
parent145f151a7942ca39adbf26b7aabd3df7c445a9a2 (diff)
downloadFreeBSD-src-707917e57b9e89c2d8a0b8c5ef3f2fd4abe19556.zip
FreeBSD-src-707917e57b9e89c2d8a0b8c5ef3f2fd4abe19556.tar.gz
Register an interrupt vector for DTrace return probes. There is some
code missing in lapic to make sure that we don't overwrite this entry, but this will be done on a sequent commit. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/amd64/include/segments.h')
-rw-r--r--sys/amd64/include/segments.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/segments.h b/sys/amd64/include/segments.h
index 282c1ae..22dc95a 100644
--- a/sys/amd64/include/segments.h
+++ b/sys/amd64/include/segments.h
@@ -214,6 +214,7 @@ struct region_descriptor {
#define IDT_XF 19 /* #XF: SIMD Floating-Point Exception */
#define IDT_IO_INTS NRSVIDT /* Base of IDT entries for I/O interrupts. */
#define IDT_SYSCALL 0x80 /* System Call Interrupt Vector */
+#define IDT_DTRACE_RET 0x92 /* DTrace pid provider Interrupt Vector */
/*
* Entries in the Global Descriptor Table (GDT)
OpenPOWER on IntegriCloud