Re: memory mapped devices



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
.



Relevant Pages

  • Physical memory
    ... physical memory of the system from a user process without the OS trying ... simple way by defining a memory mapped device, a ram disk region or some ...
    (comp.os.linux.development.apps)
  • memory mapped devices
    ... My question is how linux deals with memory cache. ... When we have a memory mapped device, for example, at address ...
    (comp.os.linux.embedded)
  • Re: memory cache
    ... Memory cache is limited by the amount of installed ram and the amount in ... Additional caching is achieved via the Virtual Memory by writing ... > How do I increase the memory cache size and the disc cache size. ...
    (microsoft.public.windowsxp.general)
  • Re: Question on Processor Specs
    ... 16 KB primary memory cache, and 2048 KB secondary memory cache" ... What does your mainboard BIOS identify this processor as? ... Memory Channel A 1024 MB ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Question on Processor Specs
    ... However, when I run Belarc Advisor, it states, "3.00 GHz Intel Pentium D, ... 16 KB primary memory cache, and 2048 KB secondary memory cache" ... Memory Channel A 1024 MB ...
    (alt.comp.hardware.pc-homebuilt)