Re: linear vs. logical addresses? how does cpu interpret kernel addrs?

From: Ben Johnson
Date: Tue Sep 16 2003 - 20:45:01 EST


On Tue, Sep 16, 2003 at 05:58:08PM -0700, Martin J. Bligh wrote:
>
> BTW, to the original question ... chapter 2 of "Understanding the Linux Kernel"
> had a good explanation of all this.

Thank you. I've been reading the first addition. is there a second?
the second chapter has a very good explanation of paging and how linear
addresses are used. logical addresses on the other hand are barely
mentioned. Segmentation is described well, but the translation of
logical into linear addresses is not described.

I've read elsewhere that logical addresses are comprised of a 16-bit
segment selector and a 32-bit offset. I thought pointers were always
exactly 32-bits (on 32-bit intel). where is the 16-bit selector?

Thanks again.

- Ben
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/