[pso] [tema2][windows] KeSetEvent IRQL_NOT_LESS_OR_EQUAL

Sinziana M sinziana.mazilu at gmail.com
Sun Apr 26 15:14:18 EEST 2009


Hristos a Inviat!

Am avut si eu problema asta.
Cauza la mine a fost header-ul functiei (nu aveam toti parametrii de
intrare).
Functia la mine arata cam asa:

VOID So2UartDpcRoutine(IN PKDPC  Dpc, IN DEVICE_OBJECT  *DeviceObject, IN
IRP  *Irp, IN PVOID  Context)
{
   struct so2_device_data *data = (struct so2_device_data*) Context;

   switch (data->flag){
        case READ:
            KeSetEvent(&(data->ev_read), IO_NO_INCREMENT, FALSE);
            break;
        case WRITE:
            KeSetEvent(&(data->ev_write), IO_NO_INCREMENT, FALSE);
            break;
    }
}

In plus, eu am considerat flag-ul un camp din interiorul structurii(ca sa-mi
usurez munca).

Numai bine,
Sinziana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/pso/attachments/20090426/03e9cb15/attachment.htm>


More information about the pso mailing list