osf1pal.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /*
  2. * OSF/1 PALcode instructions, in numerical order.
  3. * Values are from Digital EBSDK and FreeBSD/Alpha.
  4. */
  5. /* Privilaged PAL functions */
  6. #define PALhalt 0x00 /* required per Alpha architecture */
  7. #define PALcflush 0x01
  8. #define PALdraina 0x02 /* required per Alpha architecture */
  9. /*
  10. * ... 0x03 to 0x08 ?
  11. */
  12. #define PALcserve 0x09
  13. #define PALswppal 0x0a
  14. /*
  15. * ... 0x0b to 0x0c ?
  16. */
  17. #define PALwripir 0x0d
  18. /*
  19. * ... 0x0e to 0x0f ?
  20. */
  21. #define PALrdmces 0x10
  22. #define PALwrmces 0x11
  23. /*
  24. * ... 0x12 to 0x2a ?
  25. */
  26. #define PALwrfen 0x2b
  27. /* 0x2c OSF/1 ? */
  28. #define PALwrvptptr 0x2d
  29. /*
  30. * ... 0x2e to 0x2f ?
  31. */
  32. #define PALswpctx 0x30
  33. #define PALwrval 0x31
  34. #define PALrdval 0x32
  35. #define PALtbi 0x33
  36. #define PALwrent 0x34
  37. #define PALswpipl 0x35
  38. #define PALrdps 0x36
  39. #define PALwrkgp 0x37
  40. #define PALwrusp 0x38
  41. #define PALwrperfmon 0x39
  42. #define PALrdusp 0x3a
  43. /* 0x3b OSF/1 ? */
  44. #define PALwhami 0x3c
  45. #define PALretsys 0x3d
  46. #define PALwtint 0x3e
  47. #define PALrti 0x3f
  48. /* Unprivileged PAL functions */
  49. #define PALbpt 0x80
  50. #define PALbugchk 0x81
  51. #define PALcallsys 0x83
  52. #define PALimb 0x86 /* required per Alpha architecture */
  53. /*
  54. * ... 0x89 to 0x91 ?
  55. */
  56. #define PALurti 0x92
  57. /*
  58. * ... 0x93 to 0x9d ?
  59. */
  60. #define PALrdunique 0x9e
  61. #define PALwrunique 0x9f
  62. /*
  63. * ... 0xa0 to 0xa9 ?
  64. */
  65. #define PALgentrap 0xaa
  66. /*
  67. * ... 0xab to 0xac ?
  68. */
  69. #define PALdbgstop 0xad
  70. #define PALclrfen 0xae
  71. /*
  72. * ... 0xaf to 0xbd ?
  73. */
  74. #define PALnphalt 0xbe
  75. #define PALcopypal 0xbf