Re: IOUserClient size limit?
Re: IOUserClient size limit?
- Subject: Re: IOUserClient size limit?
- From: Eli Bach <email@hidden>
- Date: Mon, 10 Nov 2008 16:04:27 -0800
On Nov 10, 2008, at 2:05 PM, Duane Murphy wrote:
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:
This email sent to email@hidden