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.

295 lines
10 KiB

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