Hello,
I need to perform a "copy_to_user()" call in my PCI device driver. I need to do this to make available the data acquired by my PCI device to a user-space DSP routine. "copy_to_user()" has an input parameter that is the address of the user-space buffer My question is how can I pass this user-space buffer address to my PCI device driver? Alternatively, if I get_user_pages in my device driver and allocate the user-space buffer in my driver how can I pass this address to my user-space DSP process?
Thank you!! |