mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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 &&
|
KeGetCurrentThread()->Alerted[UserMode] != 0 &&
|
||||||
Cs != KERNEL_CS)
|
Cs != KERNEL_CS)
|
||||||
{
|
{
|
||||||
|
KIRQL oldIrql;
|
||||||
|
|
||||||
|
KeRaiseIrql(APC_LEVEL, &oldIrql);
|
||||||
KiDeliverApc(KernelMode, NULL, NULL);
|
KiDeliverApc(KernelMode, NULL, NULL);
|
||||||
|
KeLowerIrql(oldIrql);
|
||||||
}
|
}
|
||||||
if (!NT_SUCCESS(Status) && (Mode == KernelMode) &&
|
if (!NT_SUCCESS(Status) && (Mode == KernelMode) &&
|
||||||
((*Eip) >= (ULONG)MmSafeCopyFromUserUnsafeStart) &&
|
((*Eip) >= (ULONG)MmSafeCopyFromUserUnsafeStart) &&
|
||||||
|
|
Loading…
Reference in a new issue