mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@didntduck.org>
To: Jason Yan <jasonyanjk@yahoo.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: initialize page tables --  Re: paging question
Date: Wed, 20 Feb 2002 15:30:36 -0500	[thread overview]
Message-ID: <3C74076C.C2606C95@didntduck.org> (raw)
In-Reply-To: <20020220195513.EIBW1236.tomts21-srv.bellnexxia.net@abc337>

Jason Yan wrote:
> 
> Thank you Dick
> 
> Oops, I use a wrong subject, what I want to ask is how the pg0 be initialized
> 
> in head.S,
> 
> 395 .org 0x2000
> 396 ENTRY(pg0)
> 
> so $pg0-__PAGE_OFFSET = 0x2000 - 0xC0000000 = 40002000, how comes bff00000 ?

That's offset 0x2000 from the beginning of head.o, which is at virtual
address 0xc0100000, meaning the final value of pg0 is 0xc0102000. 
Subtract __PAGE_OFFSET and you get physical address 0x00102000.

--

				Brian Gerst

  parent reply	other threads:[~2002-02-20 20:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-20 22:54 Jason Yan
2002-02-20 20:29 ` Richard B. Johnson
2002-02-20 20:30 ` Brian Gerst [this message]
2002-02-21  0:36 Jason Yan
2002-02-20 21:49 ` initialize " Brian Gerst
2002-02-21  1:13 Jason Yan

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=3C74076C.C2606C95@didntduck.org \
    --to=bgerst@didntduck.org \
    --cc=jasonyanjk@yahoo.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®