mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Change the type of the parameter PhysicalAddress in MmDisableVirtualMapping.
svn path=/trunk/; revision=3346
This commit is contained in:
@@ -507,7 +507,7 @@ NTSTATUS
|
||||
MmTrimUserMemory(ULONG Target, ULONG Priority, PULONG NrFreedPages);
|
||||
|
||||
VOID
|
||||
MmDisableVirtualMapping(PEPROCESS Process, PVOID Address, BOOL* WasDirty, ULONG* PhysicalAddr);
|
||||
MmDisableVirtualMapping(PEPROCESS Process, PVOID Address, BOOL* WasDirty, PHYSICAL_ADDRESS* PhysicalAddr);
|
||||
VOID MmEnableVirtualMapping(PEPROCESS Process, PVOID Address);
|
||||
VOID
|
||||
MmDeletePageFileMapping(PEPROCESS Process, PVOID Address,
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: anonmem.c,v 1.3 2002/08/17 01:42:02 dwelch Exp $
|
||||
/* $Id: anonmem.c,v 1.4 2002/08/17 15:27:54 hbirr Exp $
|
||||
*
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/mm/anonmem.c
|
||||
@@ -153,7 +153,7 @@ MmPageOutVirtualMemory(PMADDRESS_SPACE AddressSpace,
|
||||
* Disable the virtual mapping.
|
||||
*/
|
||||
MmDisableVirtualMapping(MemoryArea->Process, Address,
|
||||
&WasDirty, (PULONG)&PhysicalAddress);
|
||||
&WasDirty, &PhysicalAddress);
|
||||
if (PhysicalAddress.QuadPart == 0)
|
||||
{
|
||||
KeBugCheck(0);
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: page.c,v 1.40 2002/08/14 20:58:37 dwelch Exp $
|
||||
/* $Id: page.c,v 1.41 2002/08/17 15:27:54 hbirr Exp $
|
||||
*
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/mm/i386/page.c
|
||||
@@ -345,7 +345,7 @@ MmGetPhysicalAddressForProcess(PEPROCESS Process,
|
||||
}
|
||||
|
||||
VOID
|
||||
MmDisableVirtualMapping(PEPROCESS Process, PVOID Address, BOOL* WasDirty, ULONG* PhysicalAddr)
|
||||
MmDisableVirtualMapping(PEPROCESS Process, PVOID Address, BOOL* WasDirty, PHYSICAL_ADDRESS* PhysicalAddr)
|
||||
/*
|
||||
* FUNCTION: Delete a virtual mapping
|
||||
*/
|
||||
@@ -409,7 +409,8 @@ MmDisableVirtualMapping(PEPROCESS Process, PVOID Address, BOOL* WasDirty, ULONG*
|
||||
}
|
||||
if (PhysicalAddr != NULL)
|
||||
{
|
||||
*PhysicalAddr = PAGE_MASK(Pte);
|
||||
PhysicalAddr->u.HighPart = 0;
|
||||
PhysicalAddr->u.LowPart = PAGE_MASK(Pte);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user