From 8979b357a743602cd9d5b243714f2b407dc978e4 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Wed, 19 Nov 2003 12:50:11 +0000 Subject: [PATCH] Add error log structs. svn path=/trunk/; revision=6708 --- reactos/include/ddk/iotypes.h | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/reactos/include/ddk/iotypes.h b/reactos/include/ddk/iotypes.h index 7973f9ead49..f9e3598cb8b 100644 --- a/reactos/include/ddk/iotypes.h +++ b/reactos/include/ddk/iotypes.h @@ -1,4 +1,4 @@ -/* $Id: iotypes.h,v 1.58 2003/11/14 15:19:35 ekohl Exp $ +/* $Id: iotypes.h,v 1.59 2003/11/19 12:50:11 ekohl Exp $ * */ @@ -1126,8 +1126,37 @@ typedef struct _IO_MAILSLOT_CREATE_BUFFER } IO_MAILSLOT_CREATE_BUFFER, *PIO_MAILSLOT_CREATE_BUFFER; -/* DMA types */ +/* error logging */ +typedef struct _IO_ERROR_LOG_PACKET +{ + UCHAR MajorFunctionCode; + UCHAR RetryCount; + USHORT DumpDataSize; + USHORT NumberOfStrings; + USHORT StringOffset; + USHORT EventCategory; + NTSTATUS ErrorCode; + ULONG UniqueErrorValue; + NTSTATUS FinalStatus; + ULONG SequenceNumber; + ULONG IoControlCode; + LARGE_INTEGER DeviceOffset; + ULONG DumpData[1]; +} IO_ERROR_LOG_PACKET, *PIO_ERROR_LOG_PACKET; + +typedef struct _IO_ERROR_LOG_MESSAGE +{ + USHORT Type; + USHORT Size; + USHORT DriverNameLength; + LARGE_INTEGER TimeStamp; + ULONG DriverNameOffset; + IO_ERROR_LOG_PACKET EntryData; +} IO_ERROR_LOG_MESSAGE, *PIO_ERROR_LOG_MESSAGE; + + +/* DMA types */ typedef struct _SCATTER_GATHER_ELEMENT { PHYSICAL_ADDRESS Address;