mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
Implement MmIsNonPagedSystemAddressValid as a call to MmIsAddressValid
svn path=/trunk/; revision=9040
This commit is contained in:
@@ -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: mm.c,v 1.70 2004/04/08 20:05:08 jfilby Exp $
|
||||
/* $Id: mm.c,v 1.71 2004/04/08 20:27:10 jfilby Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -118,12 +118,11 @@ NTSTATUS MmReleaseMmInfo(PEPROCESS Process)
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN STDCALL MmIsNonPagedSystemAddressValid(PVOID VirtualAddress)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
return MmIsAddressValid(VirtualAddress);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -156,6 +155,7 @@ BOOLEAN STDCALL MmIsAddressValid(PVOID VirtualAddress)
|
||||
MmLockAddressSpace(AddressSpace);
|
||||
MemoryArea = MmOpenMemoryAreaByAddress(AddressSpace,
|
||||
VirtualAddress);
|
||||
DbgPrint("validating: MemoryArea: %08x\n", MemoryArea);
|
||||
|
||||
if (MemoryArea == NULL || MemoryArea->DeleteInProgress)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user