Re: accesing drivers on different IRQ levels




"Don Burn" <burn@xxxxxxxxxxxxxxxx> wrote in message news:Of4MbUPJGHA.1424@xxxxxxxxxxxxxxxxxxxxxxx
> You are confused here, first I would recomend Walter Oney's book.
>
> Do you really have two drivers? If so why. You discussion seems to be
> about IRQL not drivers.
>
> What do you mean by "only access a function that doesn't give me IRP"?
> Properly done the buffer for the IRP should be available at any IRQL.
>
> KeWaitXXX can only wait at less than DISPATCH_LEVEL.
>
>
The function is some kind of callback from the driver. That callback and irp is created
from other driver I guess by IoBuildDeviceControlRequest. I am setting my function
through a dll. Maybe there's some good way to get an irp.
My other drivers' work strictly depends on that function data.
I don't know - I've never written so complex drivers so far.
thanks anyway

E

.



Relevant Pages

  • Re: IRP_MN_QUERY_DEVICE_RELATIONS concurrency
    ... irps that could lead to a query remove failure (like create, ... interface) are not syncronized with pnp state changing irps either. ... synchronized with any pnp state changing irp. ... That's a very narrow class of drivers. ...
    (microsoft.public.development.device.drivers)
  • Re: KMDF: how can I get usb continuous reader callbacks always in order?
    ... you cannot rely on _completion order_ in Windows. ... Nevertheless, with most drivers you can rely on _IRP submit order_, that the ... and this serialization keeps up to the client callbacks at DISPATCH. ...
    (microsoft.public.development.device.drivers)
  • Re: KMDF: how can I get usb continuous reader callbacks always in order?
    ... Nevertheless, with most drivers you can rely on _IRP submit order_, that the ... just keep a serial number in your IRP context - completion context for ... Maxim Shatskih, Windows DDK MVP ...
    (microsoft.public.development.device.drivers)
  • Re: IRP reuse contradiction
    ... If you have an IRP that completed back to your driver you can send it down again. ... If, however, it's an IRP from the I/O manager you shouldn't reuse it to handle some unrelated operation since that unnecessarily delays the progress of the request you do have. ... writing drivers. ...
    (microsoft.public.development.device.drivers)
  • Re: IRP reuse contradiction
    ... At the bottom of each WDK documentation page is a "Send feedback on this ... writing drivers. ... the DDK documentation that seem to contradict each other about IRP ... One says that an IoCompletion routine can be used "To reuse an ...
    (microsoft.public.development.device.drivers)