mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
call KiDeliverAPc at correct irql
svn path=/trunk/; revision=11756
This commit is contained in:
parent
24dc4f3595
commit
4635919140
1 changed files with 4 additions and 0 deletions
|
@ -68,7 +68,11 @@ NTSTATUS MmPageFault(ULONG Cs,
|
|||
KeGetCurrentThread()->Alerted[UserMode] != 0 &&
|
||||
Cs != KERNEL_CS)
|
||||
{
|
||||
KIRQL oldIrql;
|
||||
|
||||
KeRaiseIrql(APC_LEVEL, &oldIrql);
|
||||
KiDeliverApc(KernelMode, NULL, NULL);
|
||||
KeLowerIrql(oldIrql);
|
||||
}
|
||||
if (!NT_SUCCESS(Status) && (Mode == KernelMode) &&
|
||||
((*Eip) >= (ULONG)MmSafeCopyFromUserUnsafeStart) &&
|
||||
|
|
Loading…
Reference in a new issue