Re: IOREMAP

From: Timur Tabi (ttabi@interactivesi.com)
Date: Fri Sep 22 2000 - 11:08:58 EST


** Reply to message from MOHAMMED AZAD <mohammedazad@nestec.net> on Fri, 22 Sep
2000 21:26:56 +0530

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

Well, as they say around here ... "the source code is the documentation".

Basically, ioremap allocates some virtual memory, and then maps that memory to
the physical address you request. It's intended for PCI memory, but you can
use it on normal memory is mark the pages reserved in the mem_map_t structures.

-- 
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com

When replying to a mailing-list message, please don't cc: me, because then I'll just get two copies of the same message. - 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