diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-08-24 13:13:24 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-08-24 13:13:24 +0000 |
commit | 2aa1a2c1567d3c4be865200e3a6f121cd445e598 (patch) | |
tree | 42ea17fb3efec41d564b7f1c21f9e098be1caa31 | |
parent | a3bdb4e160567681c7a002bad59874d7ccb15ba6 (diff) | |
download | FreeBSD-src-2aa1a2c1567d3c4be865200e3a6f121cd445e598.zip FreeBSD-src-2aa1a2c1567d3c4be865200e3a6f121cd445e598.tar.gz |
Add two DTrace trap type values. Used by fasttrap.
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | sys/amd64/include/trap.h | 2 | ||||
-rw-r--r-- | sys/i386/include/trap.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/include/trap.h b/sys/amd64/include/trap.h index f0176b2..d8e36b5 100644 --- a/sys/amd64/include/trap.h +++ b/sys/amd64/include/trap.h @@ -62,6 +62,8 @@ #define T_MCHK 28 /* machine check trap */ #define T_XMMFLT 29 /* SIMD floating-point exception */ #define T_RESERVED 30 /* reserved (unknown) */ +#define T_DTRACE_RET 31 /* DTrace pid return */ +#define T_DTRACE_PROBE 32 /* DTrace fasttrap probe */ /* XXX most of the following codes aren't used, but could be. */ diff --git a/sys/i386/include/trap.h b/sys/i386/include/trap.h index f0176b2..d8e36b5 100644 --- a/sys/i386/include/trap.h +++ b/sys/i386/include/trap.h @@ -62,6 +62,8 @@ #define T_MCHK 28 /* machine check trap */ #define T_XMMFLT 29 /* SIMD floating-point exception */ #define T_RESERVED 30 /* reserved (unknown) */ +#define T_DTRACE_RET 31 /* DTrace pid return */ +#define T_DTRACE_PROBE 32 /* DTrace fasttrap probe */ /* XXX most of the following codes aren't used, but could be. */ |