home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / dec / 4212 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.sys.dec
  2. Path: sparky!uunet!gatech!destroyer!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!rdg.dec.com!ryn.mro4.dec.com!wrksys.enet.dec.com!bhandarkar
  3. From: bhandarkar@wrksys.enet.dec.com (Dileep Bhandarkar)
  4. Subject: Re: VAX question
  5. Message-ID: <1992Jul27.134542.4845@ryn.mro4.dec.com>
  6. Sender: news@ryn.mro4.dec.com (USENET News System)
  7. Organization: Digital Equipment Corporation
  8. References:   <1992Jul26.015003.1@matrix.cs.wright.edu>
  9. Date: 27 JUL 92 09:40:37    
  10. Lines: 18
  11.  
  12.  
  13. In article <1992Jul26.015003.1@matrix.cs.wright.edu>, dwagoner@matrix.cs.wright.edu writes...
  14. >Can anyone explain the difference between P0 and P1 space on a VAX?
  15. >Text and initialized data segments (on BSD 4.3, at least) wind up 
  16. >in P0 space; unitialized data (i.e. stack) is  placed in P1 space.
  17. >The two regions are accessed using different base registers; P1 is
  18. >a bit tricky to work with in comparison to P0.
  19. >Explanations to this ignorant layman are appreciated...
  20. The P0 space begins at virtual address 0 and grows in the direction of larger
  21. addresses. P1 starts at virtual address 2**31-1 and grows in the direction of
  22. smaller addresses. Since the P1 region grows towards smaller addresses, the
  23. base and length registers describe the part of P1 space that is not accessible.
  24.  
  25. Dileep
  26.