diff options
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h b/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h index 7f80314..58967fd 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h +++ b/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h @@ -37,9 +37,14 @@ extern "C" { #endif +#if defined(sun) #define FASTTRAPIOC (('m' << 24) | ('r' << 16) | ('f' << 8)) #define FASTTRAPIOC_MAKEPROBE (FASTTRAPIOC | 1) #define FASTTRAPIOC_GETINSTR (FASTTRAPIOC | 2) +#else +#define FASTTRAPIOC_MAKEPROBE _IOW('f', 1, fasttrap_probe_spec_t) +#define FASTTRAPIOC_GETINSTR _IOWR('f', 2, uint8_t) +#endif typedef enum fasttrap_probe_type { DTFTP_NONE = 0, |