All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Ben Johnson <ben@blarg.net>
Cc: "Martin J. Bligh" <mbligh@aracnet.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: linear vs. logical addresses?  how does cpu interpret kernel addrs?
Date: Tue, 16 Sep 2003 19:10:45 -0700	[thread overview]
Message-ID: <20030917021045.GY4306@holomorphy.com> (raw)
In-Reply-To: <20030916190723.A26053@blarg.net>

On Tue, Sep 16, 2003 at 06:55:27PM -0700, William Lee Irwin III wrote:
>> You might want to look at intel's volume 3. They're kept in dedicated
>> registers separate from the pointers and used implicitly.

On Tue, Sep 16, 2003 at 07:07:23PM -0700, Ben Johnson wrote:
> I've been reading that too.  The problem is that there are 6 segment
> selector registers and 4 of those are just for data segments.  several
> data segments can be in use simultaneously and they can all have
> different base addresses and limits.  The only explanation I've found so
> far about how a segment is chosen is that logical address are 48-bit
> values, yet sizeof(void *) == 4.  there has to be a way to match up
> pointer with a segment, but I am unable to find it so far.  (maybe I
> need a nap.)

Logical addresses aren't 48-bit; they're just offset from linear (and
vice-versa).

The way the extra data segment registers are used is by explicitly
qualifying operands with segments.


-- wli

  reply	other threads:[~2003-09-17  2:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16 22:47 linear vs. logical addresses? how does cpu interpret kernel addrs? Ben Johnson
2003-09-17  0:48 ` Martin J. Bligh
2003-09-17  0:54   ` William Lee Irwin III
2003-09-17  0:58     ` Martin J. Bligh
2003-09-17  1:44       ` Ben Johnson
2003-09-17  1:55         ` William Lee Irwin III
2003-09-17  2:07           ` Ben Johnson
2003-09-17  2:10             ` William Lee Irwin III [this message]
2003-09-17  2:32               ` Ben Johnson
2003-09-17  2:10         ` Felipe Alfaro Solana
2003-09-17 11:39 ` Richard B. Johnson
2003-09-17 19:42   ` Ben Johnson
2003-09-17 20:05     ` Richard B. Johnson
2003-09-17 20:44       ` Jamie Lokier

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=20030917021045.GY4306@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=ben@blarg.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.