Home › Forums › Discussions › General Discussion › I’m newbie in kernel programming, TDI program please help!:( › Reply To: I’m newbie in kernel programming, TDI program please help!:(
I am very busy these days. So can’t spend much time on the code.
But I’ll suggest you a solution for now.
First check it is not possible to call your routine at dispatch level. Check in DDK . Because if it can call your routine at DISPATCH_LEVEL there is problem.
Now when your function is called by I/O manager, enqueue a work item adn you wait here till your worker thread has read the data for you. For that you will have to create a work item and enqueue it in system queue. A system thread will than carry out all of your work at PASSIVE_LEVEL.