Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Question on passing arbitrary length data between user mode app and I/O kit device driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on passing arbitrary length data between user mode app and I/O kit device driver



Ramakrishna Saripalli skrev 2012-02-02 09:51:
Is there a better way of exchanging data between user and kernel driver in Lion?.

I've implemented something similar when I got the advice to:

"look at the code for the CoreAudio IOAudioEngineUserClient; it has a system where the client passes in buffers that have been allocated in the clients own memory space, and the user client maps them into the kernel's memory space and simply copies data to or from those buffers"

It works like a charm. And fast. And on Lion too.

Regards,
/Rob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Question on passing arbitrary length data between user mode app and I/O kit device driver (From: Ramakrishna Saripalli <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.