From: Scott Wood <scottwood@freescale•com>
To: Misbah khan <misbah_khan@engineer•com>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: How to write a device driver in such a fashion .????
Date: Tue, 8 Jan 2008 10:42:14 -0600 [thread overview]
Message-ID: <20080108164214.GB4949@loki.buserror.net> (raw)
In-Reply-To: <14682271.post@talk.nabble.com>
On Mon, Jan 07, 2008 at 08:31:10PM -0800, Misbah khan wrote:
>
> using mmap() in application to access the h/w is only possible if the device
> memory is mapped in the kernel virtual memory how come we directly map to
> the physical memory to virtual from user space ???
No, /dev/mem takes physical addresses, not kernel virtual.
-Scott
prev parent reply other threads:[~2008-01-08 16:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-07 7:07 How to write a device driver in such a fashion .???? Misbah khan
2008-01-07 10:55 ` Jenkins, Clive
2008-01-08 4:31 ` Misbah khan
2008-01-08 16:42 ` Scott Wood [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=20080108164214.GB4949@loki.buserror.net \
--to=scottwood@freescale$(echo .)com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=misbah_khan@engineer$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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