Re: kext loading issues on Mac OS 10.3.9, but works fine on Mac OS X 10.4 ppc and intel. Why?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Jun 11, 2006, at 10:33 AM, rohit dhamija wrote: You should not be using copyin in an I/O Kit kext. = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Smith