Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: ivie@cc.usu.edu (CP/M lives!)
Subject: Re: VAX question
Date: 27 Jul 92 10:44:42 MDT	[thread overview]
Message-ID: <1992Jul27.104443.57514@cc.usu.edu> (raw)
In-Reply-To: 1992Jul27.134542.4845@ryn.mro4.dec.com

In article <1992Jul27.134542.4845@ryn.mro4.dec.com>, bhandarkar@wrksys.enet.dec.com (Dileep Bhandarkar) writes:
> The P0 space begins at virtual address 0 and grows in the direction of larger
> addresses. P1 starts at virtual address 2**31-1 and grows in the direction of
> smaller addresses. Since the P1 region grows towards smaller addresses, the
> base and length registers describe the part of P1 space that is not accessible.

I think that the reason for this is so that you can put the user stack
way the heck up there in the address space without having to have a page
table large enough to map the entire virtual space for each process. If you
put the stack at the top of P0 space, for instance, the page table for the
process would have to have enough entries to map all of P0 space. Since most
of P0 space is unused, it doesn't make sense to require the page table to
include all of it.

Separating the stack into P1 space and making P1 space grow down lets the
machine keep the stack in a separate page table.

RISC processors sidestep the issue by pushing page table lookup into
softwareland.

Roger Ivie
ivie@cc.usu.edu


      reply	other threads:[~1992-07-27 16:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-07-26  5:50 VAX question dwagoner
1992-07-26 21:19 ` Boyd Roberts
1992-07-26 22:39   ` VAX question (P0/P1 space) Eliot Moss
1992-07-27 21:24     ` Paul Dormitzer
1992-07-28 15:51       ` Paul Dormitzer
1992-08-05 10:28       ` reading E-net address on DecStation 3100 Delamper Lukas
1992-08-05 17:03         ` Gary A. Gaudet
1992-08-07 12:31           ` E.C. Loyd
1992-08-10  5:23             ` Peter Kaiser
1992-07-27 13:40 ` VAX question Dileep Bhandarkar
1992-07-27 16:44   ` CP/M lives! [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox