Add the FreeBSD definition for the fasttrap ioctls.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Rui Paulo 2010-08-22 10:13:56 +00:00
parent 99d57a6bd8
commit 5e3caca7f6

View File

@ -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,