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

From: Ben Johnson
Date: Tue Sep 16 2003 - 21:33:24 EST


On Tue, Sep 16, 2003 at 07:10:45PM -0700, William Lee Irwin III wrote:
>
> The way the extra data segment registers are used is by explicitly
> qualifying operands with segments.

ah! now that makes sense.

So, I'm guessing the DS register is used by default to select the base
address for all non-stack oriented operations. And I bet the SS
register is used by default for stack oriented operations, and all ops
that act on %esp (and %ebp?). I think that make my life easier.

Thanks a lot!

- 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/