How to allocate memory and get the physical address in kernel

anish singh anish198519851985 at gmail.com
Wed Feb 5 23:10:16 EST 2014


On Wed, Feb 5, 2014 at 6:26 PM, m silverstri
<michael.j.silverstri at gmail.com> 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



More information about the Kernelnewbies mailing list