From: Jean-Christophe Dubois <jdubois@mc.com>
To: scarayol@assystembrime.com
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Réf. : RE: mmap : please help !
Date: Thu, 14 Apr 2005 12:09:56 +0200 [thread overview]
Message-ID: <1113473397.27480.5.camel@fr-jdubois1.ad.mc.com> (raw)
In-Reply-To: <OFD3D0F6BD.3557C244-ONC1256FE3.0033B4B5@brime.fr>
Hello Sophie,
On Thu, 2005-04-14 at 11:38 +0200, scarayol@assystembrime.com wrote:
> St=C3=A9phane,
>=20
> thanks for your help.
> But I think that, except instruction eieio, I do similar things. You use
> the virtual address returned by mmap but have you the same values if you
> use write/read(axs_mem_fd,...) instead of in_8/out_8.
> That is my problem : I want to be sure that when I use the virtual addre=
ss
> returned by mmap, I access really to the physical memory mapped area.
As the /dev/map_mc is your custom driver it should be fairly easy for
you to check the parameters you pass to remap_page_range().=20
> Do you know a shell command in order to dump the memory and verify what I
> do ?
try "od"
JC
> ----------------------------------------------------------
> Sophie CARAYOL
>=20
> TECHNOLOGIES & SYSTEMES
> 50 rue du Pr=C3=A9sident Sadate
> F - 29337 QUIMPER CEDEX
>=20
> T=C3=A9l: +33 2 98 10 30 06
> mailto:scarayol@assystembrime.com
> ----------------------------------------------------------
>=20
>=20
>=20
>=20
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
prev parent reply other threads:[~2005-04-14 10:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-14 9:38 Réf. : RE: mmap : please help ! scarayol
2005-04-14 10:09 ` Jean-Christophe Dubois [this message]
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=1113473397.27480.5.camel@fr-jdubois1.ad.mc.com \
--to=jdubois@mc.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=scarayol@assystembrime.com \
/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