9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "ron minnich" <rminnich@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] double-mapping KZERO in l.s
Date: Wed, 22 Aug 2007 19:02:08 -0400	[thread overview]
Message-ID: <13426df10708221602l51238c48x2e4d6999891fc158@mail.gmail.com> (raw)
In-Reply-To: <0e977e85c6ff64d54bac0b0301754f40@coraid.com>

On 8/22/07, erik quanstrom <quanstro@coraid.com> wrote:
> perhaps this is completely obvious, but why are the first
> 4 mb double-mapped in l.s at virtual address 0 and KZERO?
>

you start out executing with real memory addresses, i.e. you are
executing code at 0x100000 not at KZERO+0x100000. There is a period of
time where you are executing at those low addresses, then you pop up
to KZERO space and you blow away the low mappings by clearing
PDO(KZERO).

ron


  reply	other threads:[~2007-08-22 23:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22 21:51 erik quanstrom
2007-08-22 23:02 ` ron minnich [this message]
2007-08-22 23:44   ` erik quanstrom
2007-08-23  1:42     ` ron minnich
2007-08-23  1:54       ` erik quanstrom

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=13426df10708221602l51238c48x2e4d6999891fc158@mail.gmail.com \
    --to=rminnich@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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).