Kmalloc returns which address
Scott Wood
scottwood at freescale.com
Tue Jul 17 01:46:36 EST 2007
suresh suresh wrote:
> I want know the address return by kmalloc function? is it physical address
> or kernel virtual address.
Kernel virtual.
> For Tx and Rx, hardware uses buffers, so I have to allocate buffers and
> pass
> the pointer to hardware. Can I pass the pointer returned kmalloc? or I
> should convert it into physical address?
You need to convert it; read Documentation/DMA-mapping.txt.
-Scott
More information about the Linuxppc-embedded
mailing list