Re: Reading a physical memory location

From: Nobin Mathew
Date: Wed Jul 11 2007 - 04:57:18 EST


Thanks

On 7/11/07, Manu Abraham <abraham.manu@xxxxxxxxx> wrote:
On 7/11/07, Nobin Mathew <nobin.mathew@xxxxxxxxx> wrote:
> See this in the documentation
>
> The returned virtual address is a current CPU mapping for the memory
> address given. It is only valid to use this function on addresses that
> have a kernel mapping
>
> This function does not handle bus mappings for DMA transfers. In
> almost all conceivable cases a device driver should not be using this
> function
>

To get a better idea, look here
http://tldp.org/LDP/khg/HyperNews/get/devices/addrxlate.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/