Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 583 of file pic.c.
{ PKPCR Pcr = KeGetPcr(); KIRQL CurrentIrql; /* Save and update IRQL */ CurrentIrql = Pcr->Irql; Pcr->Irql = SYNCH_LEVEL; #if DBG /* Validate correct raise */ if (CurrentIrql > SYNCH_LEVEL) { /* Crash system */ KeBugCheckEx(IRQL_NOT_GREATER_OR_EQUAL, CurrentIrql, SYNCH_LEVEL, 0, 1); } #endif /* Return the previous value */ return CurrentIrql; }