Re: IOREMAP

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Fri Sep 22 2000 - 11:43:14 EST


On Fri, 22 Sep 2000, MOHAMMED AZAD wrote:

> Hi all,
>
> How does ioremap work???... does it allocate memory after a remap
> operation.. can someone throw some light on this... any help appreciated...
>
> thanks
> azad

ioremap takes address-space, presumably occupied by a device (like on
the PCI bus), and converts its address to the proper pointer-value
so it can be accessed. It does not allocate memory. It only converts
addresses, in fact it prevents allocating addresses used by memory.

Cheers,
Dick Johnson

Penguin : Linux version 2.2.15 on an i686 machine (797.90 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:27 EST