lkml.org 
[lkml]   [2000]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IOREMAP
** 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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.137 / U:0.352 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site