home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / arch / 10925 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  2.8 KB

  1. Path: sparky!uunet!think.com!ames!sgi!mips!mips.com!woodacre
  2. From: woodacre@mips.com (Michael Woodacre)
  3. Newsgroups: comp.arch
  4. Subject: Re: DEC Alpha architecture issues
  5. Followup-To: comp.arch
  6. Date: 19 Nov 1992 16:14:59 GMT
  7. Organization: Mips Technologies, Inc.
  8. Lines: 53
  9. Distribution: world
  10. Message-ID: <lgnfc3INNqnt@spim.mti.sgi.com>
  11. References: <1992Nov18.210416.27212@nntpd.lkg.dec.com>
  12. Reply-To: woodacre@mips.com (Michael Woodacre)
  13. NNTP-Posting-Host: krell.mti.sgi.com
  14.  
  15. In article <1992Nov18.210416.27212@nntpd.lkg.dec.com>,
  16. dipirro@star.dec.com (Steve DiPirro) writes:
  17. > In article <1992Nov18.112407.2518@doug.cae.wisc.edu>,
  18. keiths@cae.wisc.edu (Keith Scidmore) writes...
  19. > >2. The Alpha architecture also includes a feature they call PALcode that
  20. > >   allows the chip to have a sort of rom-bios.  Why is it useful to have
  21. > >   this feature?  Supposedly Operating systems can make use of this for
  22. > >   the implementation of certain system calls.
  23. > PALcode allows for the implementation of uniprocessor-atomic
  24. > "instructions" which are actually a sequence of Alpha instructions.
  25. > It allows the architecture to remain pure RISC and not compromise
  26. > performance to implement some complex instructions. This was very
  27. > useful in the port of VMS to Alpha.
  28.  
  29. Can you explain how this is different from kernel code with interrupts
  30. disabled on any other risc processor? For instance, an R4000 can
  31. implement uniprocessor-atomic "instructions" which are sequences of
  32. MIPS instructions to implement complex functions by running code
  33. in kernel level with interrupts switched off.
  34.  
  35. > Take the VAX REI instruction as an example. This is a very complex
  36. > VAX instruction and is implemented in PALcode on Alpha (for VMS).
  37. > So there is no need to burden the base architecture with the
  38. > implementation of an REI instruction. Instead, you have a "subroutine"
  39. > of sorts which executes in the special PALcode environment.
  40. > Very few PALcode instructions were actually needed to port VMS to
  41. > Alpha, but some we could not do without (without considerable work,
  42. > that is).
  43. > PALcode is also a convenient place to handle device interrupts and
  44. > exceptions and provide the expected OS interfaces at that level.
  45. > Specific OS knowledge can also be built into PALcode, such as pagetable
  46. > formats, etc. allowing such things as TB invalidates to be handled
  47. > by PALcode. For VMS, PALcode also handles unaligned data reference
  48. > fixups, providing an optional exception through the SCB when one occurs.
  49. > ------------
  50. > Steve DiPirro        dipirro@star.dec.com
  51. >                      --or-- ...!decwrl!star.dec.com!dipirro
  52. >                      --or-- dipirro%star.dec@decwrl.dec.com
  53. > ------------
  54.  
  55.    Michael S. Woodacre | Phone: (415) 390 4175
  56. UUCP: {ames,pyramid,decwrl}!mips!woodacre OR woodacre@sgi.com
  57. USPS: MIPS Technologies Inc, M/S 10U-178,
  58.       2011 N. Shoreline Blvd, Mountain View, CA 94039
  59.  
  60.  
  61.  
  62.