linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Alan Mimms <alan@packetengines.com>
To: LiuTao <tliu@ict.ac.cn>,
	"linuxppc-embedded@lists.linuxppc.org"
	<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: What does KERNELBASE mean?
Date: Tue, 4 Jan 2000 21:11:15 -0800	[thread overview]
Message-ID: <00010421122803.00773@alan.corp.packetengines.com> (raw)
In-Reply-To: <3872CF70.45BCE11C@ict.ac.cn>


KERNELBASE is the virtual address the physical RAM is mapped to.

On most kernels on PowerPC this is 0xC0000000.  If you subtract KERNELBASE from
a virtual address, you get its physical address in RAM, since PowerPC platforms
more or less universally define that RAM starts at 0x00000000.  Hence the name
TOPHYS.

a

On Tue, 04 Jan
2000, LiuTao wrote: > Hi:
> 
> In linux/arch/ppc/kernel/head.S, what does KERNELBASE mean?
> What does the following mean?
> ".long	TOPHYS(__start),0,0"
> 
> Thanks.
> 
> LiuTao
-- 
Alan Mimms     Packet Engines, Inc.     Spokane, Washington [99214-0497]
  USA, Earth, Sol, Milky Way, The Local Group, Virgo Supercluster, U0
Despite the cost of living, have you noticed how popular it remains?
  -- Steven Wright?

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      parent reply	other threads:[~2000-01-05  5:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-05  4:58 What does KERNELBASE mean? LiuTao
2000-01-05  5:07 ` Alan Mimms
2000-01-05  5:11 ` Alan Mimms [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=00010421122803.00773@alan.corp.packetengines.com \
    --to=alan@packetengines.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=tliu@ict.ac.cn \
    /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).