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

  1. Xref: sparky comp.arch:12444 comp.sys.hp:15416
  2. Newsgroups: comp.arch,comp.sys.hp
  3. Path: sparky!uunet!news!wrs.com!edm
  4. From: edm@wrs.com (Ed McClanahan)
  5. Subject: Re: HP-PA softw. virtual addr. translation HOW ?
  6. Message-ID: <edm.728181414@wrs.com>
  7. Keywords: HP-PA
  8. Sender: news@wrs.com (News Manager)
  9. Nntp-Posting-Host: chaos
  10. Organization: Wind River Systems, Inc.
  11. References: <1k6h9hINN6dm@news.cs.tu-berlin.de>
  12. Date: Thu, 28 Jan 1993 00:36:54 GMT
  13. Lines: 49
  14.  
  15. crusoe@cs.tu-berlin.de (Andre' Zehl) writes:
  16.  
  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. >Unfortunately HP's description of this translation is very vague. They
  22. >describe, that the virtual page number is hashed, thus providing a pointer
  23. >in a hashtable (the PDIR INdex) which provides a pointer in the physical
  24. >page directory (to chained PDIR-Entrys), where the page attributes are
  25. >stored (NOT the physical page number).
  26.  
  27. >The physical page number (ppn) is identical with the index from the
  28. >hashtable. But this only makes sense, if it's not the virtual page number (vpn)
  29. >which is hashed, but the physical page number, coming out of the
  30. >hardware translation? IS THIS SO ? Is the PDIR Index of the hashtable vpn 
  31. >the hashed ppn or the hashed ?
  32.  
  33. >I need help _very_ urgently, so evry little hint is appreciated _very_ much!
  34. >Thank you very much in advance! Please e-mail reply.
  35. >-- 
  36. >Andre'_________________________________________________________________________
  37. >                             crusoe@cs.tu-berlin.de
  38.  
  39. I suspect you are referencing an early PA 1.0 Architecture Reference Manual.
  40.  
  41. As I recall, those early manuals described a "suggested" VPN->PPN table
  42. structure involving what was then called a Hash Table which pointed to
  43. linked entries in what was then called the PDIR, or Page DIRectory.  This
  44. historical PDIR was indeed indexed by the PPN (Physical Page Number).  Each
  45. entry contained the Virtual Address associated with the corresponding
  46. Physical Address given by the position within the PDIR.  Each entry also
  47. contained a link to the next entry in the PDIR whiched "hashed" to the
  48. same position in the Hash Table.  Hence, to go from PA to VA was a simple
  49. PDIR table lookup.  To go from VA to PA involved applying the "hash function"
  50. to index into the Hash Table, then follow the links into and through the
  51. PDIR until a matching VA was found - the resultant PDIR slot yielding the PA.
  52.  
  53. All that has changed over the years...  The latter PA Ref Manuals dropped the
  54. "suggested" section mentioned above.  In fact, PDIR is what the old Hash
  55. Table is called now-a-days (in HP-UX).  Would anyone from HP care to comment
  56. on the current mechanisms used in HP-UX, MPEiX, and HP-RT???
  57.  
  58. Ed "formerly of HP" McClanahan
  59. -- 
  60.  
  61. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  62.  
  63.   Edward McClanahan
  64.