home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / arch / 10899 < prev    next >
Encoding:
Text File  |  1992-11-18  |  2.2 KB  |  46 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!star.dec.com!dipirro
  3. From: dipirro@star.dec.com (Steve DiPirro)
  4. Subject: Re: DEC Alpha architecture issues
  5. Message-ID: <1992Nov18.210416.27212@nntpd.lkg.dec.com>
  6. Sender: usenet@nntpd.lkg.dec.com (USENET News System)
  7. Organization: Digital Equipment Corporation
  8. Date: Wed, 18 Nov 1992 20:55:44 GMT
  9. Lines: 35
  10.  
  11.  
  12. In article <1992Nov18.112407.2518@doug.cae.wisc.edu>, keiths@cae.wisc.edu (Keith Scidmore) writes...
  13. >2. The Alpha architecture also includes a feature they call PALcode that
  14. >   allows the chip to have a sort of rom-bios.  Why is it useful to have
  15. >   this feature?  Supposedly Operating systems can make use of this for
  16. >   the implementation of certain system calls.
  17.  
  18. PALcode allows for the implementation of uniprocessor-atomic
  19. "instructions" which are actually a sequence of Alpha instructions.
  20. It allows the architecture to remain pure RISC and not compromise
  21. performance to implement some complex instructions. This was very
  22. useful in the port of VMS to Alpha.
  23.  
  24. Take the VAX REI instruction as an example. This is a very complex
  25. VAX instruction and is implemented in PALcode on Alpha (for VMS).
  26. So there is no need to burden the base architecture with the
  27. implementation of an REI instruction. Instead, you have a "subroutine"
  28. of sorts which executes in the special PALcode environment.
  29.  
  30. Very few PALcode instructions were actually needed to port VMS to
  31. Alpha, but some we could not do without (without considerable work,
  32. that is).
  33.  
  34. PALcode is also a convenient place to handle device interrupts and
  35. exceptions and provide the expected OS interfaces at that level.
  36. Specific OS knowledge can also be built into PALcode, such as pagetable
  37. formats, etc. allowing such things as TB invalidates to be handled
  38. by PALcode. For VMS, PALcode also handles unaligned data reference
  39. fixups, providing an optional exception through the SCB when one occurs.
  40.  
  41. ------------
  42. Steve DiPirro        dipirro@star.dec.com
  43.                      --or-- ...!decwrl!star.dec.com!dipirro
  44.                      --or-- dipirro%star.dec@decwrl.dec.com
  45. ------------
  46.