How to allocate memory and get the physical address in kernel
From: anish singh <hidden>
Date: 2014-02-06 04:10:16
From: anish singh <hidden>
Date: 2014-02-06 04:10:16
On Wed, Feb 5, 2014 at 6:26 PM, m silverstri [off-list ref] wrote:
Hi, I am developing a kernel driver. I need to allocate buffer in the kernel driver and pass the physical address of the buffer to the Chip register so that it can generate output there.
Can you elaborate more here?
I tried using kmalloc() but I don' get any output from the chip.
How is kmalloc related to output of the chip?
Is there a better way to achieve what I want?
You are not clear what you want to achieve.Best is to post your code here so people here knows what you want to achieve.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies