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.

263 lines
9.2 KiB

  1. ;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;
  3. ;Abstract:
  4. ;
  5. ; Constant definitions for the I/O error code log values.
  6. ;
  7. ;--*/
  8. ;
  9. ;#ifndef _MXLOG_
  10. ;#define _MXLOG_
  11. ;
  12. ;//
  13. ;// Status values are 32 bit values layed out as follows:
  14. ;//
  15. ;// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  16. ;// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  17. ;// +---+-+-------------------------+-------------------------------+
  18. ;// |Sev|C| Facility | Code |
  19. ;// +---+-+-------------------------+-------------------------------+
  20. ;//
  21. ;// where
  22. ;//
  23. ;// Sev - is the severity code
  24. ;//
  25. ;// 00 - Success
  26. ;// 01 - Informational
  27. ;// 10 - Warning
  28. ;// 11 - Error
  29. ;//
  30. ;// C - is the Customer code flag
  31. ;//
  32. ;// Facility - is the facility code
  33. ;//
  34. ;// Code - is the facility's status code
  35. ;//
  36. ;
  37. MessageIdTypedef=NTSTATUS
  38. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  39. Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
  40. Warning=0x2:STATUS_SEVERITY_WARNING
  41. Error=0x3:STATUS_SEVERITY_ERROR
  42. )
  43. FacilityNames=(System=0x0
  44. RpcRuntime=0x2:FACILITY_RPC_RUNTIME
  45. RpcStubs=0x3:FACILITY_RPC_STUBS
  46. Io=0x4:FACILITY_IO_ERROR_CODE
  47. Serial=0x6:FACILITY_SERIAL_ERROR_CODE
  48. )
  49. MessageId=0x0001 Facility=Serial Severity=Informational SymbolicName=SERIAL_KERNEL_DEBUGGER_ACTIVE
  50. Language=English
  51. The kernel debugger is already using %2.
  52. .
  53. MessageId=0x0002 Facility=Serial Severity=Informational SymbolicName=SERIAL_FIFO_PRESENT
  54. Language=English
  55. While validating that %2 was really a serial port.
  56. .
  57. MessageId=0x0003 Facility=Serial Severity=Informational SymbolicName=SERIAL_USER_OVERRIDE
  58. Language=English
  59. User configuration data for parameter %2 overriding firmware configuration data.
  60. .
  61. MessageId=0x0004 Facility=Serial Severity=Warning SymbolicName=SERIAL_NO_SYMLINK_CREATED
  62. Language=English
  63. Unable to create the symbolic link for %2.
  64. .
  65. MessageId=0x0005 Facility=Serial Severity=Warning SymbolicName=SERIAL_NO_DEVICE_MAP_CREATED
  66. Language=English
  67. Unable to create the device map entry for %2.
  68. .
  69. MessageId=0x0006 Facility=Serial Severity=Warning SymbolicName=SERIAL_NO_DEVICE_MAP_DELETED
  70. Language=English
  71. Unable to delete the device map entry for %2.
  72. .
  73. MessageId=0x0007 Facility=Serial Severity=Error SymbolicName=SERIAL_UNREPORTED_IRQL_CONFLICT
  74. Language=English
  75. Another driver on the system, which did not report its resources, has already claimed the interrupt used by %2.
  76. .
  77. MessageId=0x0008 Facility=Serial Severity=Error SymbolicName=SERIAL_INSUFFICIENT_RESOURCES
  78. Language=English
  79. Not enough resources were available for the driver.
  80. .
  81. MessageId=0x0009 Facility=Serial Severity=Error SymbolicName=SERIAL_UNSUPPORTED_CLOCK_RATE
  82. Language=English
  83. The baud clock rate configuration is not supported on device %2.
  84. .
  85. MessageId=0x000A Facility=Serial Severity=Error SymbolicName=SERIAL_REGISTERS_NOT_MAPPED
  86. Language=English
  87. The hardware locations for %2 could not be translated to something the memory management system could understand.
  88. .
  89. MessageId=0x000B Facility=Serial Severity=Error SymbolicName=SERIAL_RESOURCE_CONFLICT
  90. Language=English
  91. The hardware resources for %2 are already in use by another device.
  92. .
  93. MessageId=0x000C Facility=Serial Severity=Error SymbolicName=SERIAL_NO_BUFFER_ALLOCATED
  94. Language=English
  95. No memory could be allocated in which to place new data for %2.
  96. .
  97. MessageId=0x000D Facility=Serial Severity=Error SymbolicName=SERIAL_IER_INVALID
  98. Language=English
  99. While validating that %2 was really a serial port, the interrupt enable register contained enabled bits in a must be zero bitfield.
  100. The device is assumed not to be a serial port and will be deleted.
  101. .
  102. MessageId=0x000E Facility=Serial Severity=Error SymbolicName=SERIAL_MCR_INVALID
  103. Language=English
  104. While validating that %2 was really a serial port, the modem control register contained enabled bits in a must be zero bitfield.
  105. The device is assumed not to be a serial port and will be deleted.
  106. .
  107. MessageId=0x000F Facility=Serial Severity=Error SymbolicName=SERIAL_IIR_INVALID
  108. Language=English
  109. While validating that %2 was really a serial port, the interrupt id register contained enabled bits in a must be zero bitfield.
  110. The device is assumed not to be a serial port and will be deleted.
  111. .
  112. MessageId=0x0010 Facility=Serial Severity=Error SymbolicName=SERIAL_DL_INVALID
  113. Language=English
  114. While validating that %2 was really a serial port, the baud rate register could not be set consistantly.
  115. The device is assumed not to be a serial port and will be deleted.
  116. .
  117. MessageId=0x0011 Facility=Serial Severity=Error SymbolicName=SERIAL_NOT_ENOUGH_CONFIG_INFO
  118. Language=English
  119. Some firmware configuration information was incomplete.
  120. .
  121. MessageId=0x0012 Facility=Serial Severity=Error SymbolicName=SERIAL_NO_PARAMETERS_INFO
  122. Language=English
  123. No Parameters subkey was found for user defined data. This is odd, and it also means no user configuration can be found.
  124. .
  125. MessageId=0x0013 Facility=Serial Severity=Error SymbolicName=SERIAL_UNABLE_TO_ACCESS_CONFIG
  126. Language=English
  127. Specific user configuration data is unretrievable.
  128. .
  129. MessageId=0x0014 Facility=Serial Severity=Error SymbolicName=SERIAL_INVALID_PORT_INDEX
  130. Language=English
  131. On parameter %2 which indicates a multiport card, must have a port index specified greater than 0.
  132. .
  133. MessageId=0x0015 Facility=Serial Severity=Error SymbolicName=SERIAL_PORT_INDEX_TOO_HIGH
  134. Language=English
  135. On parameter %2 which indicates a multiport card, the port index for the multiport card is too large.
  136. .
  137. MessageId=0x0016 Facility=Serial Severity=Error SymbolicName=SERIAL_UNKNOWN_BUS
  138. Language=English
  139. The bus type for %2 is not recognizable.
  140. .
  141. MessageId=0x0017 Facility=Serial Severity=Error SymbolicName=SERIAL_BUS_NOT_PRESENT
  142. Language=English
  143. The bus type for %2 is not available on this computer.
  144. .
  145. MessageId=0x0018 Facility=Serial Severity=Error SymbolicName=SERIAL_BUS_INTERRUPT_CONFLICT
  146. Language=English
  147. The bus specified for %2 does not support the specified method of interrupt.
  148. .
  149. MessageId=0x0019 Facility=Serial Severity=Error SymbolicName=SERIAL_INVALID_USER_CONFIG
  150. Language=English
  151. Can not find any configured MOXA Smartio/Industio series board.
  152. .
  153. MessageId=0x001A Facility=Serial Severity=Error SymbolicName=SERIAL_DEVICE_TOO_HIGH
  154. Language=English
  155. The user specified port for %2 is way too high in physical memory.
  156. .
  157. MessageId=0x001B Facility=Serial Severity=Error SymbolicName=SERIAL_STATUS_TOO_HIGH
  158. Language=English
  159. The status port for %2 is way too high in physical memory.
  160. .
  161. MessageId=0x001C Facility=Serial Severity=Error SymbolicName=SERIAL_STATUS_CONTROL_CONFLICT
  162. Language=English
  163. The status port for %2 overlaps the control registers for the device.
  164. .
  165. MessageId=0x001D Facility=Serial Severity=Error SymbolicName=SERIAL_CONTROL_OVERLAP
  166. Language=English
  167. The control registers for %2 overlaps with the %3 control registers.
  168. .
  169. MessageId=0x001E Facility=Serial Severity=Error SymbolicName=SERIAL_STATUS_OVERLAP
  170. Language=English
  171. The status register for %2 overlaps the %3 control registers.
  172. .
  173. MessageId=0x001F Facility=Serial Severity=Error SymbolicName=SERIAL_STATUS_STATUS_OVERLAP
  174. Language=English
  175. The status register for %2 overlaps with the %3 status register.
  176. .
  177. MessageId=0x0020 Facility=Serial Severity=Error SymbolicName=SERIAL_CONTROL_STATUS_OVERLAP
  178. Language=English
  179. The control registers for %2 overlaps the %3 status register.
  180. .
  181. MessageId=0x0021 Facility=Serial Severity=Error SymbolicName=SERIAL_MULTI_INTERRUPT_CONFLICT
  182. Language=English
  183. Two ports, %2 and %3, on a single multiport card can't have two different interrupts.
  184. .
  185. MessageId=0x0022 Facility=Serial Severity=Informational SymbolicName=SERIAL_DISABLED_PORT
  186. Language=English
  187. Disabling %2 as requested by the configuration data.
  188. .
  189. MessageId=0x0023 Facility=Serial Severity=Error SymbolicName=SERIAL_GARBLED_PARAMETER
  190. Language=English
  191. Parameter %2 data is unretrievable from the registry.
  192. .
  193. MessageId=0x0024 Facility=Serial Severity=Error SymbolicName=SERIAL_DLAB_INVALID
  194. Language=English
  195. While validating that %2 was really a serial port, the contents of the divisor latch register was identical to the interrupt enable and the recieve registers.
  196. The device is assumed not to be a serial port and will be deleted.
  197. .
  198. MessageId=0x0025 Facility=Serial Severity=Error SymbolicName=SERIAL_INVALID_MOXA_BOARDS
  199. Language=English
  200. Can not find any MOXA Smartio/Industio series board.
  201. .
  202. MessageId=0x0026 Facility=Serial Severity=Error SymbolicName=SERIAL_INVALID_COM_NUMBER
  203. Language=English
  204. The COM number(COM %2) of the %3 board conflicts with others.
  205. .
  206. MessageId=0x0027 Facility=Serial Severity=Informational SymbolicName=SERIAL_PORT_FOUND
  207. Language=English
  208. Serial port %2, has been enabled.
  209. .
  210. MessageId=0x0028 Facility=Serial Severity=Error SymbolicName=SERIAL_INVALID_IRQ_NUMBER
  211. Language=English
  212. %2, with first serial port %3, IRQ number is invalid.
  213. .
  214. MessageId=0x0029 Facility=Serial Severity=Error SymbolicName=SERIAL_INVALID_ASIC_BOARD
  215. Language=English
  216. Can not find the configured %2 board (CAP=%3)!
  217. .
  218. ;#endif /* _MXLOG_ */
  219.