sorry for the break fixed the build

svn path=/trunk/; revision=32575
This commit is contained in:
Magnus Olsen
2008-03-05 23:06:12 +00:00
parent 6802a70b13
commit 4355174230
+7 -4
View File
@@ -962,11 +962,14 @@ MmSecureVirtualMemory(PVOID Address,
SIZE_T Length,
ULONG Mode)
{
if ( ( Address + Length) > MmHighestUserAddress) ||
(Address + Length <= Address ) )
{
if ( ( (PBYTE)Address + Length > (PBYTE)MmHighestUserAddress) ||
( (PBYTE)Address + Length <= (PBYTE)Address ) )
/* Only works for user space */
if (MmHighestUserAddress < Address)
{
return NULL;
}
}
UNIMPLEMENTED;