Thread (4 messages) flat view 4 messages, 2 authors, 2007-10-23

Re: Difference between ioremap() and phy_to_virt() Kernel function

From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-10-22 11:05:35

On Monday 22 October 2007, Misbah khan wrote:
Could you Please let me know what is the difference between ioremap() and
phy_to_virt() function being provided by the Kernel.
ioremap gives you a new mapping for I/O addresses that you can access
with functions like in_be32 and the like.

phy_to_virt() is rarely used at all, it only serves to convert a physical
address for main memory (RAM) into the address used inside of the kernel.

	Arnd <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help