LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Akash kaul <akashkaul13@yahoo.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: query regarding access of physical memory from user space
Date: Fri, 11 Feb 2005 20:53:37 -0800 (PST)	[thread overview]
Message-ID: <20050212045337.53362.qmail@web14427.mail.yahoo.com> (raw)

Hi

Some more doubts about the same thing.

As I am aware, the MPC8260 does not have a separate
I/O address space. 
> Yes,The MPC8260 I/O address space is mapped into 
> the Processors address space itself i,e the 256 Kb
> Internal memory which can be located anywhere in the
> 4 GB adress space using the IMMR register

So,
with reference to my earlier mail, when do we need to
use ioremap() and when
do we need to use request_mem_region()? Or do we need
to use both in a
particular sequence?

> For the MPC8260 you can access the I/O region  
> directly without an need for mapping.U can access 
> it thru the IMMR base address value.And specific 
> registers can be accessed by adding the register 
> offset to this value

Also, if I just do an ioremap(), can I directly access
those remapped
addresses with inb()/outb() or writeb()/readb()? Or is
something more to be
done prior to accessing it?

> u dont have to do an ioremap



Regards

Vijay Padiyar

http://www.vijaypadiyar.eu.tf




		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

             reply	other threads:[~2005-02-12  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-12  4:53 Akash kaul [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-02-11 14:16 query regarding access of physical memory from user space Vijay Padiyar

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=20050212045337.53362.qmail@web14427.mail.yahoo.com \
    --to=akashkaul13@yahoo.com \
    --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