Can I use malloc() to allocate memory that will be accessed by a driver ? I want to have my application allocate blocks memory, and then pass the address's to a driver. The driver will dma to/from the memory and notify the application when it is done. The memory blocks will be a little over 64k in length. So, can malloc() allocate suitable memory, and is there a call the driver can make to get the physical address for the dma ?
thanks,
cs
|