Implement MmIsNonPagedSystemAddressValid as a call to MmIsAddressValid

svn path=/trunk/; revision=9040
This commit is contained in:
Jason Filby 2004-04-08 20:27:10 +00:00
parent 9108d0353a
commit 7b4c7821ec

View file

@ -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)
{