From: Arnd Bergmann <arnd@arndb.de>
To: linuxppc-embedded@ozlabs.org
Subject: Re: Accessing physical memory
Date: Sun, 9 Apr 2006 01:07:16 +0200 [thread overview]
Message-ID: <200604090107.17132.arnd@arndb.de> (raw)
In-Reply-To: <200604082352.55490.antonio.dibacco@aruba.it>
On Saturday 08 April 2006 23:52, Antonio Di Bacco wrote:
> How can I access the physical memory? Can I MMAP for example /dev/mem? Is
> there a simpler way?
/dev/mem access is the most simple way. A cleaner solution is usually to
write your own simple character device driver for the stuff you want to
access in memory.
Depending on why you want to access memory, slram may be the right
driver, e.g. when you want to store a file system there.
Arnd <><
next prev parent reply other threads:[~2006-04-08 23:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-08 21:52 Accessing physical memory Antonio Di Bacco
2006-04-08 23:07 ` Arnd Bergmann [this message]
2006-04-09 4:20 ` dwh
-- strict thread matches above, loose matches on Subject: below --
2006-04-10 12:43 Fillod Stephane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200604090107.17132.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).