Accessing physical memory

dwh at mmarray.org dwh at mmarray.org
Sun Apr 9 14:20:53 EST 2006


Quoting Antonio Di Bacco <antonio.dibacco at aruba.it>:

> How can I access the physical memory? Can I MMAP for example /dev/mem? Is
> there a simpler way?
>

Hi Antonio,

What would you like to do? If you just want some arbitrary
page of memory, then look at the 'nopage' example in Rubini,
or ask me and I'll send you some code.

If you want a specific memory location, then you'll need
to claim and ioremap the memory, and again, I can give you
some code.

So, explain a little more and I can help.

Dave


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the Linuxppc-embedded mailing list