Annotation of ntddk/inc/ntiologc.h, revision 1.1

1.1     ! root        1: /*++ BUILD Version: 0001    // Increment this if a change has global effects
        !             2: 
        !             3: Copyright (c) 1991  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:     Jeff Havens (jhavens) 21-Aug-1991
        !            16: 
        !            17: Revision History:
        !            18: 
        !            19: --*/
        !            20: 
        !            21: #ifndef _NTIOLOGC_
        !            22: #define _NTIOLOGC_
        !            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: //
        !            50: //  Values are 32 bit values layed out as follows:
        !            51: //
        !            52: //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
        !            53: //   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
        !            54: //  +---+-+-+-----------------------+-------------------------------+
        !            55: //  |Sev|C|R|     Facility          |               Code            |
        !            56: //  +---+-+-+-----------------------+-------------------------------+
        !            57: //
        !            58: //  where
        !            59: //
        !            60: //      Sev - is the severity code
        !            61: //
        !            62: //          00 - Success
        !            63: //          01 - Informational
        !            64: //          10 - Warning
        !            65: //          11 - Error
        !            66: //
        !            67: //      C - is the Customer code flag
        !            68: //
        !            69: //      R - is a reserved bit
        !            70: //
        !            71: //      Facility - is the facility code
        !            72: //
        !            73: //      Code - is the facility's status code
        !            74: //
        !            75: //
        !            76: // Define the facility codes
        !            77: //
        !            78: #define FACILITY_RPC_STUBS               0x3
        !            79: #define FACILITY_RPC_RUNTIME             0x2
        !            80: #define FACILITY_IO_ERROR_CODE           0x4
        !            81: 
        !            82: 
        !            83: //
        !            84: // Define the severity codes
        !            85: //
        !            86: #define STATUS_SEVERITY_WARNING          0x2
        !            87: #define STATUS_SEVERITY_SUCCESS          0x0
        !            88: #define STATUS_SEVERITY_INFORMATIONAL    0x1
        !            89: #define STATUS_SEVERITY_ERROR            0x3
        !            90: 
        !            91: 
        !            92: //
        !            93: // MessageId: IO_ERR_RETRY_SUCCEEDED
        !            94: //
        !            95: // MessageText:
        !            96: //
        !            97: //  A retry was successful on %1.
        !            98: //
        !            99: #define IO_ERR_RETRY_SUCCEEDED           ((NTSTATUS)0x00040001L)
        !           100: 
        !           101: //
        !           102: // MessageId: IO_ERR_INSUFFICIENT_RESOURCES
        !           103: //
        !           104: // MessageText:
        !           105: //
        !           106: //  The driver could not allocate something necessary for the request for %1.
        !           107: //
        !           108: #define IO_ERR_INSUFFICIENT_RESOURCES    ((NTSTATUS)0xC0040002L)
        !           109: 
        !           110: //
        !           111: // MessageId: IO_ERR_CONFIGURATION_ERROR
        !           112: //
        !           113: // MessageText:
        !           114: //
        !           115: //  Driver or device is incorrectly configured for %1.
        !           116: //
        !           117: #define IO_ERR_CONFIGURATION_ERROR       ((NTSTATUS)0xC0040003L)
        !           118: 
        !           119: //
        !           120: // MessageId: IO_ERR_DRIVER_ERROR
        !           121: //
        !           122: // MessageText:
        !           123: //
        !           124: //  Driver detect an internal error in its data structures for %1.
        !           125: //
        !           126: #define IO_ERR_DRIVER_ERROR              ((NTSTATUS)0xC0040004L)
        !           127: 
        !           128: //
        !           129: // MessageId: IO_ERR_PARITY
        !           130: //
        !           131: // MessageText:
        !           132: //
        !           133: //  A parity error was detected on %1.
        !           134: //
        !           135: #define IO_ERR_PARITY                    ((NTSTATUS)0xC0040005L)
        !           136: 
        !           137: //
        !           138: // MessageId: IO_ERR_SEEK_ERROR
        !           139: //
        !           140: // MessageText:
        !           141: //
        !           142: //  The device, %1, had a seek error.
        !           143: //
        !           144: #define IO_ERR_SEEK_ERROR                ((NTSTATUS)0xC0040006L)
        !           145: 
        !           146: //
        !           147: // MessageId: IO_ERR_BAD_BLOCK
        !           148: //
        !           149: // MessageText:
        !           150: //
        !           151: //  The device, %1, has a bad block.
        !           152: //
        !           153: #define IO_ERR_BAD_BLOCK                 ((NTSTATUS)0xC0040007L)
        !           154: 
        !           155: //
        !           156: // MessageId: IO_ERR_OVERRUN_ERROR
        !           157: //
        !           158: // MessageText:
        !           159: //
        !           160: //  An overrun occurred on %1.
        !           161: //
        !           162: #define IO_ERR_OVERRUN_ERROR             ((NTSTATUS)0xC0040008L)
        !           163: 
        !           164: //
        !           165: // MessageId: IO_ERR_TIMEOUT
        !           166: //
        !           167: // MessageText:
        !           168: //
        !           169: //  The device, %1, did not respond within the timeout period.
        !           170: //
        !           171: #define IO_ERR_TIMEOUT                   ((NTSTATUS)0xC0040009L)
        !           172: 
        !           173: //
        !           174: // MessageId: IO_ERR_SEQUENCE
        !           175: //
        !           176: // MessageText:
        !           177: //
        !           178: //  The driver detected an unexpected sequence by the device, %1.
        !           179: //
        !           180: #define IO_ERR_SEQUENCE                  ((NTSTATUS)0xC004000AL)
        !           181: 
        !           182: //
        !           183: // MessageId: IO_ERR_CONTROLLER_ERROR
        !           184: //
        !           185: // MessageText:
        !           186: //
        !           187: //  The driver detected a controller error on %1.
        !           188: //
        !           189: #define IO_ERR_CONTROLLER_ERROR          ((NTSTATUS)0xC004000BL)
        !           190: 
        !           191: //
        !           192: // MessageId: IO_ERR_INTERNAL_ERROR
        !           193: //
        !           194: // MessageText:
        !           195: //
        !           196: //  The driver detected an internal driver error on %1.
        !           197: //
        !           198: #define IO_ERR_INTERNAL_ERROR            ((NTSTATUS)0xC004000CL)
        !           199: 
        !           200: //
        !           201: // MessageId: IO_ERR_INCORRECT_IRQL
        !           202: //
        !           203: // MessageText:
        !           204: //
        !           205: //  The driver was configured with an incorrect interrupt for %1.
        !           206: //
        !           207: #define IO_ERR_INCORRECT_IRQL            ((NTSTATUS)0xC004000DL)
        !           208: 
        !           209: //
        !           210: // MessageId: IO_ERR_INVALID_IOBASE
        !           211: //
        !           212: // MessageText:
        !           213: //
        !           214: //  The driver was configured with an invalid I/O base address for %1.
        !           215: //
        !           216: #define IO_ERR_INVALID_IOBASE            ((NTSTATUS)0xC004000EL)
        !           217: 
        !           218: //
        !           219: // MessageId: IO_ERR_NOT_READY
        !           220: //
        !           221: // MessageText:
        !           222: //
        !           223: //  The device, %1, is not ready for access yet.
        !           224: //
        !           225: #define IO_ERR_NOT_READY                 ((NTSTATUS)0xC004000FL)
        !           226: 
        !           227: //
        !           228: // MessageId: IO_ERR_INVALID_REQUEST
        !           229: //
        !           230: // MessageText:
        !           231: //
        !           232: //  The request is incorrectly formatted for %1.
        !           233: //
        !           234: #define IO_ERR_INVALID_REQUEST           ((NTSTATUS)0xC0040010L)
        !           235: 
        !           236: //
        !           237: // MessageId: IO_ERR_VERSION
        !           238: //
        !           239: // MessageText:
        !           240: //
        !           241: //  The wrong version of the driver has been loaded.
        !           242: //
        !           243: #define IO_ERR_VERSION                   ((NTSTATUS)0xC0040011L)
        !           244: 
        !           245: //
        !           246: // MessageId: IO_ERR_LAYERED_FAILURE
        !           247: //
        !           248: // MessageText:
        !           249: //
        !           250: //  The driver beneath this one has failed in some way for %1.
        !           251: //
        !           252: #define IO_ERR_LAYERED_FAILURE           ((NTSTATUS)0xC0040012L)
        !           253: 
        !           254: //
        !           255: // MessageId: IO_ERR_RESET
        !           256: //
        !           257: // MessageText:
        !           258: //
        !           259: //  The device, %1, has been reset.
        !           260: //
        !           261: #define IO_ERR_RESET                     ((NTSTATUS)0xC0040013L)
        !           262: 
        !           263: //
        !           264: // MessageId: IO_ERR_PROTOCOL
        !           265: //
        !           266: // MessageText:
        !           267: //
        !           268: //  A transport driver received a frame which violated the protocol.
        !           269: //
        !           270: #define IO_ERR_PROTOCOL                  ((NTSTATUS)0xC0040014L)
        !           271: 
        !           272: //
        !           273: // MessageId: IO_ERR_MEMORY_CONFLICT_DETECTED
        !           274: //
        !           275: // MessageText:
        !           276: //
        !           277: //  A conflict has been detected between two drivers which claimed two overlapping
        !           278: //  memory regions.
        !           279: //  Driver %2, with device <%3>, claimed a memory range with starting address
        !           280: //  in data address 0x28 and 0x2c, and length in data address 0x30.
        !           281: //
        !           282: #define IO_ERR_MEMORY_CONFLICT_DETECTED  ((NTSTATUS)0xC0040015L)
        !           283: 
        !           284: //
        !           285: // MessageId: IO_ERR_PORT_CONFLICT_DETECTED
        !           286: //
        !           287: // MessageText:
        !           288: //
        !           289: //  A conflict has been detected between two drivers which claimed two overlapping
        !           290: //  Io port regions.
        !           291: //  Driver %2, with device <%3>, claimed an IO port range with starting address
        !           292: //  in data address 0x28 and 0x2c, and length in data address 0x30.
        !           293: //
        !           294: #define IO_ERR_PORT_CONFLICT_DETECTED    ((NTSTATUS)0xC0040016L)
        !           295: 
        !           296: //
        !           297: // MessageId: IO_ERR_DMA_CONFLICT_DETECTED
        !           298: //
        !           299: // MessageText:
        !           300: //
        !           301: //  A conflict has been detected between two drivers which claimed equivalent DMA
        !           302: //  channels.
        !           303: //  Driver %2, with device <%3>, claimed the DMA Channel in data address 0x28, with
        !           304: //  optinal port in data address 0x2c.
        !           305: //
        !           306: #define IO_ERR_DMA_CONFLICT_DETECTED     ((NTSTATUS)0xC0040017L)
        !           307: 
        !           308: //
        !           309: // MessageId: IO_ERR_IRQ_CONFLICT_DETECTED
        !           310: //
        !           311: // MessageText:
        !           312: //
        !           313: //  A conflict has been detected between two drivers which claimed equivalent IRQs.
        !           314: //  Driver %2, with device <%3>, claimed an interrupt with Level in data address
        !           315: //  0x28, vector in data address 0x2c and Affinity in data address 0x30.
        !           316: //
        !           317: #define IO_ERR_IRQ_CONFLICT_DETECTED     ((NTSTATUS)0xC0040018L)
        !           318: 
        !           319: //
        !           320: // MessageId: IO_ERR_BAD_FIRMWARE
        !           321: //
        !           322: // MessageText:
        !           323: //
        !           324: //  The driver has detected a device with old or out-of-data firmware.  The
        !           325: //  device will not be used.
        !           326: //
        !           327: #define IO_ERR_BAD_FIRMWARE              ((NTSTATUS)0xC0040019L)
        !           328: 
        !           329: //
        !           330: // MessageId: IO_WRN_BAD_FIRMWARE
        !           331: //
        !           332: // MessageText:
        !           333: //
        !           334: //  The driver has detected that device %1 has old or out-of-data firmware.
        !           335: //  Reduced performance may result.
        !           336: //
        !           337: #define IO_WRN_BAD_FIRMWARE              ((NTSTATUS)0x8004001AL)
        !           338: 
        !           339: #endif /* _NTIOLOGC_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.