Leaked source code of windows server 2003
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.

172 lines
10 KiB

  1. #define ACPI_ERROR_FORCED_SUPPLEMENT 0x0100
  2. #define ACPI_ERROR_FORCED_REPLACEMENT 0x0200
  3. /* Category */
  4. #define ACPI_ERROR_INITIALIZATION_CATEGORY 0x1000
  5. /* Errors within ACPI_ERROR_INITIALIZATION_CATEGORY */
  6. #define ACPI_ERROR_I_SCI_ENABLE_INDEX 0x01
  7. #define ACPI_ERROR_I_SCI_ENABLE (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  8. ACPI_ERROR_I_SCI_ENABLE_INDEX)
  9. #define ACPI_ERROR_I_RSDT_CHECKSUM_INDEX 0x02
  10. #define ACPI_ERROR_I_RSDT_CHECKSUM (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  11. ACPI_ERROR_I_RSDT_CHECKSUM_INDEX)
  12. #define ACPI_ERROR_I_NO_RSDT_INDEX 0x03
  13. #define ACPI_ERROR_I_NO_RSDT (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  14. ACPI_ERROR_I_NO_RSDT_INDEX)
  15. #define ACPI_ERROR_I_DSDT_SIGNATURE_INDEX 0x04
  16. #define ACPI_ERROR_I_DSDT_SIGNATURE (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  17. ACPI_ERROR_I_DSDT_SIGNATURE_INDEX)
  18. #define ACPI_ERROR_I_FACS_LENGTH_INDEX 0x05
  19. #define ACPI_ERROR_I_FACS_LENGTH (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  20. ACPI_ERROR_I_FACS_LENGTH_INDEX)
  21. #define ACPI_ERROR_I_FACS_SIGNATURE_INDEX 0x06
  22. #define ACPI_ERROR_I_FACS_SIGNATURE (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  23. ACPI_ERROR_I_FACS_SIGNATURE_INDEX)
  24. #define ACPI_ERROR_I_FOUND_FADT_LATE_INDEX 0x07
  25. #define ACPI_ERROR_I_FOUND_FADT_LATE (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  26. ACPI_ERROR_I_FOUND_FADT_LATE_INDEX)
  27. #define ACPI_ERROR_I_MISSING_FADT_FACS_DSDT_INDEX 0x08
  28. #define ACPI_ERROR_I_MISSING_FADT_FACS_DSDT (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  29. ACPI_ERROR_I_MISSING_FADT_FACS_DSDT_INDEX)
  30. #define ACPI_ERROR_I_CANT_CLEAR_PM_STATUS_INDEX 0x09
  31. #define ACPI_ERROR_I_CANT_CLEAR_PM_STATUS (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  32. ACPI_ERROR_I_CANT_CLEAR_PM_STATUS_INDEX)
  33. #define ACPI_ERROR_I_BROKEN_ENABLE_INDEX 0x0A
  34. #define ACPI_ERROR_I_BROKEN_ENABLE (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  35. ACPI_ERROR_I_BROKEN_ENABLE_INDEX)
  36. #define ACPI_I_GP_BLK_LEN_0_INDEX 0x0B
  37. #define ACPI_I_GP_BLK_LEN_0 (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  38. ACPI_I_GP_BLK_LEN_0_INDEX)
  39. #define ACPI_I_GP_BLK_LEN_1_INDEX 0x0C
  40. #define ACPI_I_GP_BLK_LEN_1 (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  41. ACPI_I_GP_BLK_LEN_1_INDEX)
  42. #define ACPI_I_GP0CM_WITH_NO_GP0_INDEX 0x0D
  43. #define ACPI_I_GP0CM_WITH_NO_GP0 (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  44. ACPI_I_GP0CM_WITH_NO_GP0_INDEX)
  45. #define ACPI_I_GP1CM_WITH_NO_GP1_INDEX 0x0E
  46. #define ACPI_I_GP1CM_WITH_NO_GP1 (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  47. ACPI_I_GP1CM_WITH_NO_GP1_INDEX)
  48. #define ACPI_I_GPCM_INDEX_TOO_HIGH_INDEX 0x0F
  49. #define ACPI_I_GPCM_INDEX_TOO_HIGH (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  50. ACPI_I_GPCM_INDEX_TOO_HIGH_INDEX)
  51. #define ACPI_ERROR_I_NO_PBLK_INDEX 0x10
  52. #define ACPI_ERROR_I_NO_PBLK (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  53. ACPI_ERROR_I_NO_PBLK_INDEX)
  54. #define ACPI_ERROR_I_BAD_S1_INDEX 0x11
  55. #define ACPI_ERROR_I_BAD_S1 (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  56. ACPI_ERROR_I_BAD_S1_INDEX)
  57. #define ACPI_ERROR_I_BAD_S2_INDEX 0x12
  58. #define ACPI_ERROR_I_BAD_S2 (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  59. ACPI_ERROR_I_BAD_S2_INDEX)
  60. #define ACPI_ERROR_I_BAD_S3_INDEX 0x13
  61. #define ACPI_ERROR_I_BAD_S3 (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  62. ACPI_ERROR_I_BAD_S3_INDEX)
  63. #define ACPI_ERROR_I_BAD_S4_INDEX 0x14
  64. #define ACPI_ERROR_I_BAD_S4 (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  65. ACPI_ERROR_I_BAD_S4_INDEX)
  66. #define ACPI_ERROR_I_BAD_S5_INDEX 0x15
  67. #define ACPI_ERROR_I_BAD_S5 (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  68. ACPI_ERROR_I_BAD_S5_INDEX)
  69. #define ACPI_ERROR_I_0_CSTATE_LATENCY_INDEX 0x16
  70. #define ACPI_ERROR_I_0_CSTATE_LATENCY (ACPI_ERROR_INITIALIZATION_CATEGORY + \
  71. ACPI_ERROR_I_0_CSTATE_LATENCY_INDEX)
  72. #define ACPI_ERROR_INTERPRETER_CATEGORY 0x2000
  73. #define ACPI_ERROR_INT_RETURNED_FAILURE_INDEX 0x01
  74. #define ACPI_ERROR_INT_RETURNED_FAILURE (ACPI_ERROR_INTERPRETER_CATEGORY + \
  75. ACPI_ERROR_INT_RETURNED_FAILURE_INDEX)
  76. #define ACPI_ERROR_INT_BAD_TABLE_CHECKSUM_INDEX 0x02
  77. #define ACPI_ERROR_INT_BAD_TABLE_CHECKSUM (ACPI_ERROR_INTERPRETER_CATEGORY + \
  78. ACPI_ERROR_INT_BAD_TABLE_CHECKSUM_INDEX)
  79. #define ACPI_ERROR_EVENTHANDLER_CATEGORY 0x3000
  80. #define ACPI_ERROR_E_STUCK_STATUS_INDEX 0x01
  81. #define ACPI_ERROR_E_STUCK_STATUS (ACPI_ERROR_EVENTHANDLER_CATEGORY + \
  82. ACPI_ERROR_E_STUCK_STATUS_INDEX)
  83. #define ACPI_ERROR_THERMAL_CATEGORY 0x4000
  84. #define ACPI_ERROR_T_ODD_THERMAL_BRANCH_INDEX 0x01
  85. #define ACPI_ERROR_T_ODD_THERMAL_BRANCH (ACPI_ERROR_THERMAL_CATEGORY + \
  86. ACPI_ERROR_T_ODD_THERMAL_BRANCH_INDEX)
  87. #define ACPI_ERROR_T_CRT_OUT_OF_BOUNDS_INDEX 0x02
  88. #define ACPI_ERROR_T_CRT_OUT_OF_BOUNDS (ACPI_ERROR_THERMAL_CATEGORY + \
  89. ACPI_ERROR_T_CRT_OUT_OF_BOUNDS_INDEX)
  90. #define ACPI_ERROR_T_INVALID_TSP_INDEX 0x03
  91. #define ACPI_ERROR_T_INVALID_TSP (ACPI_ERROR_THERMAL_CATEGORY + \
  92. ACPI_ERROR_T_INVALID_TSP_INDEX)
  93. #define ACPI_ERROR_T_INVALID_DUTY_WIDTH_OR_OFFSET_INDEX 0x04
  94. #define ACPI_ERROR_T_INVALID_DUTY_WIDTH_OR_OFFSET (ACPI_ERROR_THERMAL_CATEGORY + \
  95. ACPI_ERROR_T_INVALID_DUTY_WIDTH_OR_OFFSET_INDEX)
  96. #define ACPI_ERROR_T_CANT_EVAL_TMP_INDEX 0x05
  97. #define ACPI_ERROR_T_CANT_EVAL_TMP (ACPI_ERROR_THERMAL_CATEGORY + \
  98. ACPI_ERROR_T_CANT_EVAL_TMP_INDEX)
  99. #define ACPI_ERROR_T_INVALID_TMP_INDEX 0x06
  100. #define ACPI_ERROR_T_INVALID_TMP (ACPI_ERROR_THERMAL_CATEGORY + \
  101. ACPI_ERROR_T_INVALID_TMP_INDEX)
  102. #define ACPI_ERROR_T_NO_PSV_INDEX 0x07
  103. #define ACPI_ERROR_T_NO_PSV (ACPI_ERROR_THERMAL_CATEGORY + \
  104. ACPI_ERROR_T_NO_PSV_INDEX)
  105. #define ACPI_ERROR_T_0_DUTY_WIDTH_INDEX 0x08
  106. #define ACPI_ERROR_T_0_DUTY_WIDTH (ACPI_ERROR_THERMAL_CATEGORY + \
  107. ACPI_ERROR_T_0_DUTY_WIDTH_INDEX)
  108. #define ACPI_ERROR_T_ACTP_OUT_OF_BOUNDS_INDEX 0x09
  109. #define ACPI_ERROR_T_ACTP_OUT_OF_BOUNDS (ACPI_ERROR_THERMAL_CATEGORY + \
  110. ACPI_ERROR_T_ACTP_OUT_OF_BOUNDS_INDEX)
  111. #define ACPI_ERROR_DEVICE_PM_CATEGORY 0x5000
  112. #define ACPI_ERROR_D_INVALID_SYSTEM_LEVEL_INDEX 0x01
  113. #define ACPI_ERROR_D_INVALID_SYSTEM_LEVEL (ACPI_ERROR_DEVICE_PM_CATEGORY + \
  114. ACPI_ERROR_D_INVALID_SYSTEM_LEVEL_INDEX)