Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: efficient driver/driver communication



You are going to have to give us more context!

What is the driver environment you are running in? I assume IOKit.
Are both drivers yours? Do you have a provider/client connection? Can you include headers between the two kexts? Do they live in the same binary? What is the memory going to be used for?


The message/messageClient code is mainly used to call a subroutine in client driver from a provider.
Finally within the kernel every thing lives in the same address space so you don't have to copy data you can just pass pointers.


Godfrey

On 2008-07-19, at 4:53 , Larry Emdur wrote:

What is the most efficient way of moving data between two kexts?
Are the IOService message/messageClient calls the recommended way to do this? Do they involve memcpy?


_______________________________________________
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

This email sent to email@hidden
References: 
 >efficient driver/driver communication (From: "Larry Emdur" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.