svn commit: r211606 -
head/sys/cddl/contrib/opensolaris/uts/common/sys
Rui Paulo
rpaulo at FreeBSD.org
Sun Aug 22 10:13:57 UTC 2010
Author: rpaulo
Date: Sun Aug 22 10:13:56 2010
New Revision: 211606
URL: http://svn.freebsd.org/changeset/base/211606
Log:
Add the FreeBSD definition for the fasttrap ioctls.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h
Modified: head/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h Sun Aug 22 09:06:55 2010 (r211605)
+++ head/sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h Sun Aug 22 10:13:56 2010 (r211606)
@@ -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,
More information about the svn-src-all
mailing list