From: sridhar vaidyanathan <sridharv@ufl.edu>
To: linux-kernel@vger.kernel.org
Subject: mmaping /dev/mem
Date: Wed, 12 Mar 2003 19:36:47 -0500 [thread overview]
Message-ID: <1047515807.3e6fd29f92939@webmail.health.ufl.edu> (raw)
I have a problem mmaping /dev/mem on some address in RAM. I am aware of
caveats,but I am trying to mmap a region which I am sure is not in use by the
kernel(some additional code does this and returns a physical address which is
what I use for mmap). The mmap call itself succeeds and /proc/pid/maps also
shows that region, but I am unable to see what I write in target memory.I also
tried with the O_SYNC flag as I was wondering is caching had anything to do
with the results that I was seeing.No effect.
This however works with a mem= option and when the mmap region falls out of the
mem= boundary.
any clues?
Please cc as I am not subscribed
sridhar
next reply other threads:[~2003-03-13 0:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-13 0:36 sridhar vaidyanathan [this message]
2003-03-13 20:49 ` Alex Tomas
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=1047515807.3e6fd29f92939@webmail.health.ufl.edu \
--to=sridharv@ufl.edu \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®