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.

172 lines
4.0 KiB

  1. /*++ BUILD Version: 0002 // Increment this if a change has global effects
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. exboosts.h
  5. Abstract:
  6. This file contains all of the Priority boots numbers used by the NT
  7. executive.
  8. Author:
  9. Steve Wood (stevewo) 03-Jun-1989
  10. Revision History:
  11. --*/
  12. // begin_ntddk begin_wdm begin_ntifs begin_ntosp
  13. //
  14. // Priority increment definitions. The comment for each definition gives
  15. // the names of the system services that use the definition when satisfying
  16. // a wait.
  17. //
  18. //
  19. // Priority increment used when satisfying a wait on an executive event
  20. // (NtPulseEvent and NtSetEvent)
  21. //
  22. #define EVENT_INCREMENT 1
  23. // end_ntddk end_wdm end_ntifs end_ntosp
  24. //
  25. // Priority increment used when satisfying a wait on an executive event pair
  26. //
  27. #define EVENT_PAIR_INCREMENT 1
  28. //
  29. // Priority increment used when satisfying a wait on a semaphore used for
  30. // LPC communication.
  31. //
  32. #define LPC_RELEASE_WAIT_INCREMENT 1
  33. // begin_ntddk begin_wdm begin_ntifs begin_ntosp
  34. //
  35. // Priority increment when no I/O has been done. This is used by device
  36. // and file system drivers when completing an IRP (IoCompleteRequest).
  37. //
  38. #define IO_NO_INCREMENT 0
  39. //
  40. // Priority increment for completing CD-ROM I/O. This is used by CD-ROM device
  41. // and file system drivers when completing an IRP (IoCompleteRequest)
  42. //
  43. #define IO_CD_ROM_INCREMENT 1
  44. //
  45. // Priority increment for completing disk I/O. This is used by disk device
  46. // and file system drivers when completing an IRP (IoCompleteRequest)
  47. //
  48. #define IO_DISK_INCREMENT 1
  49. // end_ntifs
  50. //
  51. // Priority increment for completing keyboard I/O. This is used by keyboard
  52. // device drivers when completing an IRP (IoCompleteRequest)
  53. //
  54. #define IO_KEYBOARD_INCREMENT 6
  55. // begin_ntifs
  56. //
  57. // Priority increment for completing mailslot I/O. This is used by the mail-
  58. // slot file system driver when completing an IRP (IoCompleteRequest).
  59. //
  60. #define IO_MAILSLOT_INCREMENT 2
  61. // end_ntifs
  62. //
  63. // Priority increment for completing mouse I/O. This is used by mouse device
  64. // drivers when completing an IRP (IoCompleteRequest)
  65. //
  66. #define IO_MOUSE_INCREMENT 6
  67. // begin_ntifs
  68. //
  69. // Priority increment for completing named pipe I/O. This is used by the
  70. // named pipe file system driver when completing an IRP (IoCompleteRequest).
  71. //
  72. #define IO_NAMED_PIPE_INCREMENT 2
  73. //
  74. // Priority increment for completing network I/O. This is used by network
  75. // device and network file system drivers when completing an IRP
  76. // (IoCompleteRequest).
  77. //
  78. #define IO_NETWORK_INCREMENT 2
  79. // end_ntifs
  80. //
  81. // Priority increment for completing parallel I/O. This is used by parallel
  82. // device drivers when completing an IRP (IoCompleteRequest)
  83. //
  84. #define IO_PARALLEL_INCREMENT 1
  85. //
  86. // Priority increment for completing serial I/O. This is used by serial device
  87. // drivers when completing an IRP (IoCompleteRequest)
  88. //
  89. #define IO_SERIAL_INCREMENT 2
  90. //
  91. // Priority increment for completing sound I/O. This is used by sound device
  92. // drivers when completing an IRP (IoCompleteRequest)
  93. //
  94. #define IO_SOUND_INCREMENT 8
  95. //
  96. // Priority increment for completing video I/O. This is used by video device
  97. // drivers when completing an IRP (IoCompleteRequest)
  98. //
  99. #define IO_VIDEO_INCREMENT 1
  100. // end_ntddk end_wdm
  101. //
  102. // Priority increment used when satisfying a wait on an executive mutant
  103. // (NtReleaseMutant)
  104. //
  105. #define MUTANT_INCREMENT 1
  106. // begin_ntddk begin_wdm begin_ntifs
  107. //
  108. // Priority increment used when satisfying a wait on an executive semaphore
  109. // (NtReleaseSemaphore)
  110. //
  111. #define SEMAPHORE_INCREMENT 1
  112. // end_ntddk end_wdm end_ntifs end_ntosp
  113. //
  114. // Priority increment used when queuing an APC for an executive timer.
  115. //
  116. #define TIMER_APC_INCREMENT 0
  117. //
  118. // Priority increment used to get slow exclusive eresource holders
  119. // moving again.
  120. //
  121. #define ERESOURCE_INCREMENT 4