Re: kext loading issues on Mac OS 10.3.9, but works fine on Mac OS X 10.4 ppc and intel. Why?
Re: kext loading issues on Mac OS 10.3.9, but works fine on Mac OS X 10.4 ppc and intel. Why?
- Subject: Re: kext loading issues on Mac OS 10.3.9, but works fine on Mac OS X 10.4 ppc and intel. Why?
- From: Mike Smith <email@hidden>
- Date: Sun, 11 Jun 2006 11:21:14 -0700
On Jun 11, 2006, at 10:33 AM, rohit dhamija wrote:
I am developing kernel extension for my USB bulk and control
devices for
"Mac OS X 10.4 powerpc and Intel Mac. and Mac OS X 10.3.9 powerpc"
1. I had used following key to use "copyin" function in my kext code.
You should not be using copyin in an I/O Kit kext.
Assuming this is the same exercise you were discussing previously,
please
re-examine the example I gave, which clearly demonstrates how to use an
IOMemoryDescriptor to do I/O against user-owned memory.
I note in one of your previous replies, you refer to dynamically
allocating
the command structure; this is probably also a pointless waste of time,
since you can for about the same cost just construct the user command
inside a fixed-size buffer already associated with the command.
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden