Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
3.5 KiB

  1. #ifndef _PALDEF_H_
  2. #define _PALDEF_H_
  3. // iA-64 defined PAL virtual mode function IDs in decimal format as in the PAL spec
  4. #define PAL_CACHE_FLUSH 1
  5. #define PAL_CACHE_INFO 2
  6. #define PAL_CACHE_INIT 3
  7. #define PAL_CACHE_PROT_INFO 38
  8. #define PAL_CACHE_SUMMARY 4
  9. #define PAL_PTCE_INFO 6
  10. #define PAL_VM_INFO 7
  11. #define PAL_VM_PAGE_SIZE 34
  12. #define PAL_VM_SUMMARY 8
  13. #define PAL_PERF_MON_INFO 15
  14. #define PAL_MC_CLEAR_LOG 21
  15. #define PAL_MC_DRAIN 22
  16. #define PAL_MC_ERROR_INFO 25
  17. #define PAL_HALT 28
  18. #define PAL_HALT_INFO 257
  19. #define PAL_HALT_LIGHT 29
  20. #define PAL_SHUTDOWN 44
  21. // iA-64 defined PAL physical mode function IDs in decimal format as in the PAL spec
  22. #define PAL_VM_TR_READ 261
  23. #define PAL_MEM_ATTRIB 5
  24. #define PAL_BUS_GET_FEATURES 9
  25. #define PAL_BUS_SET_FEATURES 10
  26. #define PAL_DEBUG_INFO 11
  27. #define PAL_FIXED_ADDR 12
  28. #define PAL_FREQ_BASE 13
  29. #define PAL_FREQ_RATIOS 14
  30. #define PAL_PLATFORM_ADDR 16
  31. #define PAL_PROC_GET_FEATURES 17
  32. #define PAL_PROC_SET_FEATURES 18
  33. #define PAL_REGISTER_INFO 39
  34. #define PAL_RSE_INFO 19
  35. #define PAL_VERSION 20
  36. #define PAL_MC_DYNAMIC_STATE 24
  37. #define PAL_MC_EXPECTED 23
  38. #define PAL_MC_REGISTER_MEM 27
  39. #define PAL_MC_RESUME 26
  40. #define PAL_CACHE_LINE_INIT 31
  41. #define PAL_CACHE_READ 259
  42. #define PAL_CACHE_WRITE 260
  43. #define PAL_MEM_FOR_TEST 37
  44. #define PAL_TEST_PROC 258
  45. #define PAL_COPY_INFO 30
  46. #define PAL_COPY_PAL 256
  47. #define PAL_ENTER_IA_32_ENV 33
  48. #define PAL_PMI_ENTRYPOINT 32
  49. //
  50. // iA-64 defined PAL return values
  51. //
  52. #define PAL_STATUS_INVALID_CACHELINE 1
  53. #define PAL_STATUS_SUCCESS 0
  54. #define PAL_STATUS_NOT_IMPLEMENTED -1
  55. #define PAL_STATUS_INVALID_ARGUMENT -2
  56. #define PAL_STATUS_ERROR -3
  57. #define PAL_STATUS_UNABLE_TO_INIT_CACHE_LEVEL_AND_TYPE -4
  58. #define PAL_STATUS_NOT_FOUND_IN_CACHE -5
  59. #define PAL_STATUS_NO_ERROR_INFO_AVAILABLE -6
  60. #endif // PALDEF_H