Re: memory mapped devices
- From: Janaka <janakas@xxxxxxxxxxxx>
- Date: Thu, 6 Nov 2008 15:03:11 -0800 (PST)
On Nov 7, 7:02 am, Keep Asking <as...@xxxxxxxxx> wrote:
My question is how linux deals with memory cache .
When we have a memory mapped device, for example, at address
0x????????
The only thing I need to do to get the virtual adress is
ioremap(0x????????), then we can access the device just like normal
memory. If I look the ioremap(0 some case it's just as simple as to
add a offset. Then question is what mechanism makes memory cache
disabled for this range of memory?
Thanks,
use "ioremap_nocache()".
Cheers
Janaka
.
- Follow-Ups:
- Re: memory mapped devices
- From: Gil Hamilton
- Re: memory mapped devices
- References:
- memory mapped devices
- From: Keep Asking
- memory mapped devices
- Prev by Date: memory mapped devices
- Next by Date: Re: [RFC] toolchains for cross compiling and building environments
- Previous by thread: memory mapped devices
- Next by thread: Re: memory mapped devices
- Index(es):
Relevant Pages
|