I am running verifier on my driver, and I get this error TIMER_OR_DPC_INVALID
My KTIMER is declared global , and on driver entry I call KeInitializeTimer(&Timer);
I call this function only once when
when the verifier reboot I get this error , how can I solve this issue?
TIMER_OR_DPC_INVALID (c7)
Kernel timer or DPC used incorrectly.
Arguments:
Arg1: 0000000000000000, Timer object found in memory which must not contain such items.
Arg2: fffff80002230f60, Address of the timer object.
Arg3: fffff80002230f60, Start of memory range being checked.
Arg4: fffff80002230fa0, End of memory range being checked.
Debugging Details:
DEFAULT_BUCKET_ID: WIN8_DRIVER_FAULT
BUGCHECK_STR: 0xC7
PROCESS_NAME: System
CURRENT_IRQL: 2
ANALYSIS_VERSION: 6.3.9600.17237 (debuggers(dbg).140716-0327) amd64fre
LAST_CONTROL_TRANSFER: from fffff80391260f37 to fffff803911da0a0
STACK_TEXT:
ffffd000217577d8 fffff803
91260f37 : 00000000000000c7 00000000
00000000 fffff80002230f60 fffff800
02230f60 : nt!KeBugCheckEx
ffffd000217577e0 fffff803
916ffd86 : 0000000000000000 00000018
00000030 0000000100000054 00000000
00000000 : nt!KeCheckForTimer+0x187
ffffd00021757850 fffff800
02202ba1 : 0000000000000000 ffff4fe6
00000001 00002ee006000000 ffffe000
00005dc0 : nt!VerifierKeInitializeTimerEx+0x26