How to allocate memory and get the physical address in kernel

m silverstri michael.j.silverstri at gmail.com
Wed Feb 5 21:26:44 EST 2014


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.

I tried using kmalloc() but I don' get any output from the chip.

Is there a better way to achieve what I want?



More information about the Kernelnewbies mailing list