On Mon, 25 Jul 2005, Felix-KM wrote:
In the Linux driver Ioctl is realized with the macroses _put_user
_get_user all over it. As I understand in FreeBSD their analogues are
functions described in store(9), copy(9) and fetch(9).
Linux doesn't provide any help for driver IOCTL routines, FreeBSD does.
Just declare your IOCTLs correctly and the kernel will perform any copy
in/out as specified by the _IOW/_IOR/_IOWR macros.
--
10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"