Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ktracep.h

Go to the documentation of this file.
00001 /*++ 00002 00003 Module Name: 00004 00005 ktracep.h 00006 00007 Abstract: 00008 00009 Private include for ktrace.c and ktrace.mac to use. 00010 00011 Author: 00012 00013 Roy D'Souza ([email protected]) 22-April-1996 00014 00015 Environment: 00016 00017 User or Kernel mode. 00018 00019 Revision History: 00020 00021 --*/ 00022 00023 /* The number of slots in the trace */ 00024 #define KTRACE_LOG_SIZE 0x400 00025 00026 /* The record size in bytes 00027 IF YOU MAKE A CHANGE TO THE KTRACE TYPEDEF IN KTRACE.C 00028 YOU NEED TO RE-CALCULATE THE SIZE IN BYTES AND UPDATE THE 00029 FOLLOWING: */ 00030 #define RECORD_SIZE_IN_BYTES 0x70 00031 00032 /* The maximum value a module ID can take */ 00033 #define MAX_MODULE_ID 0x80000000 00034 00035 /* The maximum value a message type can take */ 00036 #define MAX_MESSAGE_TYPE 0x10000 00037 00038 /* The maximum value a message index can take */ 00039 #define MAX_MESSAGE_INDEX 0x10000 00040 00041 /*********************************************************************** 00042 Message Types: 00043 ***********************************************************************/ 00044 00045 #define MESSAGE_INFORMATION 0x1 00046 #define MESSAGE_WARNING 0x2 00047 #define MESSAGE_ERROR 0x4 00048 00049 /*********************************************************************** 00050 Module IDs: 00051 ***********************************************************************/ 00052 00053 #define MODULE_INIT 0x1 00054 #define MODULE_KE 0x2 00055 #define MODULE_EX 0x4 00056 #define MODULE_MM 0x8 00057 #define MODULE_LPC 0x10 00058 #define MODULE_SE 0x20 00059 #define MODULE_TDI 0x40 00060 #define MODULE_RTL 0x80 00061 #define MODULE_PO 0x100 00062 #define MODULE_PNP 0x200 00063 00064 #define DRIVER_1 0x10000000 00065 #define DRIVER_2 0x20000000 00066 #define DRIVER_3 0x40000000 00067 #define DRIVER_4 0x80000000 00068 00069

Generated on Sat May 15 19:40:35 2004 for test by doxygen 1.3.7