home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / 3b1 / 3842 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.9 KB  |  37 lines

  1. Newsgroups: comp.sys.3b1
  2. Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!n8emr!colnet!res
  3. From: res@colnet.cmhnet.org (Rob Stampfli)
  4. Subject: Re: Unix system V question
  5. Message-ID: <1992Nov17.030321.26773@colnet.cmhnet.org>
  6. Organization: Little to None
  7. References: <1992Nov14.214445.24434@athena.mit.edu> <93473@rphroy.ph.gmr.com>
  8. Date: Tue, 17 Nov 1992 03:03:21 GMT
  9. Lines: 26
  10.  
  11. >There are 1024 4K pages, thus giving the 4MB virtual memory limit.
  12. >Along with the 12 address bits for each page, there are 4 other protection
  13. >bits.  I believe these are read, write, and execute permission, plus a
  14. >page modified bit.  
  15.  
  16. The MMU is configured into 1024 16 bit words, which map the 1024 pages of
  17. virtual memory to their physical counterparts.  Ten of these 16 bits contain
  18. MA21-MA12, the high order bits of the physical address the MMU translates a
  19. virtual memory reference to.  Another 2 bits (PS0 and PS1) contain state
  20. information about the status of the virtual memory:  whether the page is
  21. (0) unallocated, (1) allocated (valid) but not yet accessed, (2) *has*
  22. been accessed (which should be used to determine which pages are part of
  23. the processes' working set, but which in reality is ignored by the kernel),
  24. or (3) *has* been written-to (dirtied).  In addition, there is a bit which
  25. indicates whether the memory is writeable.  Three bits are unused and
  26. available for future expansion.  They are nominally zero, and I don't know
  27. what the effect of setting them is.  The MMU is located at physcial address
  28. x400000 - x4007FF and consists of high speed static RAM.
  29.  
  30. Note that there is no read or execute bits.  The kernel can read or execute
  31. from any allocated page.  A user process can do the same except that there
  32. is a hardware prohibition against a user process reading from the first 1/2
  33. Meg of virtual memory.
  34. -- 
  35. Rob Stampfli  rob@colnet.cmhnet.org      The neat thing about standards:
  36. 614-864-9377  HAM RADIO: kd8wk@n8jyv.oh  There are so many to choose from.
  37.