From: "Min-kyu, Joo" <zzu@cesys.ajou.ac.kr>
To: <linuxppc-embedded@lists.linuxppc.org>
Subject: What is the ioremap() function?
Date: Sat, 23 Sep 2000 06:12:52 +0900 [thread overview]
Message-ID: <003701c024d9$e1f7f200$481877d3@ajou.ac.kr> (raw)
I have some question about ioremap() function...
In arch/ppc/mm/init.c file, there is ioremap() function..
What is the main functionality of ioremap()?
It takes two argument...
I must use ioremap() for flash device..
I think first argument is physical address of memory mapped device, so I put that argument physical starting address of flash device. In my case, starting address of flash is 0XE4000000. and I use 4MB flash.
Am I use virtual address for first argument?
So I called ioremap() function with following line.
ioremap(0xE4000000, 1024*1024*4);
Am I correct?
Please answer my question...
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
reply other threads:[~2000-09-22 21:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='003701c024d9$e1f7f200$481877d3@ajou.ac.kr' \
--to=zzu@cesys.ajou.ac.kr \
--cc=linuxppc-embedded@lists.linuxppc.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).