mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
- Canceled my last changes.
svn path=/trunk/; revision=8197
This commit is contained in:
parent
353cf5eb06
commit
d3e729a8c7
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: mdl.c,v 1.57 2004/02/14 19:48:07 hbirr Exp $
|
/* $Id: mdl.c,v 1.58 2004/02/15 17:04:52 hbirr Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -383,7 +383,10 @@ VOID STDCALL MmProbeAndLockPages (PMDL Mdl,
|
||||||
ExRaiseStatus(Status);
|
ExRaiseStatus(Status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
MmLockPage(MmGetPhysicalAddressForProcess(NULL, Address));
|
MmLockPage(MmGetPhysicalAddressForProcess(NULL, Address));
|
||||||
|
}
|
||||||
if ((Operation == IoWriteAccess || Operation == IoModifyAccess) &&
|
if ((Operation == IoWriteAccess || Operation == IoModifyAccess) &&
|
||||||
(!(MmGetPageProtect(NULL, (PVOID)Address) & PAGE_READWRITE)))
|
(!(MmGetPageProtect(NULL, (PVOID)Address) & PAGE_READWRITE)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue