I wanted to prefetch file data using MmPreftech pages on certain conditions? But A Call to MmPrefetchPages always results into exception at minifilter “miniSpy - The sample code” driver.
Is there something I need to take care before calling this function.
xxxxx@miniSpy:
- I get read file for first block.
- I prepare readlist for next five blocks and pass it on MmPrefetchPages.
Exception at MmPrefetchPages:
SYSTEM_SERVICE_EXCEPTION (3b)
An exception happened while executing a system service routine.
Arguments:
Arg1: 00000000c0000005, Exception code that caused the bugcheck
Arg2: fffff800036e893f, Address of the instruction which caused the bugcheck
Arg3: fffff88005f9b950, Address of the context record for the exception that caused the bugcheck
Arg4: 0000000000000000, zero.
Thanks in advance,
Suresh