home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / arch / 12420 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.6 KB

  1. Xref: sparky comp.arch:12420 comp.sys.hp:15370
  2. Newsgroups: comp.arch,comp.sys.hp
  3. Path: sparky!uunet!portal!sieler
  4. From: sieler@shell.portal.com (Stan Sieler)
  5. Subject: Re: HP-PA softw. virtual addr. translation HOW ?
  6. Message-ID: <C1JyD8.FK0@unix.portal.com>
  7. Followup-To: comp.arch,comp.sys.hp
  8. Sender: news@unix.portal.com
  9. Nntp-Posting-Host: jobe
  10. Organization: Portal Communications Company
  11. X-Newsreader: TIN [version 1.1 PL7]
  12. References: <1k6h9hINN6dm@news.cs.tu-berlin.de>
  13. Date: Thu, 28 Jan 1993 07:05:31 GMT
  14. Lines: 26
  15.  
  16. Andre' Zehl (crusoe@cs.tu-berlin.de) wrote:
  17. : I'm working on a preparation on the HP-PA RISC Architecture.I'm desparately
  18. : trying to figure out, how you administer the virtual to physical address
  19. : translation. 
  20. ... 
  21. : The physical page number (ppn) is identical with the index from the
  22. :hashtable. But this only makes sense, if it's not the virtual page number (vpn)
  23. : which is hashed, but the physical page number, coming out of the
  24. : hardware translation? IS THIS SO ? Is the PDIR Index of the hashtable vpn 
  25. the VPN is hashed.
  26. : the hashed ppn or the hashed ?
  27.  
  28. Each entry in the hash table points to the FIRST PPN in a linked list of all
  29. physical pages whose VPN hash to the same value.  Thus, you walk
  30. the linked list in the PDIR, examining each entry to see if its VPN matches
  31. the one you are looking for (presumably, the one you got a TLB miss on).
  32. If a match is found, you found it! (And the physical address is
  33. the PPN (which is based on the PDIR index as you noticed) plus the original
  34. bottom 11 or so bits (i.e.: virtual pages are aligned on physical page
  35. boundaries).
  36.  
  37. (I emailed a little more to him)
  38.  
  39. --
  40. Stan Sieler
  41. sieler@allegro.com
  42.