aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/sunddi.h
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-07-10 10:56:32 -0700
committerBrian Behlendorf <[email protected]>2009-07-10 10:56:32 -0700
commitd3126abe75a6502d55bfa2339b48d4fa263e1b02 (patch)
tree69524df2de86f7030d86687dd96f407b8d2502f4 /include/sys/sunddi.h
parent2a734e9c266f5fd31db84153a61263b529167732 (diff)
Add ddi_copyin/ddi_copyout support for fake kernel originated ioctls.
Diffstat (limited to 'include/sys/sunddi.h')
-rw-r--r--include/sys/sunddi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/sunddi.h b/include/sys/sunddi.h
index 404b14b38..c1773f504 100644
--- a/include/sys/sunddi.h
+++ b/include/sys/sunddi.h
@@ -213,6 +213,9 @@ extern int ddi_strtol(const char *, char **, int, long *);
extern int ddi_strtoull(const char *, char **, int, unsigned long long *);
extern int ddi_strtoll(const char *, char **, int, long long *);
+extern int ddi_copyin(const void *from, void *to, size_t len, int flags);
+extern int ddi_copyout(const void *from, void *to, size_t len, int flags);
+
static __inline__ void ddi_report_dev(dev_info_t *d) { }
static __inline__ void ddi_prop_remove_all(dev_info_t *dip) { }