I am seeing a kIOReturnIPCError form an IOUserClient down call (i.e.
from my app into the kernel) when I have a structure that is over 4K
(4096) bytes in size.
Is this a hard limit? Can I change this limit? I have some I/O through
the user client that I would like to take a larger buffer (16K).
Thanks for any tips,
...Duane
Yeah, I believe the recommended path to take for passing larger
amounts of data between user-space and the kernel is to use a shared
buffer that is memory mapped in both the kernel and user-space. And
sorry, but offhand I don't know the API to do this.
I believe there is sample code for doing this, and if there isn't, I
would then check Apple's open-source Darwin driver's.
Eli
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden