mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
Fixed a bug in MmUnmapLockedPages.
svn path=/trunk/; revision=2888
This commit is contained in:
parent
83bcc22c5e
commit
4aead93e6e
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: mdl.c,v 1.35 2002/01/01 00:21:56 dwelch Exp $
|
/* $Id: mdl.c,v 1.36 2002/04/27 19:24:45 hbirr Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -161,7 +161,7 @@ MmUnmapLockedPages(PVOID BaseAddress, PMDL Mdl)
|
||||||
MmLockAddressSpace(MmGetKernelAddressSpace());
|
MmLockAddressSpace(MmGetKernelAddressSpace());
|
||||||
(VOID)MmFreeMemoryArea(MmGetKernelAddressSpace(),
|
(VOID)MmFreeMemoryArea(MmGetKernelAddressSpace(),
|
||||||
BaseAddress - Mdl->ByteOffset,
|
BaseAddress - Mdl->ByteOffset,
|
||||||
Mdl->ByteCount,
|
Mdl->ByteOffset + Mdl->ByteCount,
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
Mdl->MdlFlags = Mdl->MdlFlags & ~MDL_MAPPED_TO_SYSTEM_VA;
|
Mdl->MdlFlags = Mdl->MdlFlags & ~MDL_MAPPED_TO_SYSTEM_VA;
|
||||||
|
|
Loading…
Reference in a new issue