mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
Implement MmIsNonPagedSystemAddressValid as a call to MmIsAddressValid
svn path=/trunk/; revision=9040
This commit is contained in:
parent
9108d0353a
commit
7b4c7821ec
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue