[pso] [tema2]win - deinregistrare intrerupere -
IoDisconnectInterrupt
omar Chouydary
chouydary at yahoo.com
Fri Apr 20 10:00:02 EEST 2007
Hello,
pai contrazicerea era ca ei ziceau sa apelez IoDisconnectInterrupt in SynchronizeRutine, ceea ce era invalid.
Sa inteleg ca in Synchronize Routine ar trebui sa opresc intreruperile device-ului (adica la noi IER-ul setat corespunzator).
Mihai Florian <my_mihai_florian at yahoo.com> wrote:
Buna,
Ce vrei tu se poate face asa:
BOOLEAN SynchronizeRoutine(PVOID SynchronizeContext)
{
// aici IRQL-ul este DIRQL
// opresti device-ul
}
...
// aici IRQL-ul este PASSIVE_LEVEL
KeSynchronizeExecution(Interrupt, SynchronizeRoutine,
SynchronizeContext);
// aici IRQL-ul a revenit la PASSIVE_LEVEL
IoDisconnectInterrupt(Interrupt);
...
Dupa cum observi se respecta pasii si nu apare nici o contrazicere.
Mihai
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
pso mailing list
pso at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070420/b2088686/attachment.htm
More information about the pso
mailing list