Re: large memory support for x86

From: Brian Gerst (bgerst@didntduck.org)
Date: Fri Oct 13 2000 - 14:07:42 EST


Timur Tabi wrote:
>
> ** Reply to message from Ingo Molnar <mingo@elte.hu> on Fri, 13 Oct 2000
> 20:44:19 +0200 (CEST)
>
> > processes are not limited to a single segment, eg. Wine uses nonstandard
> > segments. But as i said, using multiple segments does not let you out of
> > 32 bits of virtual memory.
>
> Sure it does, just like segments let 16-bit apps access more than 64KB of
> memory. If you have two selectors, each one can point to a different physical
> base address, and IIRC, the size of the physical address base can be 36 bits.
> That gives you 16 physically contiguous 4GB memory blocks.

You missed the point. The layering on the X86 memory managment is such:

   Segment
      |
Virtual Address <- limited to 32 bits
      |
Physical Address

Segmentation never directly gives you a physical address, even in real
mode. Although in real mode virtual address is hardwired to physical
address. Virtual addresses are always 32 bits on the x86. In real
mode, in protected mode, and with PAE enabled.

--

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



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:25 EST