How to make a driver tolerant for any IRQL levels

Hi all

I have a question regarding , making driver to work with any IRQL levels .
The driver what I am developing some times will have an upper filter driver
, which can call the driver at Dispatch level . What I should do to make the
driver to work at all IRQL levels ?

Thanks in advance
srinivasa

“Srinivasa Rao Deevi” wrote in message
news:xxxxx@ntdev…
>
> What I should do to make the
> driver to work at all IRQL levels ?
>

Ensure you never touch any pageable memory, call functions which touch
pageable memory, or call functions that can only be called at IRQL <
DISPATCH_LEVEL.

Peter
OSR

Hi Peter

Thank you so much for the reply. But I have some calls for which I need
Passive Level ( I need to use KeWaitForSingleObject, KeInitializeEvent ) and
wait till that particular operation is completed then do the rest of the
stuff .what is the best way to implement such situation ? I need cross
platform compatibility with Windows 98 , Me and 2000/XP .

Can you suggest me if there is any good way to implement this ?

Thanks in advance
srinivasa

-----Original Message-----
From: Peter Viscarola [mailto:xxxxx@osr.com]
Sent: Tuesday, April 16, 2002 2:54 PM
To: NT Developers Interest List
Subject: [ntdev] Re: How to make a driver tolerant for any IRQL levels

“Srinivasa Rao Deevi” wrote in message
news:xxxxx@ntdev…
>
> What I should do to make the
> driver to work at all IRQL levels ?
>

Ensure you never touch any pageable memory, call functions which touch
pageable memory, or call functions that can only be called at IRQL <
DISPATCH_LEVEL.

Peter
OSR


You are currently subscribed to ntdev as: xxxxx@microtune.com
To unsubscribe send a blank email to %%email.unsub%%